Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
CustomPyTypes.cxx File Reference
#include "CPyCppyy.h"
#include "CustomPyTypes.h"
#include "CPPInstance.h"
#include "Converters.h"
#include "ProxyWrappers.h"
#include "PyStrings.h"
Include dependency graph for CustomPyTypes.cxx:

Namespaces

namespace  CPyCppyy
 

Macros

#define CustomInstanceMethod_GET_CLASS(meth)   PyMethod_GET_CLASS(meth)
 
#define CustomInstanceMethod_GET_FUNCTION(meth)   reinterpret_cast<PyMethodObject *>(meth)->im_func
 
#define CustomInstanceMethod_GET_SELF(meth)   reinterpret_cast<PyMethodObject *>(meth)->im_self
 
#define PyMethod_MAXFREELIST   256
 

Functions

PyObjectCPyCppyy::CustomInstanceMethod_New (PyObject *func, PyObject *self, PyObject *pyclass)
 
static PyObjectCPyCppyy::im_call (PyObject *meth, PyObject *args, PyObject *kw)
 
static void CPyCppyy::im_dealloc (PyMethodObject *im)
 
static PyObjectCPyCppyy::im_descr_get (PyObject *meth, PyObject *obj, PyObject *pyclass)
 
static void CPyCppyy::indexiter_dealloc (indexiterobject *ii)
 
static PyObjectCPyCppyy::indexiter_iternext (indexiterobject *ii)
 
static int CPyCppyy::indexiter_traverse (indexiterobject *ii, visitproc visit, void *arg)
 
static PyObjectCPyCppyy::tptc_call (typedefpointertoclassobject *self, PyObject *args, PyObject *)
 
static PyObjectCPyCppyy::tptc_getcppname (typedefpointertoclassobject *self, void *)
 
static PyObjectCPyCppyy::tptc_name (typedefpointertoclassobject *self, void *)
 
static void CPyCppyy::vectoriter_dealloc (vectoriterobject *vi)
 
static PyObjectCPyCppyy::vectoriter_iternext (vectoriterobject *vi)
 

Variables

PyTypeObject CPyCppyy::CustomInstanceMethod_Type
 
static PyMethodObject * CPyCppyy::free_list
 
PyTypeObject CPyCppyy::IndexIter_Type
 
static int CPyCppyy::numfree = 0
 
PyTypeObject CPyCppyy::RefFloat_Type
 Custom "builtins," detectable by type, for pass by ref and improved performance.
 
PyTypeObject CPyCppyy::RefInt_Type
 
static PyGetSetDef CPyCppyy::tptc_getset []
 
PyTypeObject CPyCppyy::TypedefPointerToClass_Type
 
PyTypeObject CPyCppyy::VectorIter_Type
 

Macro Definition Documentation

◆ CustomInstanceMethod_GET_CLASS

#define CustomInstanceMethod_GET_CLASS (   meth)    PyMethod_GET_CLASS(meth)

Definition at line 20 of file CustomPyTypes.cxx.

◆ CustomInstanceMethod_GET_FUNCTION

#define CustomInstanceMethod_GET_FUNCTION (   meth)    reinterpret_cast<PyMethodObject *>(meth)->im_func

Definition at line 15 of file CustomPyTypes.cxx.

◆ CustomInstanceMethod_GET_SELF

#define CustomInstanceMethod_GET_SELF (   meth)    reinterpret_cast<PyMethodObject *>(meth)->im_self

Definition at line 14 of file CustomPyTypes.cxx.

◆ PyMethod_MAXFREELIST

#define PyMethod_MAXFREELIST   256

Definition at line 176 of file CustomPyTypes.cxx.