19 #ifndef __pythonize_h__
20 #define __pythonize_h__
46 bool appendToSysPath (
const char* newPath);
50 PyObject *importModule (
char *moduleName);
54 PyObject *getNewObjectRef (PyObject *module,
char *
object) {
55 return PyObject_GetAttrString (module,
object);
58 int getPythonInit () {
63 void decref (PyObject *
object) {
68 bool runScript (
char *scriptPath);
71 bool runString (
char *str);
74 PyObject *runFunction(PyObject *
object, PyObject *args);
75 void *runFunctionVoid(PyObject *
object, PyObject *args);
87 bool appendToSysPath (
const char* newPath);
91 PyObject *importModule (
char *moduleName);
95 PyObject *getNewObjectRef (PyObject *module,
char *
object);
100 void decref (PyObject *
object);
103 bool runScript (
char *scriptPath);
106 bool runString (
char *str);
109 PyObject *runFunction (PyObject *
object, PyObject *args);
Definition: pythonize.h:39
Definition: pythonize.h:28