From 418aca976c33db443c2bfed69ff2a38e79320259 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Sat, 3 May 2014 14:10:34 +0300 Subject: 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. --- py/obj.h | 1 + 1 file changed, 1 insertion(+) (limited to 'py/obj.h') 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); -- cgit v1.2.3