From 18ef1bcfa23a4e582e37cb9e806b06e9a6c13b53 Mon Sep 17 00:00:00 2001 From: Nathan Binkert Date: Thu, 9 Sep 2010 14:15:40 -0700 Subject: 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. --- src/python/swig/event.i | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'src/python/swig/event.i') 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" -%} -- cgit v1.2.3