From 7a16fadbf843ca5d49fb20b5f5785ffccfd9019f Mon Sep 17 00:00:00 2001 From: ian-v Date: Mon, 6 Jan 2014 09:52:29 -0800 Subject: Co-exist with C++ (issue #85) --- py/objnone.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'py/objnone.c') diff --git a/py/objnone.c b/py/objnone.c index 877e61fe5..173817a4d 100644 --- a/py/objnone.c +++ b/py/objnone.c @@ -18,7 +18,7 @@ const mp_obj_type_t none_type = { { &mp_const_type }, "NoneType", .print = none_print, - .methods = {{NULL, NULL},}, + .methods = NULL, }; static const mp_obj_none_t none_obj = {{&none_type}}; -- cgit v1.2.3