includes: sort all includes

This commit is contained in:
Nathan Binkert
2011-04-15 10:44:06 -07:00
parent 50fda09ac7
commit 39a055645f
526 changed files with 1046 additions and 1080 deletions

View File

@@ -32,12 +32,11 @@
%module(package="m5.internal") core
%{
#include "python/swig/pyobject.hh"
#include "base/misc.hh"
#include "base/random.hh"
#include "base/socket.hh"
#include "base/types.hh"
#include "python/swig/pyobject.hh"
#include "sim/core.hh"
extern const char *compileDate;
@@ -64,8 +63,8 @@ seedRandom(uint64_t seed)
%}
%include <stdint.i>
%include <std_string.i>
%include <stdint.i>
%include "base/types.hh"

View File

@@ -70,15 +70,15 @@
%ignore EventQueue::schedule;
%ignore EventQueue::deschedule;
%include <std_string.i>
%include <stdint.i>
%import "base/fast_alloc.hh"
%import "sim/serialize.hh"
%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
{

View File

@@ -34,8 +34,8 @@
#include "base/inet.hh"
%}
%import <stdint.i>
%import <std_string.i>
%import <stdint.i>
namespace Net {
struct EthAddr

View File

@@ -41,8 +41,8 @@
#if FULL_SYSTEM
#include "dev/etherdevice.hh"
#include "dev/etherobject.hh"
#include "dev/etherint.hh"
#include "dev/etherobject.hh"
#endif
using namespace std;

View File

@@ -33,8 +33,8 @@
%}
// import these files for SWIG to wrap
%include <stdint.i>
%include <std_string.i>
%include <stdint.i>
%include "base/types.hh"
%include "sim/sim_object_params.hh"

View File

@@ -34,14 +34,15 @@
%include <std_string.i>
%{
#include "base/statistics.hh"
#include "base/stats/mysql.hh"
#include "base/stats/text.hh"
#include "base/statistics.hh"
#include "sim/core.hh"
#include "sim/stat_control.hh"
%}
%import "base/stats/types.hh"
%include "base/stats/info.hh"
namespace Stats {

View File

@@ -32,8 +32,8 @@
#include "sim/system.hh"
%}
%import "python/swig/sim_object.i"
%import "enums/MemoryMode.hh"
%import "python/swig/sim_object.i"
class System : public SimObject
{