Searched refs:PyFunctionObject (Results 1 – 6 of 6) sorted by relevance
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)
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_XDECREF(((PyFunctionObject *) op) -> func_defaults); in PyFunction_SetDefaults()120 ((PyFunctionObject *) op) -> func_defaults = defaults; in PyFunction_SetDefaults()131 return ((PyFunctionObject *) op) -> func_closure; in PyFunction_GetClosure()152 Py_XDECREF(((PyFunctionObject *) op) -> func_closure); in PyFunction_SetClosure()153 ((PyFunctionObject *) op) -> func_closure = closure; in PyFunction_SetClosure()[all …]
3893 return PyString_AsString(((PyFunctionObject*)func)->func_name); in PyEval_GetFuncName()
3915 return PyString_AsString(((PyFunctionObject*)func)->func_name); in PyEval_GetFuncName()