[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:
parent
8178898960
commit
b8c6a5c0d2
2 changed files with 5 additions and 1 deletions
|
|
@ -1,6 +1,10 @@
|
||||||
Version 1.3.32 (in progress)
|
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
|
09/17/2007: olly
|
||||||
[python] Simpler code for SWIG_AsVal_bool() which fixes a "strict
|
[python] Simpler code for SWIG_AsVal_bool() which fixes a "strict
|
||||||
aliasing" warning from GCC - patch from SF#1724581 by Andrew
|
aliasing" warning from GCC - patch from SF#1724581 by Andrew
|
||||||
|
|
|
||||||
|
|
@ -471,7 +471,7 @@ public:
|
||||||
} else if (classmode && in_destructor) {
|
} else if (classmode && in_destructor) {
|
||||||
Printf(f_class_ctors, " \"~\", %s ;\n", mangled_name);
|
Printf(f_class_ctors, " \"~\", %s ;\n", mangled_name);
|
||||||
} else if (classmode && !in_constructor && !in_destructor && !static_member_function) {
|
} 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 ", "");
|
Replaceall(opname, "operator ", "");
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue