export xml_utf8_decode for wddx module

This commit is contained in:
Thies C. Arntzen 2000-04-04 15:42:05 +00:00
parent 6e2bf336f6
commit 1fc8733dbf
2 changed files with 2 additions and 2 deletions

View file

@ -129,6 +129,7 @@ PHP_FUNCTION(utf8_decode);
PHP_FUNCTION(xml_parse_into_struct);
PHPAPI char *_xml_zval_strdup(zval *val);
PHPAPI char *xml_utf8_decode(const XML_Char *, int, int *, const XML_Char *);
#endif /* HAVE_LIBEXPAT */

View file

@ -77,7 +77,6 @@ inline static char xml_decode_iso_8859_1(unsigned short);
inline static unsigned short xml_encode_us_ascii(unsigned char);
inline static char xml_decode_us_ascii(unsigned short);
static XML_Char *xml_utf8_encode(const char *, int, int *, const XML_Char *);
static char *xml_utf8_decode(const XML_Char *, int, int *, const XML_Char *);
static zval *xml_call_handler(xml_parser *, char *, int, zval **);
static zval *_xml_xmlchar_zval(const XML_Char *, int, const XML_Char *);
static int _xml_xmlcharlen(const XML_Char *);
@ -497,7 +496,7 @@ xml_utf8_encode(const char *s, int len, int *newlen, const XML_Char *encoding)
}
/* }}} */
/* {{{ xml_utf8_decode */
static char *
PHPAPI char *
xml_utf8_decode(const XML_Char *s, int len, int *newlen, const XML_Char *encoding)
{
int pos = len;