summaryrefslogtreecommitdiff
path: root/ext/wddx
diff options
context:
space:
mode:
authorAndrei Zmievski <andrei@php.net>2001-02-06 04:15:50 +0000
committerAndrei Zmievski <andrei@php.net>2001-02-06 04:15:50 +0000
commit26283a3bcc454850bd2c77179d64b02c0f23aeae (patch)
treeba36ba1fd9202dd7759272cedbdb61ba32c3e466 /ext/wddx
parent88fce00cc0311c61543212a4c15827b710233739 (diff)
downloadphp-git-26283a3bcc454850bd2c77179d64b02c0f23aeae.tar.gz
Preserve API compatibility.
Diffstat (limited to 'ext/wddx')
-rw-r--r--ext/wddx/php_wddx_api.h2
1 files changed, 1 insertions, 1 deletions
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 */