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