event: fix PythonEvent
authorNathan Binkert <nate@binkert.org>
Thu, 28 Apr 2011 23:45:17 +0000 (16:45 -0700)
committerNathan Binkert <nate@binkert.org>
Thu, 28 Apr 2011 23:45:17 +0000 (16:45 -0700)
order of %includes since they matter for this case

src/python/swig/event.i

index 0aae6bd0a8276cada1ee2c97cdb081dad3953fd5..f8c37bb4f067271a79727946a25120726df04e6a 100644 (file)
 %import "sim/serialize.hh"
 
 %include "base/types.hh"
-%include "python/swig/pyevent.hh"
 %include "sim/eventq.hh"
 
+// This must follow eventq.hh
+%include "python/swig/pyevent.hh"
+
 struct CountedDrainEvent : public Event
 {
     void setCount(int _count);