cvs: php4 /ext/standard php_var.h var.c

From: Date: Sun, 01 Jul 2001 20:18:53 +0000
Subject: cvs: php4 /ext/standard php_var.h var.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-6058@lists.php.net to get a copy of this message
dbeu Sun Jul 1 16:18:53 2001 EDT Modified files: /php4/ext/standard php_var.h var.c Log: PHPAPI-ize php_var_* functions # need this for shm* Index: php4/ext/standard/php_var.h diff -u php4/ext/standard/php_var.h:1.7 php4/ext/standard/php_var.h:1.8 --- php4/ext/standard/php_var.h:1.7 Thu Jun 21 14:46:25 2001 +++ php4/ext/standard/php_var.h Sun Jul 1 16:18:51 2001 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: php_var.h,v 1.7 2001/06/21 18:46:25 thies Exp $ */ +/* $Id: php_var.h,v 1.8 2001/07/01 20:18:51 dbeu Exp $ */ #ifndef PHP_VAR_H #define PHP_VAR_H @@ -30,8 +30,8 @@ /* typdef HashTable php_serialize_data_t; */ #define php_serialize_data_t HashTable -void php_var_serialize(pval *buf, pval **struc, php_serialize_data_t *var_hash); -int php_var_unserialize(pval **rval, const char **p, const char *max, php_serialize_data_t *var_hash); +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); #define PHP_VAR_SERIALIZE_INIT(var_hash) \ zend_hash_init(&(var_hash),10,NULL,NULL,0) Index: php4/ext/standard/var.c diff -u php4/ext/standard/var.c:1.90 php4/ext/standard/var.c:1.91 --- php4/ext/standard/var.c:1.90 Wed Jun 6 09:05:51 2001 +++ php4/ext/standard/var.c Sun Jul 1 16:18:51 2001 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: var.c,v 1.90 2001/06/06 13:05:51 rasmus Exp $ */ +/* $Id: var.c,v 1.91 2001/07/01 20:18:51 dbeu Exp $ */ /* {{{ includes @@ -176,7 +176,7 @@ return SUCCESS; } -void php_var_serialize(pval *buf, pval **struc, HashTable *var_hash) +PHPAPI void php_var_serialize(pval *buf, pval **struc, HashTable *var_hash) { char s[256]; ulong slen; @@ -358,7 +358,7 @@ /* }}} */ /* {{{ php_var_dump */ -int php_var_unserialize(pval **rval, const char **p, const char *max, HashTable *var_hash) +PHPAPI int php_var_unserialize(pval **rval, const char **p, const char *max, HashTable *var_hash) { const char *q; char *str;

« previous php.cvs (#6058) next »