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