From 3e319d6e9478189feba92b6e3096fb2287b0a994 Mon Sep 17 00:00:00 2001 From: Nathan Binkert Date: Thu, 28 Apr 2011 16:45:17 -0700 Subject: event: fix PythonEvent order of %includes since they matter for this case --- src/python/swig/event.i | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/python/swig/event.i b/src/python/swig/event.i index 0aae6bd0a..f8c37bb4f 100644 --- a/src/python/swig/event.i +++ b/src/python/swig/event.i @@ -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); -- cgit v1.2.3