summaryrefslogtreecommitdiff
path: root/examples/natmod/btree/btree_c.c
diff options
context:
space:
mode:
authorJim Mussared <jim.mussared@gmail.com>2022-04-22 13:05:56 +1000
committerDamien George <damien@micropython.org>2022-09-19 19:06:04 +1000
commite8355eb16357b0bd234a9bcab1c9e8b72fcdbabc (patch)
tree894b411f743d6d285f0ed34c6685e9a33818b1cf /examples/natmod/btree/btree_c.c
parent5ddf671944465411f90bd0968550b719d0dbdb80 (diff)
py/obj: Add "full" and "empty" non-variable-length mp_obj_type_t.
This will always have the maximum/minimum size of a mp_obj_type_t representation and can be used as a member in other structs. Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
Diffstat (limited to 'examples/natmod/btree/btree_c.c')
-rw-r--r--examples/natmod/btree/btree_c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/natmod/btree/btree_c.c b/examples/natmod/btree/btree_c.c
index 5e8a34ac4..e342b7d90 100644
--- a/examples/natmod/btree/btree_c.c
+++ b/examples/natmod/btree/btree_c.c
@@ -94,7 +94,7 @@ int mp_stream_posix_fsync(void *stream) {
return res;
}
-mp_obj_type_t btree_type;
+mp_obj_full_type_t btree_type;
#include "extmod/modbtree.c"