cvs: php4 /ext/wddx php_wddx_api.h
| From: | Andrei Zmievski | Date: | Tue, 06 Feb 2001 04:15:50 +0000 |
| Subject: | cvs: php4 /ext/wddx php_wddx_api.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-3924@lists.php.net to get a copy of this message | ||
andrei Mon Feb 5 20:15:50 2001 EDT
Modified files:
/php4/ext/wddx php_wddx_api.h
Log:
Preserve API compatibility.
Index: php4/ext/wddx/php_wddx_api.h
diff -u php4/ext/wddx/php_wddx_api.h:1.11 php4/ext/wddx/php_wddx_api.h:1.12
--- php4/ext/wddx/php_wddx_api.h:1.11 Mon Feb 5 19:54:15 2001
+++ php4/ext/wddx/php_wddx_api.h Mon Feb 5 20:15:50 2001
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_wddx_api.h,v 1.11 2001/02/06 03:54:15 andrei Exp $ */
+/* $Id: php_wddx_api.h,v 1.12 2001/02/06 04:15:50 andrei Exp $ */
#ifndef PHP_WDDX_API_H
#define PHP_WDDX_API_H
@@ -61,6 +61,6 @@
void php_wddx_serialize_var(wddx_packet *packet, zval *var, char *name);
int php_wddx_deserialize_ex(char *, int, zval *return_value);
-char *php_wddx_gather(wddx_packet *packet);
+#define php_wddx_gather(packet) estrndup(packet->c, packet->len)
#endif /* PHP_WDDX_API_H */