Re-enable use of method suffix for C module

This avoids conflicts with the actual function being wrapped.
This commit is contained in:
Vadim Zeitlin 2022-09-17 14:46:38 +02:00
commit 81866a0ce2

View file

@ -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()