summaryrefslogtreecommitdiff
path: root/src/python/swig/core.i
diff options
context:
space:
mode:
authorNathan Binkert <nate@binkert.org>2010-09-09 14:15:40 -0700
committerNathan Binkert <nate@binkert.org>2010-09-09 14:15:40 -0700
commit18ef1bcfa23a4e582e37cb9e806b06e9a6c13b53 (patch)
tree03b3033f9668cb2912779325e89525929b5d8416 /src/python/swig/core.i
parent9e45ada1718b6df9310757fdc7cd78db4695516f (diff)
downloadgem5-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/core.i')
-rw-r--r--src/python/swig/core.i7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/python/swig/core.i b/src/python/swig/core.i
index f48fe9590..6a2af8e5a 100644
--- a/src/python/swig/core.i
+++ b/src/python/swig/core.i
@@ -29,7 +29,7 @@
* Steve Reinhardt
*/
-%module core
+%module(package="m5.internal") core
%{
#include "python/swig/pyobject.hh"
@@ -85,8 +85,3 @@ bool want_warn, warn_verbose;
bool want_info, info_verbose;
bool want_hack, hack_verbose;
-%wrapper %{
-// fix up module name to reflect the fact that it's inside the m5 package
-#undef SWIG_name
-#define SWIG_name "m5.internal._core"
-%}