1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 08:12:21 +01:00

Change ALLOC_ZVAL() semantics

This commit is contained in:
Zeev Suraski
1999-12-26 21:21:33 +00:00
parent c517633b49
commit 235386b245
25 changed files with 165 additions and 113 deletions

View File

@@ -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);