diff options
author | Rob Richards <rrichards@php.net> | 2008-07-22 10:30:38 +0000 |
---|---|---|
committer | Rob Richards <rrichards@php.net> | 2008-07-22 10:30:38 +0000 |
commit | cb3bc158076026430722bb408c736496b1c88277 (patch) | |
tree | 43eb1e31d1ed5131b1bcca69043f3a17db25a8df /ext/libxml | |
parent | 6fc2b092858929d088b7f1c82f773a0bbf66621c (diff) | |
download | php-git-cb3bc158076026430722bb408c736496b1c88277.tar.gz |
MFH: Visibility (bug #45557)
Diffstat (limited to 'ext/libxml')
-rw-r--r-- | ext/libxml/libxml.c | 8 | ||||
-rw-r--r-- | ext/libxml/php_libxml.h | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/ext/libxml/libxml.c b/ext/libxml/libxml.c index 1ab1f2568c..2e27d29f95 100644 --- a/ext/libxml/libxml.c +++ b/ext/libxml/libxml.c @@ -523,7 +523,7 @@ static void php_libxml_internal_error_handler(int error_type, void *ctx, const c } } -void php_libxml_ctx_error(void *ctx, const char *msg, ...) +PHP_LIBXML_API void php_libxml_ctx_error(void *ctx, const char *msg, ...) { va_list args; va_start(args, msg); @@ -531,7 +531,7 @@ void php_libxml_ctx_error(void *ctx, const char *msg, ...) va_end(args); } -void php_libxml_ctx_warning(void *ctx, const char *msg, ...) +PHP_LIBXML_API void php_libxml_ctx_warning(void *ctx, const char *msg, ...) { va_list args; va_start(args, msg); @@ -974,7 +974,7 @@ PHP_LIBXML_API int php_libxml_decrement_doc_ref(php_libxml_node_object *object T return ret_refcount; } -void php_libxml_node_free_resource(xmlNodePtr node TSRMLS_DC) +PHP_LIBXML_API void php_libxml_node_free_resource(xmlNodePtr node TSRMLS_DC) { if (!node) { return; @@ -1010,7 +1010,7 @@ void php_libxml_node_free_resource(xmlNodePtr node TSRMLS_DC) } } -void php_libxml_node_decrement_resource(php_libxml_node_object *object TSRMLS_DC) +PHP_LIBXML_API void php_libxml_node_decrement_resource(php_libxml_node_object *object TSRMLS_DC) { int ret_refcount = -1; xmlNodePtr nodep; diff --git a/ext/libxml/php_libxml.h b/ext/libxml/php_libxml.h index 27729162dc..5c6295110f 100644 --- a/ext/libxml/php_libxml.h +++ b/ext/libxml/php_libxml.h @@ -84,12 +84,12 @@ PHP_LIBXML_API int php_libxml_decrement_doc_ref(php_libxml_node_object *object T PHP_LIBXML_API xmlNodePtr php_libxml_import_node(zval *object TSRMLS_DC); PHP_LIBXML_API int php_libxml_register_export(zend_class_entry *ce, php_libxml_export_node export_function); /* When an explicit freeing of node and children is required */ -void php_libxml_node_free_resource(xmlNodePtr node TSRMLS_DC); +PHP_LIBXML_API void php_libxml_node_free_resource(xmlNodePtr node TSRMLS_DC); /* When object dtor is called as node may still be referenced */ -void php_libxml_node_decrement_resource(php_libxml_node_object *object TSRMLS_DC); +PHP_LIBXML_API void php_libxml_node_decrement_resource(php_libxml_node_object *object TSRMLS_DC); PHP_LIBXML_API void php_libxml_error_handler(void *ctx, const char *msg, ...); -void php_libxml_ctx_warning(void *ctx, const char *msg, ...); -void php_libxml_ctx_error(void *ctx, const char *msg, ...); +PHP_LIBXML_API void php_libxml_ctx_warning(void *ctx, const char *msg, ...); +PHP_LIBXML_API void php_libxml_ctx_error(void *ctx, const char *msg, ...); PHP_LIBXML_API int php_libxml_xmlCheckUTF8(const unsigned char *s); PHP_LIBXML_API zval *php_libxml_switch_context(zval *context TSRMLS_DC); PHP_LIBXML_API void php_libxml_issue_error(int level, const char *msg TSRMLS_DC); |