summaryrefslogtreecommitdiff
path: root/src/python/swig/random.i
diff options
context:
space:
mode:
Diffstat (limited to 'src/python/swig/random.i')
-rw-r--r--src/python/swig/random.i8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/python/swig/random.i b/src/python/swig/random.i
index d9ea2a404..cf64654ea 100644
--- a/src/python/swig/random.i
+++ b/src/python/swig/random.i
@@ -28,7 +28,7 @@
* Authors: Nathan Binkert
*/
-%module random
+%module(package="m5.internal") random
%include "stdint.i"
@@ -47,9 +47,3 @@ seed(uint64_t seed)
%inline %{
extern void seed(uint64_t seed);
%}
-
-%wrapper %{
-// fix up module name to reflect the fact that it's inside the m5 package
-#undef SWIG_name
-#define SWIG_name "m5.internal._random"
-%}