commit | 3aa09f5784bf06f2b23b0d0082cd244af53ca8a9 | [log] [tgz] |
---|---|---|
author | Damien George <damien.p.george@gmail.com> | Thu Oct 23 12:06:53 2014 +0100 |
committer | Damien George <damien.p.george@gmail.com> | Thu Oct 23 12:06:53 2014 +0100 |
tree | ce74cbf835dbc40e08c133089c6701fb9d5fc7f2 | |
parent | 37378f8a9d2b358fdde0f3451d816b7f506846cc [diff] [blame] |
py: Use MP_OBJ_NULL instead of NULL in a few places.
diff --git a/py/objstr.c b/py/objstr.c index 7e6fd10..b008dc6 100644 --- a/py/objstr.c +++ b/py/objstr.c
@@ -215,7 +215,7 @@ mp_int_t len; byte *data; vstr_t *vstr = NULL; - mp_obj_t o = NULL; + mp_obj_t o = MP_OBJ_NULL; // Try to create array of exact len if initializer len is known mp_obj_t len_in = mp_obj_len_maybe(args[0]); if (len_in == MP_OBJ_NULL) {