swig: use <> for system %includes instead of ""
This commit is contained in:
parent
fe6574ecc0
commit
d6ad7419ff
8 changed files with 16 additions and 14 deletions
|
@ -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);
|
||||
|
|
|
@ -35,6 +35,7 @@
|
|||
#include "sim/debug.hh"
|
||||
%}
|
||||
|
||||
%include "stdint.i"
|
||||
%include <stdint.i>
|
||||
|
||||
%include "base/types.hh"
|
||||
%include "sim/debug.hh"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
|
||||
%module(package="m5.internal") random
|
||||
|
||||
%include "stdint.i"
|
||||
%include <stdint.i>
|
||||
|
||||
%{
|
||||
#include <cstdlib>
|
||||
|
|
|
@ -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>;
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue