mirror of
https://github.com/php/php-src.git
synced 2024-11-24 18:34:21 +08:00
Fix ZTS build.
This commit is contained in:
parent
442669055b
commit
2983993b59
@ -689,7 +689,8 @@ JNIEXPORT void JNICALL Java_net_php_reflect_setResultFromObject
|
||||
/* wrapper the java object in a pval object */
|
||||
pval *presult = (pval*)(long)result;
|
||||
pval *handle;
|
||||
|
||||
TSRMLS_FETCH();
|
||||
|
||||
if (presult->type != IS_OBJECT) {
|
||||
object_init_ex(presult, &java_class_entry);
|
||||
presult->is_ref=1;
|
||||
|
@ -689,7 +689,8 @@ JNIEXPORT void JNICALL Java_net_php_reflect_setResultFromObject
|
||||
/* wrapper the java object in a pval object */
|
||||
pval *presult = (pval*)(long)result;
|
||||
pval *handle;
|
||||
|
||||
TSRMLS_FETCH();
|
||||
|
||||
if (presult->type != IS_OBJECT) {
|
||||
object_init_ex(presult, &java_class_entry);
|
||||
presult->is_ref=1;
|
||||
|
Loading…
Reference in New Issue
Block a user