Use new ZEND_HASH_FOREACH_... API.

This commit is contained in:
Dmitry Stogov 2015-02-10 15:43:12 +03:00
parent 4a875e18fd
commit 1eb4352143
13 changed files with 85 additions and 199 deletions

View file

@ -168,10 +168,6 @@ PHPAPI void * _mysqlnd_plugin_find(const char * const name)
/* {{{ _mysqlnd_plugin_apply_with_argument */
PHPAPI void _mysqlnd_plugin_apply_with_argument(apply_func_arg_t apply_func, void * argument)
{
/* Note: We want to be thread-safe (read-only), so we can use neither
* zend_hash_apply_with_argument nor zend_hash_internal_pointer_reset and
* friends
*/
zval *val;
int result;