26 static Bool_t Initialize();
30 static Bool_t Import(
const char* name );
33 static void LoadMacro(
const char* name );
36 static void ExecScript(
const char* name,
int argc = 0,
const char** argv = 0 );
39 static Bool_t Exec(
const char* cmd );
42 static const TPyReturn Eval(
const char* expr );
45 static Bool_t Bind( TObject*
object,
const char* label );
51 static Bool_t ObjectProxy_Check( PyObject* pyobject );
52 static Bool_t ObjectProxy_CheckExact( PyObject* pyobject );
55 static Bool_t MethodProxy_Check( PyObject* pyobject );
56 static Bool_t MethodProxy_CheckExact( PyObject* pyobject );
59 static void* ObjectProxy_AsVoidPtr( PyObject* pyobject );
62 static PyObject* ObjectProxy_FromVoidPtr(
63 void* addr,
const char* classname, Bool_t python_owns = kFALSE );
65 virtual ~TPython() { }