diff options
| author | Damien George | 2014-10-23 12:06:53 +0100 |
|---|---|---|
| committer | Damien George | 2014-10-23 12:06:53 +0100 |
| commit | 3aa09f5784bf06f2b23b0d0082cd244af53ca8a9 (patch) | |
| tree | ce74cbf835dbc40e08c133089c6701fb9d5fc7f2 /py/objtype.c | |
| parent | 37378f8a9d2b358fdde0f3451d816b7f506846cc (diff) | |
py: Use MP_OBJ_NULL instead of NULL in a few places.
Diffstat (limited to 'py/objtype.c')
| -rw-r--r-- | py/objtype.c | 2 |
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; |
