summaryrefslogtreecommitdiff
path: root/py/obj.h
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2014-05-03 14:10:34 +0300
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2014-05-03 14:16:11 +0300
commit418aca976c33db443c2bfed69ff2a38e79320259 (patch)
tree27b574f105b0e5014b9d5fdf54d15afc7a4cc578 /py/obj.h
parent8f472ad5778876d3d8abcfec9459c0a106f629af (diff)
objclosure, objcell: Print detailed representation if was requested.
Well, it is bound to "detailed error reporting", but that's closest what we have now without creating new entities.
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 5a3b4a852..0ecc2fe78 100644
--- a/py/obj.h
+++ b/py/obj.h
@@ -511,6 +511,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_fun_get_name(mp_obj_t fun);
const char *mp_obj_code_get_name(const byte *code_info);
mp_obj_t mp_identity(mp_obj_t self);