changeset c8f19b4cd6d5 in /z/repo/m5
details: http://repo.m5sim.org/m5?cmd=changeset;node=c8f19b4cd6d5
description:
        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

diffstat:

1 file changed, 1 insertion(+), 1 deletion(-)
src/python/swig/event.i |    2 +-

diffs (13 lines):

diff -r 3623155c0e95 -r c8f19b4cd6d5 src/python/swig/event.i
--- a/src/python/swig/event.i   Fri May 29 15:30:16 2009 -0700
+++ b/src/python/swig/event.i   Mon Jun 01 16:38:57 2009 -0700
@@ -77,8 +77,8 @@
 %include "std_string.i"
 
 %include "base/types.hh"
+%include "sim/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

Reply via email to