Fix the constructor naming for non-shadow forms.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8884 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
a2c99f619d
commit
5944accd5f
1 changed files with 1 additions and 1 deletions
|
|
@ -1931,7 +1931,7 @@ public:
|
|||
String *wname = NewStringf( "_wrap_new_%s", iname );
|
||||
if(!Getattr(n,"sym:overloaded") || !Getattr(n,"sym:nextSibling")) {
|
||||
char *realname = iname ? iname : name;
|
||||
String *php_function_name = Swig_name_member(shadow_classname, realname);
|
||||
String *php_function_name = Swig_name_construct(realname);
|
||||
create_command(realname,Swig_name_wrapper(php_function_name));
|
||||
}
|
||||
Delete(wname);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue