summaryrefslogtreecommitdiff
path: root/src/python/swig/stats.i
diff options
context:
space:
mode:
Diffstat (limited to 'src/python/swig/stats.i')
-rw-r--r--src/python/swig/stats.i8
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"
-%}