From: Edin Kadribasic Date: Thu, 5 Aug 2004 21:03:15 +0000 (+0000) Subject: MFH: Export php_libxml_error_handler for windows build (#29541) X-Git-Tag: php-5.0.1RC1~17 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8060534f63fa4e0deb130b80b55257dd776ded92;p=php MFH: Export php_libxml_error_handler for windows build (#29541) --- diff --git a/ext/libxml/libxml.c b/ext/libxml/libxml.c index 4e41adb10e..5eb9087dde 100644 --- a/ext/libxml/libxml.c +++ b/ext/libxml/libxml.c @@ -377,7 +377,7 @@ void php_libxml_ctx_warning(void *ctx, const char *msg, ...) va_end(args); } -void php_libxml_error_handler(void *ctx, const char *msg, ...) +PHP_LIBXML_API void php_libxml_error_handler(void *ctx, const char *msg, ...) { va_list args; va_start(args, msg); diff --git a/ext/libxml/php_libxml.h b/ext/libxml/php_libxml.h index ab47e202fb..5642abc627 100644 --- a/ext/libxml/php_libxml.h +++ b/ext/libxml/php_libxml.h @@ -77,7 +77,7 @@ PHP_LIBXML_API int php_libxml_register_export(zend_class_entry *ce, php_libxml_e 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); -void php_libxml_error_handler(void *ctx, const char *msg, ...); +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, ...);