py/nativeglue: Use mp_const_X instead of &mp_const_X_obj.

This commit is contained in:
Damien George 2019-12-16 15:42:59 +11:00
parent 7ef2f65114
commit ecdb30ea64
1 changed files with 3 additions and 3 deletions

View File

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