]> granicus.if.org Git - php/commitdiff
Preserve API compatibility.
authorAndrei Zmievski <andrei@php.net>
Tue, 6 Feb 2001 04:15:50 +0000 (04:15 +0000)
committerAndrei Zmievski <andrei@php.net>
Tue, 6 Feb 2001 04:15:50 +0000 (04:15 +0000)
ext/wddx/php_wddx_api.h

index 09ec81e0e2612cda04370a3b5ec550b81ab7b960..ffe4d5f23b2c39fbc443eb7b10e6483a942ef7cc 100644 (file)
@@ -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 */