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
This commit is contained in:
Nathan Binkert
2009-06-01 16:38:57 -07:00
parent a0104b6ff6
commit b08c361911

View File

@@ -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
{