summaryrefslogtreecommitdiff
path: root/py/objfun.h
diff options
context:
space:
mode:
Diffstat (limited to 'py/objfun.h')
-rw-r--r--py/objfun.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/py/objfun.h b/py/objfun.h
index 257b8a65a..905b5dbca 100644
--- a/py/objfun.h
+++ b/py/objfun.h
@@ -33,6 +33,9 @@ typedef struct _mp_obj_fun_bc_t {
mp_obj_dict_t *globals; // the context within which this function was defined
const byte *bytecode; // bytecode for the function
const mp_uint_t *const_table; // constant table
+ #if MICROPY_PY_SYS_SETTRACE
+ const struct _mp_raw_code_t *rc;
+ #endif
// the following extra_args array is allocated space to take (in order):
// - values of positional default args (if any)
// - a single slot for default kw args dict (if it has them)