Lines Matching defs:code
10 /* Each instruction in a code object is a fixed-width value,
57 /* These fields are set with provided values on new code objects. */ \
91 PyObject *co_weakreflist; /* to support weakrefs to code objects */ \
95 /* Scratch space for extra data relating to the code object. \
161 /* Creates a new empty code object with the specified source location. */
166 in this code object. If you just need the line number of a frame,
200 PyAPI_FUNC(PyObject*) PyCode_Optimize(PyObject *code, PyObject* consts,
204 PyAPI_FUNC(int) _PyCode_GetExtra(PyObject *code, Py_ssize_t index,
206 PyAPI_FUNC(int) _PyCode_SetExtra(PyObject *code, Py_ssize_t index,
209 /* Equivalent to getattr(code, 'co_code') in Python.
211 PyAPI_FUNC(PyObject *) PyCode_GetCode(PyCodeObject *code);
212 /* Equivalent to getattr(code, 'co_varnames') in Python. */
213 PyAPI_FUNC(PyObject *) PyCode_GetVarnames(PyCodeObject *code);
214 /* Equivalent to getattr(code, 'co_cellvars') in Python. */
215 PyAPI_FUNC(PyObject *) PyCode_GetCellvars(PyCodeObject *code);
216 /* Equivalent to getattr(code, 'co_freevars') in Python. */
217 PyAPI_FUNC(PyObject *) PyCode_GetFreevars(PyCodeObject *code);