summaryrefslogtreecommitdiff
path: root/src/python/swig
diff options
context:
space:
mode:
authorNathan Binkert <nate@binkert.org>2009-05-17 14:34:52 -0700
committerNathan Binkert <nate@binkert.org>2009-05-17 14:34:52 -0700
commit8d2e51c7f52670055ffe97e221302561b87015a2 (patch)
tree792d211d603bd9155dee00861d1ce92d3ba2f09d /src/python/swig
parent709d859530325f28b904001f5a55dbdec2bad199 (diff)
downloadgem5-8d2e51c7f52670055ffe97e221302561b87015a2.tar.xz
includes: sort includes again
Diffstat (limited to 'src/python/swig')
-rw-r--r--src/python/swig/core.i2
-rw-r--r--src/python/swig/event.i5
-rw-r--r--src/python/swig/pyobject.hh2
-rw-r--r--src/python/swig/sim_object.i1
4 files changed, 6 insertions, 4 deletions
diff --git a/src/python/swig/core.i b/src/python/swig/core.i
index eefe106a4..1ff2d9fe5 100644
--- a/src/python/swig/core.i
+++ b/src/python/swig/core.i
@@ -36,8 +36,8 @@
#include "base/misc.hh"
#include "base/socket.hh"
-#include "sim/core.hh"
#include "base/types.hh"
+#include "sim/core.hh"
#include "sim/startup.hh"
extern const char *compileDate;
diff --git a/src/python/swig/event.i b/src/python/swig/event.i
index c09f12016..99fde2d5b 100644
--- a/src/python/swig/event.i
+++ b/src/python/swig/event.i
@@ -31,8 +31,8 @@
%module event
%{
-#include "python/swig/pyevent.hh"
#include "base/types.hh"
+#include "python/swig/pyevent.hh"
#include "sim/eventq.hh"
#include "sim/sim_events.hh"
#include "sim/sim_exit.hh"
@@ -75,9 +75,10 @@
%include "stdint.i"
%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
{
diff --git a/src/python/swig/pyobject.hh b/src/python/swig/pyobject.hh
index d11dc323c..bc3177f6f 100644
--- a/src/python/swig/pyobject.hh
+++ b/src/python/swig/pyobject.hh
@@ -30,8 +30,8 @@
#include <Python.h>
-#include "cpu/base.hh"
#include "base/types.hh"
+#include "cpu/base.hh"
#include "sim/serialize.hh"
#include "sim/sim_object.hh"
#include "sim/system.hh"
diff --git a/src/python/swig/sim_object.i b/src/python/swig/sim_object.i
index 840aea998..c98e44ec2 100644
--- a/src/python/swig/sim_object.i
+++ b/src/python/swig/sim_object.i
@@ -37,6 +37,7 @@
// import these files for SWIG to wrap
%include "stdint.i"
%include "std_string.i"
+
%include "base/types.hh"
class BaseCPU;