py: Add MICROPY_OBJ_BASE_ALIGNMENT to help with 16-bit ports.

This commit is contained in:
Damien George
2015-02-08 13:42:00 +00:00
parent 5351a48185
commit 28631537bd
2 changed files with 9 additions and 1 deletions

View File

@@ -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;