swig: use <> for system %includes instead of ""
authorNathan Binkert <nate@binkert.org>
Thu, 30 Dec 2010 17:51:04 +0000 (12:51 -0500)
committerNathan Binkert <nate@binkert.org>
Thu, 30 Dec 2010 17:51:04 +0000 (12:51 -0500)
src/python/swig/core.i
src/python/swig/debug.i
src/python/swig/event.i
src/python/swig/inet.i
src/python/swig/random.i
src/python/swig/range.i
src/python/swig/sim_object.i
src/python/swig/stats.i

index 6a2af8e5a5710c937687e825d62334b00486f0a2..7201b03d83666ca7310244d1f4f7902e599dc8a8 100644 (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);
index 44733eef7394b6bc78b9487efb02f9050da688dc..8486075d3c898ebb22f4508b7b14179ad0660cde 100644 (file)
@@ -35,6 +35,7 @@
 #include "sim/debug.hh"
 %}
 
-%include "stdint.i"
+%include <stdint.i>
+
 %include "base/types.hh"
 %include "sim/debug.hh"
index 9ffea8dc1df427bd7223cba9526713ac93d0b5be..1ea20dc81e9594360e9211d15642c3390e6cd910 100644 (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"
index a937eb6e449e7bffcdd50207c7acd3b0c24962e3..ebe264484e6300878a487e9fea5c584887aac669 100644 (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
index cf64654eab30447748ff9946c3838f0661aef73a..3ca6c39c19718c6b5b2d01d31362b82fbb0a0692 100644 (file)
@@ -30,7 +30,7 @@
 
 %module(package="m5.internal") random
 
-%include "stdint.i"
+%include <stdint.i>
 
 %{
 #include <cstdlib>
index f0cf43be40a84386855969de6844421c9aefe2e2..d8da677bbb21a016be30384d12bfe7678872da6d 100644 (file)
 #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>;
index 76d31241767fb42ec19221e30dee6283bb0f3705..7957182a15a434e64e3e089206deda0e11ab54df 100644 (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"
index 3775976e83b0331188347971c93682f2221f5bc4..fc4a83394d35fae857836858228bc9922d549f99 100644 (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"