Classes | |
struct | PyError_t |
struct | PyOperators |
Enumerations | |
enum | ArgPreference { kNone , kPointer , kReference , kValue } |
Definition at line 221 of file Utility.cxx.
bool CPyCppyy::Utility::AddToClass | ( | PyObject * | pyclass, |
const char * | label, | ||
PyCallable * | pyfunc ) |
Definition at line 237 of file Utility.cxx.
bool CPyCppyy::Utility::AddToClass | ( | PyObject * | pyclass, |
const char * | label, | ||
PyCFunction | cfunc, | ||
int | flags = METH_VARARGS ) |
Definition at line 186 of file Utility.cxx.
std::string CPyCppyy::Utility::ClassName | ( | PyObject * | pyobj | ) |
Definition at line 1002 of file Utility.cxx.
void CPyCppyy::Utility::ConstructCallbackPreamble | ( | const std::string & | retType, |
const std::vector< std::string > & | argtypes, | ||
std::ostringstream & | code ) |
Definition at line 634 of file Utility.cxx.
void CPyCppyy::Utility::ConstructCallbackReturn | ( | const std::string & | retType, |
int | nArgs, | ||
std::ostringstream & | code ) |
Definition at line 700 of file Utility.cxx.
std::string CPyCppyy::Utility::ConstructTemplateArgs | ( | PyObject * | pyname, |
PyObject * | tpArgs, | ||
PyObject * | args = nullptr, | ||
ArgPreference | pref = kNone, | ||
int | argoff = 0, | ||
int * | pcnt = nullptr ) |
Definition at line 585 of file Utility.cxx.
Definition at line 1083 of file Utility.cxx.
CPyCppyy::PyCallable * CPyCppyy::Utility::FindBinaryOperator | ( | const std::string & | lcname, |
const std::string & | rcname, | ||
const char * | op, | ||
Cppyy::TCppScope_t | scope = 0, | ||
bool | reverse = false ) |
Definition at line 319 of file Utility.cxx.
CPyCppyy::PyCallable * CPyCppyy::Utility::FindBinaryOperator | ( | PyObject * | left, |
PyObject * | right, | ||
const char * | op, | ||
Cppyy::TCppScope_t | scope = 0 ) |
Definition at line 298 of file Utility.cxx.
CPyCppyy::PyCallable * CPyCppyy::Utility::FindUnaryOperator | ( | PyObject * | pyclass, |
const char * | op ) |
Definition at line 283 of file Utility.cxx.
PyObject * CPyCppyy::Utility::FuncPtr2StdFunction | ( | const std::string & | retType, |
const std::string & | signature, | ||
void * | address ) |
Definition at line 737 of file Utility.cxx.
Py_ssize_t CPyCppyy::Utility::GetBuffer | ( | PyObject * | pyobject, |
char | tc, | ||
int | size, | ||
void *& | buf, | ||
bool | check = true ) |
Definition at line 813 of file Utility.cxx.
bool CPyCppyy::Utility::IncludePython | ( | ) |
Definition at line 1172 of file Utility.cxx.
bool CPyCppyy::Utility::InitProxy | ( | PyObject * | module, |
PyTypeObject * | pytype, | ||
const char * | name ) |
Definition at line 793 of file Utility.cxx.
Definition at line 1023 of file Utility.cxx.
std::string CPyCppyy::Utility::MapOperatorName | ( | const std::string & | name, |
bool | bTakesParames, | ||
bool * | stubbed = nullptr ) |
Definition at line 937 of file Utility.cxx.
PyObject * CPyCppyy::Utility::PyErr_Occurred_WithGIL | ( | ) |
Definition at line 1063 of file Utility.cxx.
void CPyCppyy::Utility::SetDetailedException | ( | std::vector< PyError_t > & | errors, |
PyObject * | topmsg, | ||
PyObject * | defexc ) |
Definition at line 1095 of file Utility.cxx.