diff --git a/include/libxml/xmlmodule.h b/include/libxml/xmlmodule.h index 279986c1..5db55856 100644 --- a/include/libxml/xmlmodule.h +++ b/include/libxml/xmlmodule.h @@ -37,15 +37,19 @@ typedef enum { XML_MODULE_LOCAL= 2 /* local binding */ } xmlModuleOption; +XML_DEPRECATED XMLPUBFUN xmlModulePtr xmlModuleOpen (const char *filename, int options); +XML_DEPRECATED XMLPUBFUN int xmlModuleSymbol (xmlModulePtr module, const char* name, void **result); +XML_DEPRECATED XMLPUBFUN int xmlModuleClose (xmlModulePtr module); +XML_DEPRECATED XMLPUBFUN int xmlModuleFree (xmlModulePtr module); #ifdef __cplusplus diff --git a/testModule.c b/testModule.c index 7f848661..00055a4c 100644 --- a/testModule.c +++ b/testModule.c @@ -6,6 +6,8 @@ * joelwreed@comcast.net */ +#define XML_DEPRECATED + #include "libxml.h" #include #include