swig: use <> for system %includes instead of ""

This commit is contained in:
Nathan Binkert 2010-12-30 12:51:04 -05:00
parent fe6574ecc0
commit d6ad7419ff
8 changed files with 16 additions and 14 deletions

View file

@ -56,8 +56,9 @@ const bool flag_TRACING_ON = TRACING_ON;
inline void disableAllListeners() { ListenSocket::disableAll(); }
%}
%include "stdint.i"
%include "std_string.i"
%include <stdint.i>
%include <std_string.i>
%include "base/types.hh"
void setOutputDir(const std::string &dir);

View file

@ -35,6 +35,7 @@
#include "sim/debug.hh"
%}
%include "stdint.i"
%include <stdint.i>
%include "base/types.hh"
%include "sim/debug.hh"

View file

@ -73,8 +73,8 @@
%import "base/fast_alloc.hh"
%import "sim/serialize.hh"
%include "stdint.i"
%include "std_string.i"
%include <stdint.i>
%include <std_string.i>
%include "base/types.hh"
%include "sim/eventq.hh"

View file

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

View file

@ -30,7 +30,7 @@
%module(package="m5.internal") random
%include "stdint.i"
%include <stdint.i>
%{
#include <cstdlib>

View file

@ -35,11 +35,11 @@
#include "base/types.hh"
%}
%include "stdint.i"
%include "base/types.hh"
%include <stdint.i>
%rename(assign) *::operator=;
%include "base/range.hh"
%include "base/types.hh"
%template(AddrRange) Range<Addr>;
%template(TickRange) Range<Tick>;

View file

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

View file

@ -30,8 +30,8 @@
%module(package="m5.internal") stats
%include "std_list.i"
%include "std_string.i"
%include <std_list.i>
%include <std_string.i>
%{
#include "base/statistics.hh"