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/objtype.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'py/objtype.c') diff --git a/py/objtype.c b/py/objtype.c index 37d40b38f..993de040b 100644 --- a/py/objtype.c +++ b/py/objtype.c @@ -27,5 +27,5 @@ const mp_obj_type_t mp_const_type = { "type", .print = type_print, .call_n = type_call_n, - .methods = {{NULL, NULL},}, + .methods = NULL, }; -- cgit v1.2.3