summaryrefslogtreecommitdiff
path: root/ext/java/java.c
diff options
context:
space:
mode:
authorHarald Radi <phanto@php.net>2001-08-07 19:02:01 +0000
committerHarald Radi <phanto@php.net>2001-08-07 19:02:01 +0000
commit5e867acb283b74072df90b68e87f5938e6b6c299 (patch)
tree37e41987f74cf12026d448e27d85dcb982c51d40 /ext/java/java.c
parent6916db60e86852b92e243819e0027d7e6a306340 (diff)
downloadphp-git-5e867acb283b74072df90b68e87f5938e6b6c299.tar.gz
TSRM fix
Diffstat (limited to 'ext/java/java.c')
-rw-r--r--ext/java/java.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/ext/java/java.c b/ext/java/java.c
index 2b5d154842..6c7013e926 100644
--- a/ext/java/java.c
+++ b/ext/java/java.c
@@ -552,17 +552,20 @@ static pval _java_getset_property
}
-pval java_get_property_handler(zend_property_reference *property_reference TSRMLS_DC)
+pval java_get_property_handler(zend_property_reference *property_reference)
{
+ TSRMLS_FETCH();
+
pval presult = _java_getset_property(property_reference, 0 TSRMLS_CC);
checkError(&presult);
return presult;
}
-int java_set_property_handler(zend_property_reference *property_reference, pval *value TSRMLS_DC)
+int java_set_property_handler(zend_property_reference *property_reference, pval *value)
{
pval presult;
+ TSRMLS_FETCH();
presult = _java_getset_property(property_reference, _java_makeArray(1, &value TSRMLS_CC) TSRMLS_CC);
return checkError(&presult) ? FAILURE : SUCCESS;