aboutsummaryrefslogtreecommitdiff
path: root/py/obj.h
diff options
context:
space:
mode:
authorPaul Sokolovsky2014-05-01 22:20:07 +0300
committerPaul Sokolovsky2014-05-01 23:22:11 +0300
commitc3103b55c1cbd6d28ff5ef310a4e731780ff391a (patch)
tree883ba9e2b95650d660c9e20c18cdd8eca659cc62 /py/obj.h
parent1f85d6255d6929edbcfc087e4e07c2fde39c3632 (diff)
objgenerator: .print(): Output real underlying function name.
Diffstat (limited to 'py/obj.h')
-rw-r--r--py/obj.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/py/obj.h b/py/obj.h
index 35c98d371..ea4534bb2 100644
--- a/py/obj.h
+++ b/py/obj.h
@@ -508,6 +508,7 @@ typedef struct _mp_obj_fun_native_t { // need this so we can define const object
bool mp_obj_fun_prepare_simple_args(mp_obj_t self_in, uint n_args, uint n_kw, const mp_obj_t *args,
uint *out_args1_len, const mp_obj_t **out_args1, uint *out_args2_len, const mp_obj_t **out_args2);
+const char *mp_obj_code_get_name(const byte *code_info);
mp_obj_t mp_identity(mp_obj_t self);
MP_DECLARE_CONST_FUN_OBJ(mp_identity_obj);