3#define CPYCPPYY_INTERNAL 1
5#undef CPYCPPYY_INTERNAL
73CPyCppyy::PyResult::operator
char*()
const
76 return (
char*)((
const char*)*
this);
80CPyCppyy::PyResult::operator
const char*()
const
83 if (fPyObject == Py_None)
87 if (PyErr_Occurred()) {
96CPyCppyy::PyResult::operator char()
const
99 std::string s =
operator const char*();
107CPyCppyy::PyResult::operator
long()
const
110 long l = PyLong_AsLong(fPyObject);
112 if (PyErr_Occurred())
119CPyCppyy::PyResult::operator
unsigned long()
const
122 unsigned long ul = PyLong_AsUnsignedLong(fPyObject);
124 if (PyErr_Occurred())
131CPyCppyy::PyResult::operator
double()
const
136 if (PyErr_Occurred())
143CPyCppyy::PyResult::operator
void*()
const
147 if (fPyObject == Py_None)
161 if (fPyObject == Py_None)
164 Py_INCREF(fPyObject);
#define CPyCppyy_PyText_AsString
PyResult & operator=(const PyResult &)
bool CPPInstance_Check(T *object)