summaryrefslogtreecommitdiff
path: root/src/python/swig/event.i
diff options
context:
space:
mode:
Diffstat (limited to 'src/python/swig/event.i')
-rw-r--r--src/python/swig/event.i8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/python/swig/event.i b/src/python/swig/event.i
index 1e3b26a96..9ffea8dc1 100644
--- a/src/python/swig/event.i
+++ b/src/python/swig/event.i
@@ -28,7 +28,7 @@
* Authors: Nathan Binkert
*/
-%module event
+%module(package="m5.internal") event
%{
#include "base/types.hh"
@@ -102,9 +102,3 @@ class SimLoopExitEvent : public Event
}
SimLoopExitEvent *simulate(Tick num_cycles = MaxTick);
void exitSimLoop(const std::string &message, int exit_code);
-
-%wrapper %{
-// fix up module name to reflect the fact that it's inside the m5 package
-#undef SWIG_name
-#define SWIG_name "m5.internal._event"
-%}