From a2289e695519efdc59feed925cf4db09ff157632 Mon Sep 17 00:00:00 2001 From: Kevin Ruland Date: Sat, 31 Dec 2005 03:01:56 +0000 Subject: [PATCH] Extract the class name in CreateZendListDestructor in a more robust manner - improves zend_error message. (Thanks Ollie Betts) git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8145 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 277402cca..53d629d73 100644 --- a/SWIG/Source/Modules/php4.cxx +++ b/SWIG/Source/Modules/php4.cxx @@ -1918,7 +1918,7 @@ public: //virtual int destructorHandler(Node *n) { //} int CreateZendListDestructor(Node *n) { - String *name = GetChar(n,"name"); + String *name = GetChar(Swig_methodclass(n),"name"); String *iname = GetChar(n,"sym:name"); SwigType *d = Getattr(n,"type"); ParmList *l = Getattr(n,"parms");