From: Andrei Zmievski Date: Tue, 6 Feb 2001 04:15:50 +0000 (+0000) Subject: Preserve API compatibility. X-Git-Tag: php-4.0.5RC1~346 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=26283a3bcc454850bd2c77179d64b02c0f23aeae;p=php Preserve API compatibility. --- diff --git a/ext/wddx/php_wddx_api.h b/ext/wddx/php_wddx_api.h index 09ec81e0e2..ffe4d5f23b 100644 --- a/ext/wddx/php_wddx_api.h +++ b/ext/wddx/php_wddx_api.h @@ -61,6 +61,6 @@ void php_wddx_packet_end(wddx_packet *packet); 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 */