From ccba0834fb963006b4b97ccfb1a61467042b647c Mon Sep 17 00:00:00 2001 From: Kevin Ruland Date: Thu, 23 Feb 2006 21:49:01 +0000 Subject: [PATCH] Fix the constructor naming for non-shadow forms. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8884 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- SWIG/Source/Modules/php4.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SWIG/Source/Modules/php4.cxx b/SWIG/Source/Modules/php4.cxx index f29edbbbd..91c316000 100644 --- a/SWIG/Source/Modules/php4.cxx +++ b/SWIG/Source/Modules/php4.cxx @@ -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);