examples/natmod/btree: Make btree.open use mp_arg_parse_all for kwargs.

Python code is no longer needed to implement keyword arguments in
`btree.open()`, it can now be done in C.

Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
Damien George
2024-05-24 13:19:47 +10:00
parent c624a5c0c4
commit df41913782
3 changed files with 27 additions and 18 deletions

View File

@@ -5,7 +5,7 @@ MPY_DIR = ../../..
MOD = btree_$(ARCH)
# Source files (.c or .py)
SRC = btree_c.c btree_py.py
SRC = btree_c.c
# Architecture to build for (x86, x64, armv7m, xtensa, xtensawin)
ARCH = x64