diff options
author | Nathan Binkert <nate@binkert.org> | 2009-06-01 16:38:57 -0700 |
---|---|---|
committer | Nathan Binkert <nate@binkert.org> | 2009-06-01 16:38:57 -0700 |
commit | b08c361911a8d56c34c3c07c8b0ee86f00acc382 (patch) | |
tree | 41d72b8fbcdb5d7282f87dc1f329f55f01d0e5dd | |
parent | a0104b6ff6e7a39b068e104504aa1c7c33f1ec23 (diff) | |
download | gem5-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
-rw-r--r-- | src/python/swig/event.i | 2 |
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 { |