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/objboundmeth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'py/objboundmeth.c') diff --git a/py/objboundmeth.c b/py/objboundmeth.c index 4e6d2e010..f4f306ae0 100644 --- a/py/objboundmeth.c +++ b/py/objboundmeth.c @@ -43,7 +43,7 @@ const mp_obj_type_t bound_meth_type = { NULL, // binary_op NULL, // getiter NULL, // iternext - .methods = {{NULL, NULL},}, + .methods = NULL, }; mp_obj_t mp_obj_new_bound_meth(mp_obj_t self, mp_obj_t meth) { -- cgit v1.2.3