#include "cpyrt.h"#include "CPPDataMember.h"#include "CPPExcInstance.h"#include "CPPInstance.h"#include "CPPOverload.h"#include "CPPScope.h"#include "CallContext.h"#include "Converters.h"#include "CustomPyTypes.h"#include "LowLevelViews.h"#include "MemoryRegulator.h"#include "ProxyWrappers.h"#include "PyStrings.h"#include "TemplateProxy.h"#include "TupleOfInstances.h"#include "Utility.h"#include "cppjit_interop.h"#include <unordered_map>#include "cpyrt/DispatchPtr.h"#include <algorithm>#include <iostream>#include <map>#include <sstream>#include <string>#include <unordered_set>#include <utility>#include <vector>Classes | |
| struct | module_state |
Namespaces | |
| namespace | cppjit |
| namespace | cppjit::cpyrt |
Macros | |
| #define | CPYRT_INTERNAL 1 |
| #define | DEFINE_CALL_POLICY_TOGGLE(name, flagname) |
| #define | GETSTATE(m) ((struct module_state*)PyModule_GetState(m)) |
Functions | |
| static int | cpycppjitmodule_clear (PyObject *m) |
| static int | cpycppjitmodule_traverse (PyObject *m, visitproc visit, void *arg) |
| static void | default_dealloc (PyObject *) |
| static PyObject * | default_repr (PyObject *) |
| PyObject * | cppjit::cpyrt::Init () |
| CPYRT_EXTERN void * | cppjit::cpyrt::Instance_AsVoidPtr (PyObject *pyobject) |
| CPYRT_EXTERN PyObject * | cppjit::cpyrt::Instance_FromVoidPtr (void *addr, const std::string &classname, bool python_owns=false) |
| static PyObject * | LockInterpreter (PyObject *, PyObject *) |
| static void | nullptr_dealloc (PyObject *) |
| static int | nullptr_nonzero (PyObject *) |
| static PyObject * | nullptr_repr (PyObject *) |
| std::unordered_map< std::string, std::vector< PyObject * > > & | cppjit::cpyrt::pythonizations () |
| static PyObject * | UnlockInterpreter (PyObject *, PyObject *) |
Variables | |
| std::ostringstream | cppjit::cpyrt::gCapturedError |
| static PyMethodDef | gcpyrtMethods [] |
| std::streambuf * | cppjit::cpyrt::gOldErrorBuffer = nullptr |
| std::unordered_set< interop::TCppScope_t > | cppjit::cpyrt::gPinnedTypes |
| PyObject * | cppjit::cpyrt::gPyTypeMap = nullptr |
| static struct PyModuleDef | moduledef |
| static PyNumberMethods | nullptr_as_number |
| static PyTypeObject | PyDefault_t_Type |
| static PyTypeObject | PyNullPtr_t_Type |
| std::unordered_map< interop::TCppType_t, interop::TCppType_t > | TypeReductionMap |
| #define CPYRT_INTERNAL 1 |
Definition at line 23 of file cpyrtModule.cxx.
| #define DEFINE_CALL_POLICY_TOGGLE | ( | name, | |
| flagname ) |
Definition at line 755 of file cpyrtModule.cxx.
| #define GETSTATE | ( | m | ) | ((struct module_state*)PyModule_GetState(m)) |
Definition at line 903 of file cpyrtModule.cxx.
Definition at line 910 of file cpyrtModule.cxx.
Definition at line 905 of file cpyrtModule.cxx.
|
static |
Definition at line 153 of file cpyrtModule.cxx.
Definition at line 149 of file cpyrtModule.cxx.
Definition at line 825 of file cpyrtModule.cxx.
|
static |
Definition at line 49 of file cpyrtModule.cxx.
Definition at line 53 of file cpyrtModule.cxx.
Definition at line 45 of file cpyrtModule.cxx.
Definition at line 835 of file cpyrtModule.cxx.
|
static |
Definition at line 840 of file cpyrtModule.cxx.
|
static |
Definition at line 915 of file cpyrtModule.cxx.
|
static |
Definition at line 55 of file cpyrtModule.cxx.
|
static |
Definition at line 157 of file cpyrtModule.cxx.
|
static |
Definition at line 94 of file cpyrtModule.cxx.
| std::unordered_map<interop::TCppType_t, interop::TCppType_t> TypeReductionMap |
Definition at line 42 of file cpyrtModule.cxx.