summaryrefslogtreecommitdiff
path: root/src/python
diff options
context:
space:
mode:
authorNathan Binkert <nate@binkert.org>2011-04-28 16:45:17 -0700
committerNathan Binkert <nate@binkert.org>2011-04-28 16:45:17 -0700
commit3e319d6e9478189feba92b6e3096fb2287b0a994 (patch)
tree625ac52940b551986e655dfab7102ad3c06b22c7 /src/python
parent3d93439ee029b4e2bb0b294a0243fa66c3b30a3a (diff)
downloadgem5-3e319d6e9478189feba92b6e3096fb2287b0a994.tar.xz
event: fix PythonEvent
order of %includes since they matter for this case
Diffstat (limited to 'src/python')
-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);