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
This commit is contained in:
parent
eec4f1f754
commit
942ec4b99e
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue