summaryrefslogtreecommitdiffstats
path: root/Python/ceval_macros.h
diff options
context:
space:
mode:
Diffstat (limited to 'Python/ceval_macros.h')
-rw-r--r--Python/ceval_macros.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Python/ceval_macros.h b/Python/ceval_macros.h
index 44d6ee8..6f6fabc 100644
--- a/Python/ceval_macros.h
+++ b/Python/ceval_macros.h
@@ -219,6 +219,11 @@ GETITEM(PyObject *v, Py_ssize_t i) {
#define STACK_SHRINK(n) BASIC_STACKADJ(-(n))
#endif
+
+/* Data access macros */
+#define FRAME_CO_CONSTS (frame->f_code->co_consts)
+#define FRAME_CO_NAMES (frame->f_code->co_names)
+
/* Local variable macros */
#define GETLOCAL(i) (frame->localsplus[i])