projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d93439
)
event: fix PythonEvent
author
Nathan Binkert
<nate@binkert.org>
Thu, 28 Apr 2011 23:45:17 +0000
(16:45 -0700)
committer
Nathan Binkert
<nate@binkert.org>
Thu, 28 Apr 2011 23:45:17 +0000
(16:45 -0700)
order of %includes since they matter for this case
src/python/swig/event.i
patch
|
blob
|
history
diff --git
a/src/python/swig/event.i
b/src/python/swig/event.i
index 0aae6bd0a8276cada1ee2c97cdb081dad3953fd5..f8c37bb4f067271a79727946a25120726df04e6a 100644
(file)
--- 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);