#include "CPyCppyy.h"
#include "CustomPyTypes.h"
#include "CPPInstance.h"
#include "Converters.h"
#include "ProxyWrappers.h"
#include "PyStrings.h"
Namespaces | |
namespace | CPyCppyy |
Set of helper functions that are invoked from the pythonizors, on the Python side. | |
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 | |
PyObject * | CPyCppyy::CustomInstanceMethod_New (PyObject *func, PyObject *self, PyObject *pyclass) |
static PyObject * | CPyCppyy::im_call (PyObject *meth, PyObject *args, PyObject *kw) |
static void | CPyCppyy::im_dealloc (PyMethodObject *im) |
static PyObject * | CPyCppyy::im_descr_get (PyObject *meth, PyObject *obj, PyObject *pyclass) |
static void | CPyCppyy::indexiter_dealloc (indexiterobject *ii) |
static PyObject * | CPyCppyy::indexiter_iternext (indexiterobject *ii) |
static int | CPyCppyy::indexiter_traverse (indexiterobject *ii, visitproc visit, void *arg) |
static PyObject * | CPyCppyy::tpc_call (typedefpointertoclassobject *self, PyObject *args, PyObject *) |
static void | CPyCppyy::vectoriter_dealloc (vectoriterobject *vi) |
static PyObject * | CPyCppyy::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 |
PyTypeObject | CPyCppyy::TypedefPointerToClass_Type |
PyTypeObject | CPyCppyy::VectorIter_Type |
#define CustomInstanceMethod_GET_CLASS | ( | meth | ) | PyMethod_GET_CLASS(meth) |
Definition at line 20 of file CustomPyTypes.cxx.
#define CustomInstanceMethod_GET_FUNCTION | ( | meth | ) | reinterpret_cast<PyMethodObject *>(meth)->im_func |
Definition at line 15 of file CustomPyTypes.cxx.
#define CustomInstanceMethod_GET_SELF | ( | meth | ) | reinterpret_cast<PyMethodObject *>(meth)->im_self |
Definition at line 14 of file CustomPyTypes.cxx.
#define PyMethod_MAXFREELIST 256 |
Definition at line 107 of file CustomPyTypes.cxx.