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.
This commit is contained in:
Nathan Binkert
2010-09-09 14:15:40 -07:00
parent 9e45ada171
commit 18ef1bcfa2
6 changed files with 6 additions and 41 deletions

View File

@@ -28,7 +28,7 @@
* Authors: Nathan Binkert
*/
%module trace
%module(package="m5.internal") trace
%{
#include "base/trace.hh"
@@ -68,9 +68,3 @@ extern void clear(const char *string);
extern void ignore(const char *expr);
extern bool enabled;
%}
%wrapper %{
// fix up module name to reflect the fact that it's inside the m5 package
#undef SWIG_name
#define SWIG_name "m5.internal._trace"
%}