mirror of
https://github.com/php/php-src.git
synced 2025-08-16 22:18:50 +02:00
Change ALLOC_ZVAL() semantics
This commit is contained in:
parent
c517633b49
commit
235386b245
25 changed files with 165 additions and 113 deletions
|
@ -500,7 +500,7 @@ JNIEXPORT void JNICALL Java_net_php_reflect_setResultFromObject
|
|||
zend_hash_init(presult->value.obj.properties, 0, NULL, ZVAL_PTR_DTOR, 0);
|
||||
};
|
||||
|
||||
handle = ALLOC_ZVAL();
|
||||
ALLOC_ZVAL(handle);
|
||||
handle->type = IS_LONG;
|
||||
handle->value.lval =
|
||||
zend_list_insert((*jenv)->NewGlobalRef(jenv,value), le_jobject);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue