#include "CPyCppyy.h"
#include "DeclareExecutors.h"
#include "CPPInstance.h"
#include "LowLevelViews.h"
#include "ProxyWrappers.h"
#include "PyStrings.h"
#include "TypeManip.h"
#include "Utility.h"
#include <cstring>
#include <map>
#include <new>
#include <sstream>
#include <utility>
#include <sys/types.h>
Namespaces | |
namespace | CPyCppyy |
Set of helper functions that are invoked from the pythonizors, on the Python side. | |
Macros | |
#define | CPPYY_COMPLEX_EXEC(code, type) |
#define | CPPYY_IMPL_ARRAY_EXEC(name, type) |
#define | CPPYY_IMPL_GILCALL(rtype, tcode) |
#define | CPPYY_IMPL_REFEXEC(name, type, stype, F1, F2) |
#define | WSTRING "basic_string<wchar_t,char_traits<wchar_t>,allocator<wchar_t> >" |
Typedefs | |
typedef Executor *(* | CPyCppyy::ef_t) () |
typedef std::map< std::string, ef_t > | CPyCppyy::ExecFactories_t |
Functions | |
CPPYY_IMPL_REFEXEC (ComplexD, std::complex< double >, std::complex< double >, PyComplex_FromComplex< double >, PyComplex_AsComplex< double >) PyObject *CPyCppyy | |
static PyObject * | CPyCppyy_PyBool_FromLong (long b) |
static PyObject * | CPyCppyy_PyText_FromLong (long cl) |
static PyObject * | CPyCppyy_PyText_FromULong (unsigned long uc) |
static Cppyy::TCppObject_t | GILCallConstructor (Cppyy::TCppMethod_t method, Cppyy::TCppType_t klass, CPyCppyy::CallContext *ctxt) |
static Cppyy::TCppObject_t | GILCallO (Cppyy::TCppMethod_t method, Cppyy::TCppObject_t self, CPyCppyy::CallContext *ctxt, Cppyy::TCppType_t klass) |
template<typename T > | |
static std::complex< T > | PyComplex_AsComplex (PyObject *pycplx) |
template<typename T > | |
static PyObject * | PyComplex_FromComplex (const std::complex< T > &c) |
static PyObject * | SetInstanceCheckError (PyObject *pyobj) |
Variables | |
static ExecFactories_t | CPyCppyy::gExecFactories |
std::set< std::string > | CPyCppyy::gIteratorTypes |
#define CPPYY_COMPLEX_EXEC | ( | code, | |
type | |||
) |
Definition at line 516 of file Executors.cxx.
Definition at line 487 of file Executors.cxx.
#define CPPYY_IMPL_GILCALL | ( | rtype, | |
tcode | |||
) |
Definition at line 60 of file Executors.cxx.
Definition at line 333 of file Executors.cxx.
#define WSTRING "basic_string<wchar_t,char_traits<wchar_t>,allocator<wchar_t> >" |
Definition at line 882 of file Executors.cxx.
CPPYY_IMPL_REFEXEC | ( | ComplexD | , |
std::complex< double > | , | ||
std::complex< double > | , | ||
PyComplex_FromComplex< double > | , | ||
PyComplex_AsComplex< double > | |||
) |
Definition at line 383 of file Executors.cxx.
Definition at line 129 of file Executors.cxx.
Definition at line 106 of file Executors.cxx.
Definition at line 118 of file Executors.cxx.
|
inlinestatic |
Definition at line 93 of file Executors.cxx.
|
inlinestatic |
Definition at line 80 of file Executors.cxx.
|
inlinestatic |
Definition at line 378 of file Executors.cxx.
|
inlinestatic |
Definition at line 373 of file Executors.cxx.
Definition at line 663 of file Executors.cxx.