diff options
author | Harald Radi <phanto@php.net> | 2001-08-07 19:02:01 +0000 |
---|---|---|
committer | Harald Radi <phanto@php.net> | 2001-08-07 19:02:01 +0000 |
commit | 5e867acb283b74072df90b68e87f5938e6b6c299 (patch) | |
tree | 37e41987f74cf12026d448e27d85dcb982c51d40 /ext/java/java.c | |
parent | 6916db60e86852b92e243819e0027d7e6a306340 (diff) | |
download | php-git-5e867acb283b74072df90b68e87f5938e6b6c299.tar.gz |
TSRM fix
Diffstat (limited to 'ext/java/java.c')
-rw-r--r-- | ext/java/java.c | 7 |
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; |