summaryrefslogtreecommitdiff
path: root/src/python/swig
diff options
context:
space:
mode:
Diffstat (limited to 'src/python/swig')
-rw-r--r--src/python/swig/event.i4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/python/swig/event.i b/src/python/swig/event.i
index 0aae6bd0a..f8c37bb4f 100644
--- a/src/python/swig/event.i
+++ b/src/python/swig/event.i
@@ -77,9 +77,11 @@
%import "sim/serialize.hh"
%include "base/types.hh"
-%include "python/swig/pyevent.hh"
%include "sim/eventq.hh"
+// This must follow eventq.hh
+%include "python/swig/pyevent.hh"
+
struct CountedDrainEvent : public Event
{
void setCount(int _count);