aboutsummaryrefslogtreecommitdiff
path: root/py/objtype.c
diff options
context:
space:
mode:
authorDamien George2014-10-23 12:06:53 +0100
committerDamien George2014-10-23 12:06:53 +0100
commit3aa09f5784bf06f2b23b0d0082cd244af53ca8a9 (patch)
treece74cbf835dbc40e08c133089c6701fb9d5fc7f2 /py/objtype.c
parent37378f8a9d2b358fdde0f3451d816b7f506846cc (diff)
py: Use MP_OBJ_NULL instead of NULL in a few places.
Diffstat (limited to 'py/objtype.c')
-rw-r--r--py/objtype.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/objtype.c b/py/objtype.c
index 89ace5460..cb6b95733 100644
--- a/py/objtype.c
+++ b/py/objtype.c
@@ -292,7 +292,7 @@ mp_obj_t instance_make_new(mp_obj_t self_in, mp_uint_t n_args, mp_uint_t n_kw, c
o = new_ret;
// now call Python class __init__ function with all args
- init_fn[0] = init_fn[1] = NULL;
+ init_fn[0] = init_fn[1] = MP_OBJ_NULL;
lookup.obj = o;
lookup.attr = MP_QSTR___init__;
lookup.meth_offset = 0;