diff options
author | Nathan Binkert <nate@binkert.org> | 2010-09-09 14:15:40 -0700 |
---|---|---|
committer | Nathan Binkert <nate@binkert.org> | 2010-09-09 14:15:40 -0700 |
commit | 18ef1bcfa23a4e582e37cb9e806b06e9a6c13b53 (patch) | |
tree | 03b3033f9668cb2912779325e89525929b5d8416 /src/python/swig/stats.i | |
parent | 9e45ada1718b6df9310757fdc7cd78db4695516f (diff) | |
download | gem5-18ef1bcfa23a4e582e37cb9e806b06e9a6c13b53.tar.xz |
swig: don't override SWIG_name anymore
It doesn't appear to be necessary and it is somewhat odd. I'm pretty
sure that the package parameter to %module does whatever this might
have been before. It's necessary in future revisions anyway.
Diffstat (limited to 'src/python/swig/stats.i')
-rw-r--r-- | src/python/swig/stats.i | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/python/swig/stats.i b/src/python/swig/stats.i index fe10b358f..3775976e8 100644 --- a/src/python/swig/stats.i +++ b/src/python/swig/stats.i @@ -28,7 +28,7 @@ * Authors: Nathan Binkert */ -%module stats +%module(package="m5.internal") stats %include "std_list.i" %include "std_string.i" @@ -60,9 +60,3 @@ void reset(); std::list<Info *> &statsList(); /* namespace Stats */ } - -%wrapper %{ -// fix up module name to reflect the fact that it's inside the m5 package -#undef SWIG_name -#define SWIG_name "m5.internal._stats" -%} |