cvs: php4 /ext/standard php_var.h var_unserializer.c var_unserializer.re
| From: | Shane Caraveo | Date: | Sun, 04 Aug 2002 23:45:38 +0000 |
| Subject: | cvs: php4 /ext/standard php_var.h var_unserializer.c var_unserializer.re | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-13126@lists.php.net to get a copy of this message | ||
shane Sun Aug 4 19:45:38 2002 EDT
Modified files:
/php4/ext/standard php_var.h var_unserializer.c var_unserializer.re
Log:
need to export var_replace and var_destroy for win32
Index: php4/ext/standard/php_var.h
diff -u php4/ext/standard/php_var.h:1.20 php4/ext/standard/php_var.h:1.21
--- php4/ext/standard/php_var.h:1.20 Thu Feb 28 03:26:48 2002
+++ php4/ext/standard/php_var.h Sun Aug 4 19:45:37 2002
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_var.h,v 1.20 2002/02/28 08:26:48 sebastian Exp $ */
+/* $Id: php_var.h,v 1.21 2002/08/04 23:45:37 shane Exp $ */
#ifndef PHP_VAR_H
#define PHP_VAR_H
@@ -55,8 +55,8 @@
#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))
Index: php4/ext/standard/var_unserializer.c
diff -u php4/ext/standard/var_unserializer.c:1.14 php4/ext/standard/var_unserializer.c:1.15
--- php4/ext/standard/var_unserializer.c:1.14 Sat May 4 13:17:54 2002
+++ php4/ext/standard/var_unserializer.c Sun Aug 4 19:45:38 2002
@@ -36,7 +36,7 @@
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 @@
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;
Index: php4/ext/standard/var_unserializer.re
diff -u php4/ext/standard/var_unserializer.re:1.8 php4/ext/standard/var_unserializer.re:1.9
--- php4/ext/standard/var_unserializer.re:1.8 Sat May 4 13:17:43 2002
+++ php4/ext/standard/var_unserializer.re Sun Aug 4 19:45:38 2002
@@ -34,7 +34,7 @@
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 @@
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;