summaryrefslogtreecommitdiff
path: root/ext/xml/xml.c
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2015-03-23 14:26:46 +0100
committerAnatol Belski <ab@php.net>2015-03-23 15:09:06 +0100
commitffabfc703defe000438df1362b4743ec926577e8 (patch)
treeb280149b20e4f83b3b58b8453dcbbdbdd2bd5a79 /ext/xml/xml.c
parent5539cb59721db79f548650c139b8195870cf24e2 (diff)
downloadphp-git-ffabfc703defe000438df1362b4743ec926577e8.tar.gz
fix exports
Diffstat (limited to 'ext/xml/xml.c')
-rw-r--r--ext/xml/xml.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/xml/xml.c b/ext/xml/xml.c
index 8a26a7ff5c..f5756ef0b3 100644
--- a/ext/xml/xml.c
+++ b/ext/xml/xml.c
@@ -559,7 +559,7 @@ static xml_encoding *xml_get_encoding(const XML_Char *name)
/* }}} */
/* {{{ xml_utf8_encode() */
-PHPAPI zend_string *xml_utf8_encode(const char *s, size_t len, const XML_Char *encoding)
+PHP_XML_API zend_string *xml_utf8_encode(const char *s, size_t len, const XML_Char *encoding)
{
size_t pos = len;
zend_string *str;
@@ -610,7 +610,7 @@ PHPAPI zend_string *xml_utf8_encode(const char *s, size_t len, const XML_Char *e
/* }}} */
/* {{{ xml_utf8_decode() */
-PHPAPI zend_string *xml_utf8_decode(const XML_Char *s, size_t len, const XML_Char *encoding)
+PHP_XML_API zend_string *xml_utf8_decode(const XML_Char *s, size_t len, const XML_Char *encoding)
{
size_t pos = 0;
unsigned int c;
@@ -665,7 +665,7 @@ static int _xml_xmlcharlen(const XML_Char *s)
/* }}} */
/* {{{ _xml_zval_strdup() */
-PHPAPI char *_xml_zval_strdup(zval *val)
+PHP_XML_API char *_xml_zval_strdup(zval *val)
{
if (Z_TYPE_P(val) == IS_STRING) {
char *buf = emalloc(Z_STRLEN_P(val) + 1);