From d99b05282d14ceb0163cbcd059aa37bdb415af43 Mon Sep 17 00:00:00 2001 From: Damien Date: Sat, 21 Dec 2013 18:17:45 +0000 Subject: 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). --- py/asmthumb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'py/asmthumb.c') diff --git a/py/asmthumb.c b/py/asmthumb.c index 602caeb2d6..a6fe4be809 100644 --- a/py/asmthumb.c +++ b/py/asmthumb.c @@ -4,7 +4,7 @@ #include #include "misc.h" -#include "mpyconfig.h" +#include "mpconfig.h" #include "asmthumb.h" #define UNSIGNED_FIT8(x) (((x) & 0xffffff00) == 0) -- cgit v1.2.3