Searched refs:PyFunctionObject (Results 1 – 4 of 4) sorted by relevance
12 PyFunctionObject *op = PyObject_GC_New(PyFunctionObject, in PyFunction_New()70 return ((PyFunctionObject *) op) -> func_code; in PyFunction_GetCode()80 return ((PyFunctionObject *) op) -> func_globals; in PyFunction_GetGlobals()90 return ((PyFunctionObject *) op) -> func_module; in PyFunction_GetModule()100 return ((PyFunctionObject *) op) -> func_defaults; in PyFunction_GetDefaults()119 Py_XSETREF(((PyFunctionObject *)op)->func_defaults, defaults); in PyFunction_SetDefaults()130 return ((PyFunctionObject *) op) -> func_closure; in PyFunction_GetClosure()151 Py_XSETREF(((PyFunctionObject *)op)->func_closure, closure); in PyFunction_SetClosure()157 #define OFF(x) offsetof(PyFunctionObject, x)185 func_get_dict(PyFunctionObject *op) in func_get_dict()[all …]
38 } PyFunctionObject; typedef56 (((PyFunctionObject *)func) -> func_code)58 (((PyFunctionObject *)func) -> func_globals)60 (((PyFunctionObject *)func) -> func_module)62 (((PyFunctionObject *)func) -> func_defaults)64 (((PyFunctionObject *)func) -> func_closure)
13 .. c:type:: PyFunctionObject
4232 return PyString_AsString(((PyFunctionObject*)func)->func_name); in PyEval_GetFuncName()