summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNathan Binkert <nate@binkert.org>2009-06-01 16:38:57 -0700
committerNathan Binkert <nate@binkert.org>2009-06-01 16:38:57 -0700
commitb08c361911a8d56c34c3c07c8b0ee86f00acc382 (patch)
tree41d72b8fbcdb5d7282f87dc1f329f55f01d0e5dd /src
parenta0104b6ff6e7a39b068e104504aa1c7c33f1ec23 (diff)
downloadgem5-b08c361911a8d56c34c3c07c8b0ee86f00acc382.tar.xz
swig: %include Event before PythonEvent so python gets the subclass correct.
Before this change, some versions of swig would cause PythonEvent to be derived from object instead of Event
Diffstat (limited to 'src')
-rw-r--r--src/python/swig/event.i2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/python/swig/event.i b/src/python/swig/event.i
index 99fde2d5b..1e3b26a96 100644
--- a/src/python/swig/event.i
+++ b/src/python/swig/event.i
@@ -77,8 +77,8 @@
%include "std_string.i"
%include "base/types.hh"
-%include "python/swig/pyevent.hh"
%include "sim/eventq.hh"
+%include "python/swig/pyevent.hh"
struct CountedDrainEvent : public Event
{