#include "CPyCppyy.h"
#include "CallContext.h"
#include "Converters.h"
#include "CPPDataMember.h"
#include "CPPExcInstance.h"
#include "CPPInstance.h"
#include "CPPOverload.h"
#include "CPPScope.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 <algorithm>
#include <map>
#include <set>
#include <string>
#include <sstream>
#include <utility>
#include <vector>
Namespaces | |
namespace | CPyCppyy |
Set of helper functions that are invoked from the pythonizors, on the Python side. | |
Macros | |
#define | CONCAT(a, b, c, d) a##b##c##d |
#define | CPYCPPYY_GET_DICT_LOOKUP(mp) ((dict_lookup_func&)mp->ma_lookup) |
#define | CPYCPPYY_INIT_ERROR return |
#define | CPYCPPYY_INTERNAL 1 |
#define | CPYCPPYY_ORGDICT_LOOKUP(mp, key, hash, value_addr, hashpos) OrgDictLookup(mp, key, hash) |
#define | LIBCPPYY_INIT_FUNCTION(a, b, c, d) CONCAT(a, b, c, d) |
#define | LIBCPPYY_NAME "libcppyy" QuoteMacro(PY_MAJOR_VERSION) "_" QuoteMacro(PY_MINOR_VERSION) |
#define | QuoteIdent(ident) #ident |
#define | QuoteMacro(macro) QuoteIdent(macro) |
Functions | |
C void | initlibcppyyPY_MAJOR_VERSION_PY_MINOR_VERSION () |
CPYCPPYY_EXTERN void * | CPyCppyy::Instance_AsVoidPtr (PyObject *pyobject) |
CPYCPPYY_EXTERN PyObject * | CPyCppyy::Instance_FromVoidPtr (void *addr, const std::string &classname, bool python_owns=false) |
static void | nullptr_dealloc (PyObject *) |
static int | nullptr_nonzero (PyObject *) |
static PyObject * | nullptr_repr (PyObject *) |
Variables | |
static PyMethodDef | gCPyCppyyMethods [] |
std::set< Cppyy::TCppType_t > | CPyCppyy::gPinnedTypes |
std::map< std::string, std::vector< PyObject * > > | CPyCppyy::gPythonizations |
PyObject * | CPyCppyy::gPyTypeMap = nullptr |
static PyNumberMethods | nullptr_as_number |
static PyTypeObject | PyNullPtr_t_Type |
#define CPYCPPYY_GET_DICT_LOOKUP | ( | mp | ) | ((dict_lookup_func&)mp->ma_lookup) |
Definition at line 71 of file CPyCppyyModule.cxx.
#define CPYCPPYY_INIT_ERROR return |
Definition at line 841 of file CPyCppyyModule.cxx.
#define CPYCPPYY_INTERNAL 1 |
Definition at line 19 of file CPyCppyyModule.cxx.
#define CPYCPPYY_ORGDICT_LOOKUP | ( | mp, | |
key, | |||
hash, | |||
value_addr, | |||
hashpos | |||
) | OrgDictLookup(mp, key, hash) |
Definition at line 239 of file CPyCppyyModule.cxx.
Definition at line 803 of file CPyCppyyModule.cxx.
#define LIBCPPYY_NAME "libcppyy" QuoteMacro(PY_MAJOR_VERSION) "_" QuoteMacro(PY_MINOR_VERSION) |
Definition at line 800 of file CPyCppyyModule.cxx.
#define QuoteIdent | ( | ident | ) | #ident |
Definition at line 798 of file CPyCppyyModule.cxx.
#define QuoteMacro | ( | macro | ) | QuoteIdent(macro) |
Definition at line 799 of file CPyCppyyModule.cxx.
C void initlibcppyyPY_MAJOR_VERSION_PY_MINOR_VERSION | ( | ) |
Definition at line 842 of file CPyCppyyModule.cxx.
|
static |
Definition at line 82 of file CPyCppyyModule.cxx.
Definition at line 87 of file CPyCppyyModule.cxx.
Definition at line 77 of file CPyCppyyModule.cxx.
|
static |
Definition at line 758 of file CPyCppyyModule.cxx.
|
static |
Definition at line 92 of file CPyCppyyModule.cxx.
|
static |
Definition at line 130 of file CPyCppyyModule.cxx.