From 5944accd5f678001895aac7c5b27385ac55e5e10 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/SWIG@8884 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- Source/Modules/php4.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Modules/php4.cxx b/Source/Modules/php4.cxx index f29edbbbd..91c316000 100644 --- a/Source/Modules/php4.cxx +++ b/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);