#include "CPyCppyy.h"
#include "DeclareConverters.h"
#include "CallContext.h"
#include "CPPExcInstance.h"
#include "CPPInstance.h"
#include "CPPOverload.h"
#include "CustomPyTypes.h"
#include "LowLevelViews.h"
#include "MemoryRegulator.h"
#include "ProxyWrappers.h"
#include "PyStrings.h"
#include "TemplateProxy.h"
#include "TupleOfInstances.h"
#include "TypeManip.h"
#include "Utility.h"
#include <limits.h>
#include <stddef.h>
#include <string.h>
#include <array>
#include <utility>
#include <sstream>
#include "ROOT/RStringView.hxx"
Classes | |
struct | CPyCppyy_tagCDataObject |
struct | CPyCppyy_tagPyCArgObject |
Namespaces | |
namespace | CPyCppyy |
Set of helper functions that are invoked from the pythonizors, on the Python side. | |
Macros | |
#define | CPPYY_IMPL_ARRAY_CONVERTER(name, ctype, type, code) |
#define | CPPYY_IMPL_BASIC_CHAR_CONVERTER(name, type, low, high) |
#define | CPPYY_IMPL_BASIC_CONST_CHAR_REFCONVERTER(name, type, ctype, low, high) |
#define | CPPYY_IMPL_BASIC_CONST_REFCONVERTER(name, type, ctype, F1) |
#define | CPPYY_IMPL_BASIC_CONVERTER(name, type, stype, ctype, F1, F2, tc) |
#define | CPPYY_IMPL_REFCONVERTER(name, ctype, type, code) |
#define | CPPYY_IMPL_REFCONVERTER_FROM_MEMORY(name, ctype) |
#define | CPPYY_IMPL_STRING_AS_PRIMITIVE_CONVERTER(name, type, F1, F2) |
#define | ct_c_bool 0 |
#define | ct_c_byte 3 |
#define | ct_c_char 1 |
#define | ct_c_char_p 18 |
#define | ct_c_complex 21 |
#define | ct_c_double 16 |
#define | ct_c_float 15 |
#define | ct_c_int 8 |
#define | ct_c_int8 3 |
#define | ct_c_long 11 |
#define | ct_c_longdouble 17 |
#define | ct_c_longlong 13 |
#define | ct_c_shar 1 |
#define | ct_c_short 5 |
#define | ct_c_ubyte 4 |
#define | ct_c_uchar 4 |
#define | ct_c_uint 9 |
#define | ct_c_uint16 7 |
#define | ct_c_uint32 10 |
#define | ct_c_uint8 4 |
#define | ct_c_ulong 12 |
#define | ct_c_ulonglong 14 |
#define | ct_c_ushort 6 |
#define | ct_c_void_p 20 |
#define | ct_c_wchar 2 |
#define | ct_c_wchar_p 19 |
#define | NO_KNOWN_INITIALIZER_LIST 1 |
#define | NTYPES 22 |
#define | STRINGVIEW "basic_string_view<char,char_traits<char> >" |
#define | UNKNOWN_ARRAY_SIZE -2 |
#define | UNKNOWN_SIZE -1 |
#define | WSTRING "basic_string<wchar_t,char_traits<wchar_t>,allocator<wchar_t> >" |
Typedefs | |
typedef std::map< std::string, cf_t > | CPyCppyy::ConvFactories_t |
typedef std::pair< std::string, std::string > | RetSigKey_t |
Variables | |
static ConvFactories_t | CPyCppyy::gConvFactories |
static std::array< const char *, 22 > | gCTypesNames |
static std::array< PyTypeObject *, 22 > | gCTypesPtrTypes |
static std::array< PyTypeObject *, 22 > | gCTypesTypes |
PyObject * | CPyCppyy::gNullPtrObject = nullptr |
static PyMethodDef | gWrapperCacheEraserMethodDef |
const size_t | MOVE_REFCOUNT_CUTOFF = 1 |
static unsigned int | sWrapperCounter = 0 |
static std::map< RetSigKey_t, std::vector< void * > > | sWrapperFree |
static std::map< RetSigKey_t, std::map< PyObject *, void * > > | sWrapperLookup |
static std::map< void *, PyObject ** > | sWrapperReference |
static std::map< PyObject *, std::pair< void *, RetSigKey_t > > | sWrapperWeakRefs |
Definition at line 1515 of file Converters.cxx.
Definition at line 582 of file Converters.cxx.
Definition at line 566 of file Converters.cxx.
Definition at line 551 of file Converters.cxx.
Definition at line 469 of file Converters.cxx.
Definition at line 711 of file Converters.cxx.
#define CPPYY_IMPL_REFCONVERTER_FROM_MEMORY | ( | name, | |
ctype | |||
) |
Definition at line 535 of file Converters.cxx.
Definition at line 1649 of file Converters.cxx.
#define ct_c_bool 0 |
Definition at line 75 of file Converters.cxx.
#define ct_c_byte 3 |
Definition at line 79 of file Converters.cxx.
#define ct_c_char 1 |
Definition at line 76 of file Converters.cxx.
#define ct_c_char_p 18 |
Definition at line 97 of file Converters.cxx.
#define ct_c_complex 21 |
Definition at line 100 of file Converters.cxx.
#define ct_c_double 16 |
Definition at line 95 of file Converters.cxx.
#define ct_c_float 15 |
Definition at line 94 of file Converters.cxx.
#define ct_c_int 8 |
Definition at line 87 of file Converters.cxx.
#define ct_c_int8 3 |
Definition at line 80 of file Converters.cxx.
#define ct_c_long 11 |
Definition at line 90 of file Converters.cxx.
#define ct_c_longdouble 17 |
Definition at line 96 of file Converters.cxx.
#define ct_c_longlong 13 |
Definition at line 92 of file Converters.cxx.
#define ct_c_shar 1 |
Definition at line 77 of file Converters.cxx.
#define ct_c_short 5 |
Definition at line 84 of file Converters.cxx.
#define ct_c_ubyte 4 |
Definition at line 81 of file Converters.cxx.
#define ct_c_uchar 4 |
Definition at line 82 of file Converters.cxx.
#define ct_c_uint 9 |
Definition at line 88 of file Converters.cxx.
#define ct_c_uint16 7 |
Definition at line 86 of file Converters.cxx.
#define ct_c_uint32 10 |
Definition at line 89 of file Converters.cxx.
#define ct_c_uint8 4 |
Definition at line 83 of file Converters.cxx.
#define ct_c_ulong 12 |
Definition at line 91 of file Converters.cxx.
#define ct_c_ulonglong 14 |
Definition at line 93 of file Converters.cxx.
#define ct_c_ushort 6 |
Definition at line 85 of file Converters.cxx.
#define ct_c_void_p 20 |
Definition at line 99 of file Converters.cxx.
#define ct_c_wchar 2 |
Definition at line 78 of file Converters.cxx.
#define ct_c_wchar_p 19 |
Definition at line 98 of file Converters.cxx.
#define NO_KNOWN_INITIALIZER_LIST 1 |
Definition at line 2559 of file Converters.cxx.
#define NTYPES 22 |
Definition at line 101 of file Converters.cxx.
#define STRINGVIEW "basic_string_view<char,char_traits<char> >" |
Definition at line 2900 of file Converters.cxx.
#define UNKNOWN_ARRAY_SIZE -2 |
Definition at line 31 of file Converters.cxx.
#define UNKNOWN_SIZE -1 |
Definition at line 30 of file Converters.cxx.
#define WSTRING "basic_string<wchar_t,char_traits<wchar_t>,allocator<wchar_t> >" |
Definition at line 2901 of file Converters.cxx.
typedef std::pair<std::string, std::string> RetSigKey_t |
Definition at line 2214 of file Converters.cxx.
|
inlinestatic |
Definition at line 362 of file Converters.cxx.
|
inlinestatic |
Definition at line 386 of file Converters.cxx.
CPPYY_IMPL_REFCONVERTER_FROM_MEMORY | ( | Bool | , |
c_bool | |||
) |
CPPYY_IMPL_REFCONVERTER_FROM_MEMORY | ( | Char | , |
c_char | |||
) |
CPPYY_IMPL_REFCONVERTER_FROM_MEMORY | ( | Char16 | , |
c_uint16 | |||
) |
CPPYY_IMPL_REFCONVERTER_FROM_MEMORY | ( | Char32 | , |
c_uint32 | |||
) |
CPPYY_IMPL_REFCONVERTER_FROM_MEMORY | ( | Float | , |
c_float | |||
) |
CPPYY_IMPL_REFCONVERTER_FROM_MEMORY | ( | Int8 | , |
c_int8 | |||
) |
CPPYY_IMPL_REFCONVERTER_FROM_MEMORY | ( | LDouble | , |
c_longdouble | |||
) |
CPPYY_IMPL_REFCONVERTER_FROM_MEMORY | ( | LLong | , |
c_longlong | |||
) |
CPPYY_IMPL_REFCONVERTER_FROM_MEMORY | ( | SChar | , |
c_byte | |||
) |
CPPYY_IMPL_REFCONVERTER_FROM_MEMORY | ( | Short | , |
c_short | |||
) |
CPPYY_IMPL_REFCONVERTER_FROM_MEMORY | ( | UChar | , |
c_ubyte | |||
) |
CPPYY_IMPL_REFCONVERTER_FROM_MEMORY | ( | UInt | , |
c_uint | |||
) |
CPPYY_IMPL_REFCONVERTER_FROM_MEMORY | ( | UInt8 | , |
c_uint8 | |||
) |
CPPYY_IMPL_REFCONVERTER_FROM_MEMORY | ( | ULLong | , |
c_ulonglong | |||
) |
CPPYY_IMPL_REFCONVERTER_FROM_MEMORY | ( | ULong | , |
c_ulong | |||
) |
CPPYY_IMPL_REFCONVERTER_FROM_MEMORY | ( | UShort | , |
c_ushort | |||
) |
CPPYY_IMPL_REFCONVERTER_FROM_MEMORY | ( | WChar | , |
c_wchar | |||
) |
Definition at line 242 of file Converters.cxx.
|
inlinestatic |
Definition at line 276 of file Converters.cxx.
|
inlinestatic |
Definition at line 311 of file Converters.cxx.
Definition at line 328 of file Converters.cxx.
|
inlinestatic |
Definition at line 348 of file Converters.cxx.
|
inlinestatic |
Definition at line 259 of file Converters.cxx.
|
inlinestatic |
Definition at line 293 of file Converters.cxx.
|
inlinestatic |
Definition at line 254 of file Converters.cxx.
Definition at line 510 of file Converters.cxx.
|
inlinestatic |
Definition at line 216 of file Converters.cxx.
|
static |
Definition at line 134 of file Converters.cxx.
|
static |
Definition at line 115 of file Converters.cxx.
|
inlinestatic |
Definition at line 1501 of file Converters.cxx.
Definition at line 181 of file Converters.cxx.
Definition at line 161 of file Converters.cxx.
|
static |
Definition at line 2238 of file Converters.cxx.
|
inlinestatic |
Definition at line 2649 of file Converters.cxx.
Definition at line 200 of file Converters.cxx.
Definition at line 2220 of file Converters.cxx.
|
static |
Definition at line 103 of file Converters.cxx.
|
static |
Definition at line 109 of file Converters.cxx.
|
static |
Definition at line 108 of file Converters.cxx.
|
static |
Definition at line 2232 of file Converters.cxx.
const size_t MOVE_REFCOUNT_CUTOFF = 1 |
Definition at line 45 of file Converters.cxx.
|
static |
Definition at line 2212 of file Converters.cxx.
|
static |
Definition at line 2215 of file Converters.cxx.
|
static |
Definition at line 2216 of file Converters.cxx.
|
static |
Definition at line 2218 of file Converters.cxx.
|
static |
Definition at line 2217 of file Converters.cxx.