pycapsule.h File Reference

Macros

#define PyCapsule_CheckExact(op)
 

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

◆ PyCapsule_CheckExact

#define PyCapsule_CheckExact (   op)

Typedef Documentation

◆ PyCapsule_Destructor

typedef void(* PyCapsule_Destructor) (PyObject *)

Function Documentation

◆ PyAPI_DATA()

PyAPI_DATA ( PyTypeObject  )

◆ PyAPI_FUNC() [1/5]

PyAPI_FUNC ( PyObject )

◆ PyAPI_FUNC() [2/5]

PyAPI_FUNC ( void *  )

◆ PyAPI_FUNC() [3/5]

PyAPI_FUNC ( PyCapsule_Destructor  )

◆ PyAPI_FUNC() [4/5]

PyAPI_FUNC ( const char *  )

◆ PyAPI_FUNC() [5/5]

PyAPI_FUNC ( int  )

Variable Documentation

◆ name

const char* name

◆ destructor

◆ pointer

void* pointer

◆ context

void* context

◆ no_block

int no_block