summaryrefslogtreecommitdiff
path: root/ext/rpc/java/java.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/rpc/java/java.c')
-rw-r--r--ext/rpc/java/java.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/ext/rpc/java/java.c b/ext/rpc/java/java.c
index 2b5d154842..6c7013e926 100644
--- a/ext/rpc/java/java.c
+++ b/ext/rpc/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;