diff --git a/Source/Modules/c.cxx b/Source/Modules/c.cxx index e9d8f10ec..0a1d549db 100644 --- a/Source/Modules/c.cxx +++ b/Source/Modules/c.cxx @@ -1152,6 +1152,10 @@ ready: * ---------------------------------------------------------------------- */ virtual int functionWrapper(Node *n) { + if (!Getattr(n, "sym:overloaded")) { + if (!addSymbol(Getattr(n, "sym:name"), n)) + return SWIG_ERROR; + } if (CPlusPlus) { functionWrapperCPPSpecific(n);