]> granicus.if.org Git - php/commitdiff
MFH: Export php_libxml_error_handler for windows build (#29541)
authorEdin Kadribasic <edink@php.net>
Thu, 5 Aug 2004 21:03:15 +0000 (21:03 +0000)
committerEdin Kadribasic <edink@php.net>
Thu, 5 Aug 2004 21:03:15 +0000 (21:03 +0000)
ext/libxml/libxml.c
ext/libxml/php_libxml.h

index 4e41adb10e8f8d1cf89f9ba32172e3af125f0525..5eb9087ddeca4e447b131d70988e552b35b4338d 100644 (file)
@@ -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);
index ab47e202fb46c7df591eef004e816c849b02a848..5642abc627e858862a9a5af115bb29b6ef5d8a3a 100644 (file)
@@ -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, ...);