Orbits  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Pages
Classes | Macros | Functions
funcobject.h File Reference

Go to the source code of this file.

Classes

struct  PyFunctionObject
 

Macros

#define PyFunction_Check(op)   (Py_TYPE(op) == &PyFunction_Type)
 
#define PyFunction_GET_CODE(func)   (((PyFunctionObject *)func) -> func_code)
 
#define PyFunction_GET_GLOBALS(func)   (((PyFunctionObject *)func) -> func_globals)
 
#define PyFunction_GET_MODULE(func)   (((PyFunctionObject *)func) -> func_module)
 
#define PyFunction_GET_DEFAULTS(func)   (((PyFunctionObject *)func) -> func_defaults)
 
#define PyFunction_GET_CLOSURE(func)   (((PyFunctionObject *)func) -> func_closure)
 

Functions

 PyAPI_DATA (PyTypeObject) PyFunction_Type
 
 PyAPI_FUNC (PyObject *) PyFunction_New(PyObject *
 
 PyAPI_FUNC (int) PyFunction_SetDefaults(PyObject *
 

Macro Definition Documentation

#define PyFunction_Check (   op)    (Py_TYPE(op) == &PyFunction_Type)
#define PyFunction_GET_CLOSURE (   func)    (((PyFunctionObject *)func) -> func_closure)
#define PyFunction_GET_CODE (   func)    (((PyFunctionObject *)func) -> func_code)
#define PyFunction_GET_DEFAULTS (   func)    (((PyFunctionObject *)func) -> func_defaults)
#define PyFunction_GET_GLOBALS (   func)    (((PyFunctionObject *)func) -> func_globals)
#define PyFunction_GET_MODULE (   func)    (((PyFunctionObject *)func) -> func_module)

Function Documentation

PyAPI_DATA ( PyTypeObject  )
PyAPI_FUNC ( PyObject )
read
PyAPI_FUNC ( int  )
read

Copyright 2014 Google Inc. All rights reserved.