From 942ec4b99ef495cde554bf674ed177d061f53b13 Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Tue, 22 Feb 2005 05:40:41 +0000 Subject: [PATCH] Patch from Olly Betts, so that wrappers compile with Zend thread safety enabled. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6975 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- SWIG/Lib/php4/php4run.swg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SWIG/Lib/php4/php4run.swg b/SWIG/Lib/php4/php4run.swg index 09c3ec8d3..00d46414c 100644 --- a/SWIG/Lib/php4/php4run.swg +++ b/SWIG/Lib/php4/php4run.swg @@ -199,7 +199,7 @@ SWIG_ZTS_ConvertResourcePtr(zval *z, void **ptr, swig_type_info *ty TSRMLS_DC) { p = value->ptr; if (type==-1) return -1; - type_name=zend_rsrc_list_get_rsrc_type(z->value.lval); + type_name=zend_rsrc_list_get_rsrc_type(z->value.lval TSRMLS_CC); return SWIG_ZTS_ConvertResourceData(p,type,type_name,ptr,ty TSRMLS_CC); }