#include "cpyrt.h"#include "CPPInstance.h"#include "CPPOverload.h"#include "CPPScope.h"#include "Compatibility.h"#include "MemoryRegulator.h"#include "ProxyWrappers.h"#include "PyStrings.h"#include "TypeManip.h"#include "Utility.h"#include "cppjit_interop.h"#include "cpyrt/DispatchPtr.h"#include <algorithm>#include <sstream>Namespaces | |
| namespace | cppjit |
| namespace | cppjit::cpyrt |
Macros | |
| #define | ARRAY_SIZE(pyobj) ((ExtendedData*)((pyobj)->fObject))->fArraySize |
| #define | CPYRT_ASSOCIATIVE_OPERATOR_STUB(name, op, lmeth, rmeth) |
| #define | CPYRT_OPERATOR_STUB(name, op, ometh) |
| #define | CPYRT_ORDERED_OPERATOR_STUB(op, ometh, label) |
| #define | CPYRT_STUB_BODY(name, op) |
| #define | CPYRT_UNARY_OPERATOR(name, op, label) |
| #define | DATA_CACHE(pyobj) ((ExtendedData*)((pyobj)->fObject))->fDatamemberCache |
| #define | DISPATCHPTR(pyobj) ((ExtendedData*)((pyobj)->fObject))->fDispatchPtr |
| #define | EXT_OBJECT(pyobj) ((ExtendedData*)((pyobj)->fObject))->fObject |
| #define | SMART_CLS(pyobj) ((ExtendedData*)((pyobj)->fObject))->fSmartClass |
| #define | SMART_TYPE(pyobj) SMART_CLS(pyobj)->fCppType |
Variables | |
| PyTypeObject | cppjit::cpyrt::CPPInstance_Type |
| static PyNumberMethods | cppjit::cpyrt::op_as_number |
| static PySequenceMethods | cppjit::cpyrt::op_as_sequence |
| static PyGetSetDef | cppjit::cpyrt::op_getset [] |
| static PyMethodDef | cppjit::cpyrt::op_methods [] |
| #define ARRAY_SIZE | ( | pyobj | ) | ((ExtendedData*)((pyobj)->fObject))->fArraySize |
Definition at line 88 of file CPPInstance.cxx.
| #define CPYRT_ASSOCIATIVE_OPERATOR_STUB | ( | name, | |
| op, | |||
| lmeth, | |||
| rmeth ) |
Definition at line 1041 of file CPPInstance.cxx.
| #define CPYRT_OPERATOR_STUB | ( | name, | |
| op, | |||
| ometh ) |
Definition at line 1030 of file CPPInstance.cxx.
| #define CPYRT_ORDERED_OPERATOR_STUB | ( | op, | |
| ometh, | |||
| label ) |
Definition at line 611 of file CPPInstance.cxx.
| #define CPYRT_STUB_BODY | ( | name, | |
| op ) |
Definition at line 1002 of file CPPInstance.cxx.
| #define CPYRT_UNARY_OPERATOR | ( | name, | |
| op, | |||
| label ) |
Definition at line 1069 of file CPPInstance.cxx.
| #define DATA_CACHE | ( | pyobj | ) | ((ExtendedData*)((pyobj)->fObject))->fDatamemberCache |
Definition at line 84 of file CPPInstance.cxx.
| #define DISPATCHPTR | ( | pyobj | ) | ((ExtendedData*)((pyobj)->fObject))->fDispatchPtr |
Definition at line 87 of file CPPInstance.cxx.
| #define EXT_OBJECT | ( | pyobj | ) | ((ExtendedData*)((pyobj)->fObject))->fObject |
Definition at line 83 of file CPPInstance.cxx.
| #define SMART_CLS | ( | pyobj | ) | ((ExtendedData*)((pyobj)->fObject))->fSmartClass |
Definition at line 85 of file CPPInstance.cxx.
| #define SMART_TYPE | ( | pyobj | ) | SMART_CLS(pyobj)->fCppType |
Definition at line 86 of file CPPInstance.cxx.