Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
CPyCppyyModule.cxx File Reference
#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 "CPyCppyy/DispatchPtr.h"
#include <algorithm>
#include <map>
#include <set>
#include <string>
#include <iostream>
#include <sstream>
#include <utility>
#include <vector>
Include dependency graph for CPyCppyyModule.cxx:

Namespaces

namespace  CPyCppyy
 

Macros

#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)
 

Functions

static void default_dealloc (PyObject *)
 
static PyObjectdefault_repr (PyObject *)
 
void initlibcppyy ()
 
CPYCPPYY_EXTERN void * CPyCppyy::Instance_AsVoidPtr (PyObject *pyobject)
 
CPYCPPYY_EXTERN PyObjectCPyCppyy::Instance_FromVoidPtr (void *addr, const std::string &classname, bool python_owns=false)
 
static void nullptr_dealloc (PyObject *)
 
static int nullptr_nonzero (PyObject *)
 
static PyObjectnullptr_repr (PyObject *)
 
std::map< std::string, std::vector< PyObject * > > & CPyCppyy::pythonizations ()
 

Variables

std::ostringstream CPyCppyy::gCapturedError
 
static PyMethodDef gCPyCppyyMethods []
 
std::streambuf * CPyCppyy::gOldErrorBuffer = nullptr
 
std::set< Cppyy::TCppType_tCPyCppyy::gPinnedTypes
 
PyObjectCPyCppyy::gPyTypeMap = nullptr
 
static PyNumberMethods nullptr_as_number
 
static PyTypeObject PyDefault_t_Type
 
static PyTypeObject PyNullPtr_t_Type
 

Macro Definition Documentation

◆ CPYCPPYY_GET_DICT_LOOKUP

#define CPYCPPYY_GET_DICT_LOOKUP (   mp)     ((dict_lookup_func&)mp->ma_lookup)

Definition at line 78 of file CPyCppyyModule.cxx.

◆ CPYCPPYY_INIT_ERROR

#define CPYCPPYY_INIT_ERROR   return

Definition at line 1075 of file CPyCppyyModule.cxx.

◆ CPYCPPYY_INTERNAL

#define CPYCPPYY_INTERNAL   1

Definition at line 19 of file CPyCppyyModule.cxx.

◆ CPYCPPYY_ORGDICT_LOOKUP

#define CPYCPPYY_ORGDICT_LOOKUP (   mp,
  key,
  hash,
  value_addr,
  hashpos 
)     OrgDictLookup(mp, key, hash)

Definition at line 323 of file CPyCppyyModule.cxx.

Function Documentation

◆ default_dealloc()

static void default_dealloc ( PyObject )
static

Definition at line 178 of file CPyCppyyModule.cxx.

◆ default_repr()

static PyObject * default_repr ( PyObject )
static

Definition at line 173 of file CPyCppyyModule.cxx.

◆ initlibcppyy()

void initlibcppyy ( )

Definition at line 1076 of file CPyCppyyModule.cxx.

◆ nullptr_dealloc()

static void nullptr_dealloc ( PyObject )
static

Definition at line 91 of file CPyCppyyModule.cxx.

◆ nullptr_nonzero()

static int nullptr_nonzero ( PyObject )
static

Definition at line 96 of file CPyCppyyModule.cxx.

◆ nullptr_repr()

static PyObject * nullptr_repr ( PyObject )
static

Definition at line 86 of file CPyCppyyModule.cxx.

Variable Documentation

◆ gCPyCppyyMethods

PyMethodDef gCPyCppyyMethods[]
static

Definition at line 991 of file CPyCppyyModule.cxx.

◆ nullptr_as_number

PyNumberMethods nullptr_as_number
static

Definition at line 101 of file CPyCppyyModule.cxx.

◆ PyDefault_t_Type

PyTypeObject PyDefault_t_Type
static

Definition at line 183 of file CPyCppyyModule.cxx.

◆ PyNullPtr_t_Type

PyTypeObject PyNullPtr_t_Type
static

Definition at line 139 of file CPyCppyyModule.cxx.