mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
need to export var_replace and var_destroy for win32
This commit is contained in:
parent
c467129528
commit
7645343c4a
3 changed files with 6 additions and 6 deletions
|
@ -55,8 +55,8 @@ PHPAPI int php_var_unserialize(zval **rval, const char **p, const char *max, php
|
|||
#define PHP_VAR_UNSERIALIZE_DESTROY(var_hash) \
|
||||
var_destroy(&(var_hash))
|
||||
|
||||
void var_replace(php_unserialize_data_t *var_hash, zval *ozval, zval **nzval);
|
||||
void var_destroy(php_unserialize_data_t *var_hash);
|
||||
PHPAPI void var_replace(php_unserialize_data_t *var_hash, zval *ozval, zval **nzval);
|
||||
PHPAPI void var_destroy(php_unserialize_data_t *var_hash);
|
||||
|
||||
#define PHP_VAR_UNSERIALIZE_ZVAL_CHANGED(var_hash, ozval, nzval) \
|
||||
var_replace((var_hash), (ozval), &(nzval))
|
||||
|
|
|
@ -36,7 +36,7 @@ static inline void var_push(php_unserialize_data_t *var_hashx, zval **rval)
|
|||
var_hash->data[var_hash->used_slots++] = *rval;
|
||||
}
|
||||
|
||||
void var_replace(php_unserialize_data_t *var_hashx, zval *ozval, zval **nzval)
|
||||
PHPAPI void var_replace(php_unserialize_data_t *var_hashx, zval *ozval, zval **nzval)
|
||||
{
|
||||
int i;
|
||||
var_entries *var_hash = var_hashx->first;
|
||||
|
@ -70,7 +70,7 @@ static int var_access(php_unserialize_data_t *var_hashx, int id, zval ***store)
|
|||
return SUCCESS;
|
||||
}
|
||||
|
||||
void var_destroy(php_unserialize_data_t *var_hashx)
|
||||
PHPAPI void var_destroy(php_unserialize_data_t *var_hashx)
|
||||
{
|
||||
void *next;
|
||||
var_entries *var_hash = var_hashx->first;
|
||||
|
|
|
@ -34,7 +34,7 @@ static inline void var_push(php_unserialize_data_t *var_hashx, zval **rval)
|
|||
var_hash->data[var_hash->used_slots++] = *rval;
|
||||
}
|
||||
|
||||
void var_replace(php_unserialize_data_t *var_hashx, zval *ozval, zval **nzval)
|
||||
PHPAPI void var_replace(php_unserialize_data_t *var_hashx, zval *ozval, zval **nzval)
|
||||
{
|
||||
int i;
|
||||
var_entries *var_hash = var_hashx->first;
|
||||
|
@ -68,7 +68,7 @@ static int var_access(php_unserialize_data_t *var_hashx, int id, zval ***store)
|
|||
return SUCCESS;
|
||||
}
|
||||
|
||||
void var_destroy(php_unserialize_data_t *var_hashx)
|
||||
PHPAPI void var_destroy(php_unserialize_data_t *var_hashx)
|
||||
{
|
||||
void *next;
|
||||
var_entries *var_hash = var_hashx->first;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue