[ocaml] Fix renaming of overloaded methods in the method_table -

my patch from SF#940399.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9939 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Olly Betts 2007-09-18 00:18:39 +00:00
commit b8c6a5c0d2
2 changed files with 5 additions and 1 deletions

View file

@ -1,6 +1,10 @@
Version 1.3.32 (in progress)
============================
09/17/2007: olly
[ocaml] Fix renaming of overloaded methods in the method_table -
my patch from SF#940399.
09/17/2007: olly
[python] Simpler code for SWIG_AsVal_bool() which fixes a "strict
aliasing" warning from GCC - patch from SF#1724581 by Andrew

View file

@ -471,7 +471,7 @@ public:
} else if (classmode && in_destructor) {
Printf(f_class_ctors, " \"~\", %s ;\n", mangled_name);
} else if (classmode && !in_constructor && !in_destructor && !static_member_function) {
String *opname = Copy(Getattr(n, "name"));
String *opname = Copy(Getattr(n, "memberfunctionHandler:sym:name"));
Replaceall(opname, "operator ", "");