summaryrefslogtreecommitdiff
path: root/src/python/swig/pyevent.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/python/swig/pyevent.hh')
-rw-r--r--src/python/swig/pyevent.hh5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/python/swig/pyevent.hh b/src/python/swig/pyevent.hh
index f34fbd996..f668c1d9a 100644
--- a/src/python/swig/pyevent.hh
+++ b/src/python/swig/pyevent.hh
@@ -37,9 +37,10 @@
class PythonEvent : public Event
{
private:
- PyObject *object;
-
+ PyObject *eventCode; // PyObject to call to perform event
public:
+ PyObject *object; // PyObject wrapping this PythonEvent
+
PythonEvent(PyObject *obj, Event::Priority priority);
~PythonEvent();