event: fix PythonEvent

order of %includes since they matter for this case
This commit is contained in:
Nathan Binkert 2011-04-28 16:45:17 -07:00
parent 3d93439ee0
commit 3e319d6e94

View file

@ -77,9 +77,11 @@
%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);