From b08c361911a8d56c34c3c07c8b0ee86f00acc382 Mon Sep 17 00:00:00 2001 From: Nathan Binkert Date: Mon, 1 Jun 2009 16:38:57 -0700 Subject: 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 --- src/python/swig/event.i | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/python/swig/event.i b/src/python/swig/event.i index 99fde2d5b..1e3b26a96 100644 --- a/src/python/swig/event.i +++ b/src/python/swig/event.i @@ -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 { -- cgit v1.2.3