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:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user