changeset f2ec56fd42c0 in /z/repo/m5
details: http://repo.m5sim.org/m5?cmd=changeset;node=f2ec56fd42c0
description:
event: fix PythonEvent
order of %includes since they matter for this case
diffstat:
src/python/swig/event.i | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (15 lines):
diff -r b02bca5aed04 -r f2ec56fd42c0 src/python/swig/event.i
--- a/src/python/swig/event.i Mon Apr 25 14:18:08 2011 -0700
+++ b/src/python/swig/event.i Thu Apr 28 16:45:17 2011 -0700
@@ -77,8 +77,10 @@
%import "sim/serialize.hh"
%include "base/types.hh"
+%include "sim/eventq.hh"
+
+// This must follow eventq.hh
%include "python/swig/pyevent.hh"
-%include "sim/eventq.hh"
struct CountedDrainEvent : public Event
{
_______________________________________________
m5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/m5-dev