From: Nathan Binkert Date: Mon, 1 Jun 2009 23:38:57 +0000 (-0700) Subject: swig: %include Event before PythonEvent so python gets the subclass correct. X-Git-Tag: Calvin_Submission~293 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b08c361911a8d56c34c3c07c8b0ee86f00acc382;p=gem5.git 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 --- 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 {