mirror of
https://github.com/python/cpython.git
synced 2025-07-25 04:04:13 +00:00

* Make internal APIs that take PyFrameConstructor take a PyFunctionObject instead. * Add reference to function to frame, borrow references to builtins and globals. * Add COPY_FREE_VARS instruction to allow specialization of calls to inner functions.
11 lines
200 B
C
11 lines
200 B
C
#ifndef Py_INTERNAL_FUNCTION_H
|
|
#define Py_INTERNAL_FUNCTION_H
|
|
|
|
|
|
#include "Python.h"
|
|
|
|
PyFunctionObject *
|
|
_PyFunction_FromConstructor(PyFrameConstructor *constr);
|
|
|
|
|
|
#endif /* !Py_INTERNAL_FUNCTION_H */
|