projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a0104b6
)
swig: %include Event before PythonEvent so python gets the subclass correct.
author
Nathan Binkert
<nate@binkert.org>
Mon, 1 Jun 2009 23:38:57 +0000
(16:38 -0700)
committer
Nathan Binkert
<nate@binkert.org>
Mon, 1 Jun 2009 23:38:57 +0000
(16:38 -0700)
Before this change, some versions of swig would cause PythonEvent to be
derived from object instead of Event
src/python/swig/event.i
patch
|
blob
|
history
diff --git
a/src/python/swig/event.i
b/src/python/swig/event.i
index 99fde2d5bdee3eed1be692e2fc879dcb2d84e784..1e3b26a9670ca5ee5e518d69a994926bddb678ec 100644
(file)
--- 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
{