summaryrefslogtreecommitdiffstatshomepage
path: root/py/obj.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2015-02-08 13:42:00 +0000
committerDamien George <damien.p.george@gmail.com>2015-02-08 13:42:00 +0000
commit28631537bd14d0497c8d51d796cdda45b3719890 (patch)
tree36e7d73319ded08731ce67bb1d6884f5e408032e /py/obj.h
parent5351a48185bef5abd935eb8ab06c2e12e9114d2f (diff)
downloadmicropython-28631537bd14d0497c8d51d796cdda45b3719890.tar.gz
micropython-28631537bd14d0497c8d51d796cdda45b3719890.zip
py: Add MICROPY_OBJ_BASE_ALIGNMENT to help with 16-bit ports.
Diffstat (limited to 'py/obj.h')
-rw-r--r--py/obj.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/obj.h b/py/obj.h
index 1b1f824140..0f6179630c 100644
--- a/py/obj.h
+++ b/py/obj.h
@@ -46,7 +46,7 @@ typedef machine_const_ptr_t mp_const_obj_t;
struct _mp_obj_type_t;
struct _mp_obj_base_t {
- const struct _mp_obj_type_t *type;
+ const struct _mp_obj_type_t *type MICROPY_OBJ_BASE_ALIGNMENT;
};
typedef struct _mp_obj_base_t mp_obj_base_t;