diff options
author | Andi Gutmans <andi@php.net> | 2000-03-24 11:16:24 +0000 |
---|---|---|
committer | Andi Gutmans <andi@php.net> | 2000-03-24 11:16:24 +0000 |
commit | 5b2bad3825110d631f190019940ca4445e340770 (patch) | |
tree | fa1e7d9ece125b9d1dc4dea69ff651dff364a6a0 /main/php_variables.c | |
parent | 6db18997bbcd4e930cb85d7f8668b5813e6cd0e0 (diff) | |
download | php-git-5b2bad3825110d631f190019940ca4445e340770.tar.gz |
- Nuke hash_*_ptr() functions
Diffstat (limited to 'main/php_variables.c')
-rw-r--r-- | main/php_variables.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/php_variables.c b/main/php_variables.c index 53aead4f6d..8f612b3456 100644 --- a/main/php_variables.c +++ b/main/php_variables.c @@ -166,7 +166,7 @@ PHPAPI void php_register_variable_ex(char *var, zval *val, pval *track_vars_arra if (!index) { zend_hash_next_index_insert(symtable1, &gpc_element, sizeof(zval *), (void **) &gpc_element_p); } else { - zend_hash_update_ptr(symtable1, index, index_len+1, gpc_element, sizeof(zval *), (void **) &gpc_element_p); + zend_hash_update(symtable1, index, index_len+1, &gpc_element, sizeof(zval *), (void **) &gpc_element_p); } if (!top_gpc_p) { top_gpc_p = gpc_element_p; @@ -177,7 +177,7 @@ PHPAPI void php_register_variable_ex(char *var, zval *val, pval *track_vars_arra if (top_gpc_p) { if (symtable2) { - zend_hash_update_ptr(symtable2, var, var_len+1, *top_gpc_p, sizeof(zval *), NULL); + zend_hash_update(symtable2, var, var_len+1, top_gpc_p, sizeof(zval *), NULL); (*top_gpc_p)->refcount++; } } |