diff options
author | Damien George <damien.p.george@gmail.com> | 2014-01-11 09:37:41 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-01-11 09:37:41 +0000 |
commit | 8d4ccc49ed8bca34579982a5a96b2b50da86d985 (patch) | |
tree | c22ac1b289b0011578164e235e5ae4b152ae567c /py/obj.h | |
parent | 25042b19d2310260e22d54ba09a124d5aaf4f512 (diff) | |
parent | 683466e55f2221cbd6b05106732c885bd324bc21 (diff) |
Merge branch 'master' of github.com:dpgeorge/micropython
Diffstat (limited to 'py/obj.h')
-rw-r--r-- | py/obj.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -155,7 +155,6 @@ struct _mp_obj_type_t { /* What we might need to add here: - compare_op store_subscr list dict len str tuple list map @@ -241,6 +240,7 @@ extern const mp_obj_type_t none_type; // bool extern const mp_obj_type_t bool_type; +#define MP_BOOL(x) (x ? mp_const_true : mp_const_false) // cell mp_obj_t mp_obj_cell_get(mp_obj_t self_in); |