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:
@@ -28,7 +28,7 @@
|
||||
* Authors: Nathan Binkert
|
||||
*/
|
||||
|
||||
%module debug
|
||||
%module(package="m5.internal") debug
|
||||
|
||||
%{
|
||||
#include "base/types.hh"
|
||||
@@ -38,9 +38,3 @@
|
||||
%include "stdint.i"
|
||||
%include "base/types.hh"
|
||||
%include "sim/debug.hh"
|
||||
|
||||
%wrapper %{
|
||||
// fix up module name to reflect the fact that it's inside the m5 package
|
||||
#undef SWIG_name
|
||||
#define SWIG_name "m5.internal._debug"
|
||||
%}
|
||||
|
||||
Reference in New Issue
Block a user