19 #ifndef PY_CALLBACK_H__ 20 #define PY_CALLBACK_H__ 132 PyObject *make_call (PyObject *args);
145 #endif // PY_CALLBACK_H__ void callback_func1(int arg)
Calls the python function with an integer.
Class to write data from a Gzip compressed file.
Class to read data from a Gzip compressed file.
void put_state(ogzstream &out) const
Saves the callback and it's arguments to file.
static PyObject * instance
When restoring a callback from file, instance has to point to the python instance (module or class) c...
bool callback_func0ret()
Calls the python function and returns bool.
bool get_state(igzstream &in)
Restores the callback from a file.
~py_callback()
Destructor.
void callback_func0()
Calls the python function without arguments.
Stores the C++ <-> Python callback binding.
Declares the igzstream, ogzstream and fileops classes.
py_callback()
Default ctor,.