changeset 2844d69d03e2 in /z/repo/m5 details: http://repo.m5sim.org/m5?cmd=changeset;node=2844d69d03e2 description: swig: use <> for system %includes instead of ""
diffstat: src/python/swig/core.i | 5 +++-- src/python/swig/debug.i | 3 ++- src/python/swig/event.i | 4 ++-- src/python/swig/inet.i | 4 ++-- src/python/swig/random.i | 2 +- src/python/swig/range.i | 4 ++-- src/python/swig/sim_object.i | 4 ++-- src/python/swig/stats.i | 4 ++-- 8 files changed, 16 insertions(+), 14 deletions(-) diffs (112 lines): diff -r 15553b536bd6 -r 2844d69d03e2 src/python/swig/core.i --- a/src/python/swig/core.i Thu Dec 30 12:53:56 2010 -0500 +++ b/src/python/swig/core.i Thu Dec 30 12:51:04 2010 -0500 @@ -56,8 +56,9 @@ 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); diff -r 15553b536bd6 -r 2844d69d03e2 src/python/swig/debug.i --- a/src/python/swig/debug.i Thu Dec 30 12:53:56 2010 -0500 +++ b/src/python/swig/debug.i Thu Dec 30 12:51:04 2010 -0500 @@ -35,6 +35,7 @@ #include "sim/debug.hh" %} -%include "stdint.i" +%include <stdint.i> + %include "base/types.hh" %include "sim/debug.hh" diff -r 15553b536bd6 -r 2844d69d03e2 src/python/swig/event.i --- a/src/python/swig/event.i Thu Dec 30 12:53:56 2010 -0500 +++ b/src/python/swig/event.i Thu Dec 30 12:51:04 2010 -0500 @@ -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" diff -r 15553b536bd6 -r 2844d69d03e2 src/python/swig/inet.i --- a/src/python/swig/inet.i Thu Dec 30 12:53:56 2010 -0500 +++ b/src/python/swig/inet.i Thu Dec 30 12:51:04 2010 -0500 @@ -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 diff -r 15553b536bd6 -r 2844d69d03e2 src/python/swig/random.i --- a/src/python/swig/random.i Thu Dec 30 12:53:56 2010 -0500 +++ b/src/python/swig/random.i Thu Dec 30 12:51:04 2010 -0500 @@ -30,7 +30,7 @@ %module(package="m5.internal") random -%include "stdint.i" +%include <stdint.i> %{ #include <cstdlib> diff -r 15553b536bd6 -r 2844d69d03e2 src/python/swig/range.i --- a/src/python/swig/range.i Thu Dec 30 12:53:56 2010 -0500 +++ b/src/python/swig/range.i Thu Dec 30 12:51:04 2010 -0500 @@ -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>; diff -r 15553b536bd6 -r 2844d69d03e2 src/python/swig/sim_object.i --- a/src/python/swig/sim_object.i Thu Dec 30 12:53:56 2010 -0500 +++ b/src/python/swig/sim_object.i Thu Dec 30 12:51:04 2010 -0500 @@ -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" diff -r 15553b536bd6 -r 2844d69d03e2 src/python/swig/stats.i --- a/src/python/swig/stats.i Thu Dec 30 12:53:56 2010 -0500 +++ b/src/python/swig/stats.i Thu Dec 30 12:51:04 2010 -0500 @@ -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" _______________________________________________ m5-dev mailing list m5-dev@m5sim.org http://m5sim.org/mailman/listinfo/m5-dev