mirror of
https://github.com/micropython/micropython.git
synced 2025-12-16 09:50:15 +01:00
Change object representation from 1 big union to individual structs.
A big change. Micro Python objects are allocated as individual structs with the first element being a pointer to the type information (which is itself an object). This scheme follows CPython. Much more flexible, not necessarily slower, uses same heap memory, and can allocate objects statically. Also change name prefix, from py_ to mp_ (mp for Micro Python).
This commit is contained in:
@@ -1 +1 @@
|
||||
bool py_compile(py_parse_node_t pn, bool is_repl);
|
||||
bool mp_compile(mp_parse_node_t pn, bool is_repl);
|
||||
|
||||
Reference in New Issue
Block a user