python-2.7.6/include/pycapsule.h File Reference

pycapsule.h File Reference
+ この参照ページは、次の概要トピックと関連付けられています。

Macros

#define PyCapsule_CheckExact(op)   (Py_TYPE(op) == &PyCapsule_Type)
 

Typedefs

typedef void(* PyCapsule_Destructor) (PyObject *)
 

Functions

 PyAPI_DATA (PyTypeObject) PyCapsule_Type
 
 PyAPI_FUNC (PyObject *) PyCapsule_New(void *pointer
 
 PyAPI_FUNC (void *) PyCapsule_GetPointer(PyObject *capsule
 
 PyAPI_FUNC (PyCapsule_Destructor) PyCapsule_GetDestructor(PyObject *capsule)
 
 PyAPI_FUNC (const char *) PyCapsule_GetName(PyObject *capsule)
 
 PyAPI_FUNC (int) PyCapsule_IsValid(PyObject *capsule
 

Variables

const char * name
 
const char PyCapsule_Destructor destructor
 
void * pointer
 
void * context
 
int no_block
 

Macro Definition Documentation

#define PyCapsule_CheckExact (   op)    (Py_TYPE(op) == &PyCapsule_Type)

Definition at line 25 of file pycapsule.h.

Typedef Documentation

typedef void(* PyCapsule_Destructor) (PyObject *)

Definition at line 23 of file pycapsule.h.

Function Documentation

PyAPI_DATA ( PyTypeObject  )
PyAPI_FUNC ( PyObject )
PyAPI_FUNC ( void *  )
PyAPI_FUNC ( PyCapsule_Destructor  )
PyAPI_FUNC ( const char *  )
PyAPI_FUNC ( int  )

Variable Documentation

void* context
+ Examples:

Definition at line 49 of file pycapsule.h.

Definition at line 30 of file pycapsule.h.

const char* name

Definition at line 30 of file pycapsule.h.

int no_block

Definition at line 51 of file pycapsule.h.

void* pointer

Go to the source code of this file.