Re-enable use of method suffix for C module
This avoids conflicts with the actual function being wrapped.
This commit is contained in:
parent
f83e2a7de7
commit
81866a0ce2
1 changed files with 3 additions and 0 deletions
|
|
@ -10,6 +10,8 @@
|
|||
#include <ctype.h>
|
||||
#include "swigmod.h"
|
||||
|
||||
extern int UseWrapperSuffix; // from main.cxx
|
||||
|
||||
int SwigType_isbuiltin(SwigType *t) {
|
||||
const char* builtins[] = { "void", "short", "int", "long", "char", "float", "double", "bool", 0 };
|
||||
int i = 0;
|
||||
|
|
@ -1476,6 +1478,7 @@ public:
|
|||
outfile_h(NULL),
|
||||
cxx_class_wrapper_(NULL)
|
||||
{
|
||||
UseWrapperSuffix = 1;
|
||||
}
|
||||
|
||||
~C()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue