diff options
| author | Shane Caraveo <shane@php.net> | 2002-08-04 23:45:38 +0000 | 
|---|---|---|
| committer | Shane Caraveo <shane@php.net> | 2002-08-04 23:45:38 +0000 | 
| commit | 7645343c4a93c26aeb6720c8c57ae77c720bcd64 (patch) | |
| tree | d3e282c5de5e6aabf0a339f68ecb3043106a877d /ext | |
| parent | c4671295288cec0a86782d868f20aa3c83eb5a42 (diff) | |
| download | php-git-7645343c4a93c26aeb6720c8c57ae77c720bcd64.tar.gz | |
need to export var_replace and var_destroy for win32
Diffstat (limited to 'ext')
| -rw-r--r-- | ext/standard/php_var.h | 4 | ||||
| -rw-r--r-- | ext/standard/var_unserializer.c | 4 | ||||
| -rw-r--r-- | ext/standard/var_unserializer.re | 4 | 
3 files changed, 6 insertions, 6 deletions
| diff --git a/ext/standard/php_var.h b/ext/standard/php_var.h index 50bd124d61..55d0a8c84b 100644 --- a/ext/standard/php_var.h +++ b/ext/standard/php_var.h @@ -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)) diff --git a/ext/standard/var_unserializer.c b/ext/standard/var_unserializer.c index 428321d366..95667c3384 100644 --- a/ext/standard/var_unserializer.c +++ b/ext/standard/var_unserializer.c @@ -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; diff --git a/ext/standard/var_unserializer.re b/ext/standard/var_unserializer.re index 859809e3aa..457c5bf83d 100644 --- a/ext/standard/var_unserializer.re +++ b/ext/standard/var_unserializer.re @@ -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; | 
