diff options
author | Damien George <damien.p.george@gmail.com> | 2019-12-16 15:42:59 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2020-01-12 13:51:09 +1100 |
commit | ecdb30ea64af18bad44439b6718ddd5b26e7b3f9 (patch) | |
tree | 3f0622cc1bb14fbc2dc527a2f19cb6bfe6e53212 /py/nativeglue.c | |
parent | 7ef2f65114f092be6303c145a2560fdf522dcde0 (diff) |
py/nativeglue: Use mp_const_X instead of &mp_const_X_obj.
Diffstat (limited to 'py/nativeglue.c')
-rw-r--r-- | py/nativeglue.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/py/nativeglue.c b/py/nativeglue.c index 1a7f92f94..9be7449d2 100644 --- a/py/nativeglue.c +++ b/py/nativeglue.c @@ -255,9 +255,9 @@ STATIC double mp_obj_get_float_to_d(mp_obj_t o) { // these must correspond to the respective enum in runtime0.h const mp_fun_table_t mp_fun_table = { - &mp_const_none_obj, - &mp_const_false_obj, - &mp_const_true_obj, + mp_const_none, + mp_const_false, + mp_const_true, mp_native_from_obj, mp_native_to_obj, mp_native_swap_globals, |