summaryrefslogtreecommitdiff
path: root/py/objint.c
diff options
context:
space:
mode:
authorian-v <ianv888@gmail.com>2014-01-06 09:52:29 -0800
committerian-v <ianv888@gmail.com>2014-01-06 09:52:29 -0800
commit7a16fadbf843ca5d49fb20b5f5785ffccfd9019f (patch)
tree167d326efc1a1a75d3a371bbeab1a0bc4164fd9e /py/objint.c
parente03c0533fe467439bae1addd6d2a2ee57a9370e4 (diff)
Co-exist with C++ (issue #85)
Diffstat (limited to 'py/objint.c')
-rw-r--r--py/objint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/objint.c b/py/objint.c
index 8d69c4e7a..0ba42d10c 100644
--- a/py/objint.c
+++ b/py/objint.c
@@ -34,7 +34,7 @@ const mp_obj_type_t int_type = {
{ &mp_const_type },
"int",
.make_new = int_make_new,
- .methods = { { NULL, NULL }, },
+ .methods = NULL,
};
mp_obj_t mp_obj_new_int(machine_int_t value) {