1#ifndef CPYCPPYY_TPYTHON
2#define CPYCPPYY_TPYTHON
14#pragma warning (disable : 4275)
15#pragma warning (disable : 4251)
16#pragma warning (disable : 4800)
23#ifdef _FILE_OFFSET_BITS
24#undef _FILE_OFFSET_BITS
57#ifndef CPYCPPYY_PARAMETER
58#define CPYCPPYY_PARAMETER
99 virtual PyObject* FromMemory(
void* address);
159 void* addr,
const std::string& classname,
bool python_owns =
false);
winID h TVirtualViewer3D TVirtualGLPainter p
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void value
#define CPYCPPYY_CLASS_EXTERN
virtual bool SetArg(PyObject *, Parameter &, CallContext *=nullptr)=0
virtual PyObject * Execute(Cppyy::TCppMethod_t, Cppyy::TCppObject_t, CallContext *)=0
Set of helper functions that are invoked from the pythonizors, on the Python side.
CPYCPPYY_EXTERN bool UnregisterExecutor(const std::string &name)
CPYCPPYY_EXTERN bool Instance_CheckExact(PyObject *pyobject)
CPYCPPYY_EXTERN void Prompt()
CPYCPPYY_EXTERN bool Overload_Check(PyObject *pyobject)
CPYCPPYY_EXTERN bool Overload_CheckExact(PyObject *pyobject)
CPYCPPYY_EXTERN bool Import(const std::string &name)
Executor *(* ExecutorFactory_t)()
CPYCPPYY_EXTERN void ExecScript(const std::string &name, const std::vector< std::string > &args)
CPYCPPYY_EXTERN bool Instance_IsLively(PyObject *pyobject)
CPYCPPYY_EXTERN bool Instance_Check(PyObject *pyobject)
CPYCPPYY_EXTERN bool RegisterConverter(const std::string &name, ConverterFactory_t)
CPYCPPYY_EXTERN PyObject * Instance_FromVoidPtr(void *addr, const std::string &classname, bool python_owns=false)
CPYCPPYY_EXTERN bool RegisterExecutor(const std::string &name, ExecutorFactory_t)
CPYCPPYY_EXTERN bool Scope_CheckExact(PyObject *pyobject)
CPYCPPYY_EXTERN Executor * CreateExecutor(const std::string &name)
CPYCPPYY_EXTERN void * Instance_AsVoidPtr(PyObject *pyobject)
CPYCPPYY_EXTERN bool Scope_Check(PyObject *pyobject)
CPYCPPYY_EXTERN void * CallVoidP(Cppyy::TCppMethod_t, Cppyy::TCppObject_t, CallContext *)
CPYCPPYY_EXTERN bool Exec(const std::string &cmd)
CPYCPPYY_EXTERN void DestroyConverter(Converter *p)
Converter *(* ConverterFactory_t)(Py_ssize_t *dims)
CPYCPPYY_EXTERN const PyResult Eval(const std::string &expr)
CPYCPPYY_EXTERN bool UnregisterConverter(const std::string &name)
CPYCPPYY_EXTERN Converter * CreateConverter(const std::string &name, Py_ssize_t *dims=nullptr)
union CPyCppyy::Parameter::Value fValue
unsigned long long fULLong