summaryrefslogtreecommitdiffstatshomepage
path: root/py/objfun.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-01-04 20:21:15 +0000
committerDamien George <damien.p.george@gmail.com>2014-01-04 20:21:15 +0000
commit71c5181a8dfa69ba9f5ca322a3aba0660be2e166 (patch)
tree77aae5a9008f269276bda9c433235f7e11b57ed4 /py/objfun.c
parente9906ac3d771a312b05d76e42aee8e806dd0d128 (diff)
downloadmicropython-71c5181a8dfa69ba9f5ca322a3aba0660be2e166.tar.gz
micropython-71c5181a8dfa69ba9f5ca322a3aba0660be2e166.zip
Convert Python types to proper Python type hierarchy.
Now much more inline with how CPython does types.
Diffstat (limited to 'py/objfun.c')
-rw-r--r--py/objfun.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/py/objfun.c b/py/objfun.c
index c4783867a5..22b82a9ca0 100644
--- a/py/objfun.c
+++ b/py/objfun.c
@@ -70,6 +70,7 @@ const mp_obj_type_t fun_native_type = {
{ &mp_const_type },
"function",
NULL, // print
+ NULL, // make_new
fun_native_call_n, // call_n
NULL, // unary_op
NULL, // binary_op
@@ -162,6 +163,7 @@ const mp_obj_type_t fun_bc_type = {
{ &mp_const_type },
"function",
NULL, // print
+ NULL, // make_new
fun_bc_call_n, // call_n
NULL, // unary_op
NULL, // binary_op
@@ -275,6 +277,7 @@ static const mp_obj_type_t fun_asm_type = {
{ &mp_const_type },
"function",
NULL, // print
+ NULL, // make_new
fun_asm_call_n, // call_n
NULL, // unary_op
NULL, // binary_op