summaryrefslogtreecommitdiffstats
path: root/Include/code.h
diff options
context:
space:
mode:
Diffstat (limited to 'Include/code.h')
-rw-r--r--Include/code.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Include/code.h b/Include/code.h
index 432ec8e..3de77b6 100644
--- a/Include/code.h
+++ b/Include/code.h
@@ -88,6 +88,9 @@ typedef struct _addr_pair {
PyAPI_FUNC(int) PyCode_CheckLineNumber(PyCodeObject* co,
int lasti, PyAddrPair *bounds);
+PyAPI_FUNC(PyObject*) PyCode_Optimize(PyObject *code, PyObject* consts,
+ PyObject *names, PyObject *lineno_obj);
+
#ifdef __cplusplus
}
#endif