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

Namespaces

namespace  cppjit
 
namespace  cppjit::cpyrt
 

Macros

#define CustomInstanceMethod_GET_CLASS(meth)   Py_None
 
#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

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

Variables

PyTypeObject cppjit::cpyrt::CustomInstanceMethod_Type
 
static PyMethodObject * cppjit::cpyrt::free_list
 
PyTypeObject cppjit::cpyrt::IndexIter_Type
 
static int cppjit::cpyrt::numfree = 0
 
static PyGetSetDef cppjit::cpyrt::tptc_getset []
 
PyTypeObject cppjit::cpyrt::TypedefPointerToClass_Type
 
PyTypeObject cppjit::cpyrt::VectorIter_Type
 

Macro Definition Documentation

◆ CustomInstanceMethod_GET_CLASS

#define CustomInstanceMethod_GET_CLASS ( meth)    Py_None

Definition at line 21 of file CustomPyTypes.cxx.

◆ CustomInstanceMethod_GET_FUNCTION

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

Definition at line 18 of file CustomPyTypes.cxx.

◆ CustomInstanceMethod_GET_SELF

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

Definition at line 16 of file CustomPyTypes.cxx.

◆ PyMethod_MAXFREELIST

#define PyMethod_MAXFREELIST   256

Definition at line 115 of file CustomPyTypes.cxx.