diff options
| author | Thies C. Arntzen <thies@php.net> | 2001-07-09 09:03:06 +0000 |
|---|---|---|
| committer | Thies C. Arntzen <thies@php.net> | 2001-07-09 09:03:06 +0000 |
| commit | 1be0975dff12f2472e4737172bf02568b7656f69 (patch) | |
| tree | 912a46102ed8b3c5e5fe726c222be99bccee0200 /ext/standard/php_var.h | |
| parent | 6708768c074d424278706216fa3f6b812680f10b (diff) | |
| download | php-git-1be0975dff12f2472e4737172bf02568b7656f69.tar.gz | |
added test for serialize
changed var.c to use Z_* macros
Diffstat (limited to 'ext/standard/php_var.h')
| -rw-r--r-- | ext/standard/php_var.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/standard/php_var.h b/ext/standard/php_var.h index 86bd50c549..fd77d92045 100644 --- a/ext/standard/php_var.h +++ b/ext/standard/php_var.h @@ -25,13 +25,13 @@ PHP_FUNCTION(var_dump); PHP_FUNCTION(serialize); PHP_FUNCTION(unserialize); -void php_var_dump(pval **struc, int level); +void php_var_dump(zval **struc, int level); /* typdef HashTable php_serialize_data_t; */ #define php_serialize_data_t HashTable -PHPAPI void php_var_serialize(pval *buf, pval **struc, php_serialize_data_t *var_hash); -PHPAPI int php_var_unserialize(pval **rval, const char **p, const char *max, php_serialize_data_t *var_hash); +PHPAPI void php_var_serialize(zval *buf, zval **struc, php_serialize_data_t *var_hash); +PHPAPI int php_var_unserialize(zval **rval, const char **p, const char *max, php_serialize_data_t *var_hash); #define PHP_VAR_SERIALIZE_INIT(var_hash) \ zend_hash_init(&(var_hash),10,NULL,NULL,0) |
