mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-03-23 02:50:08 +03:00
module: Deprecate module API
This was only used by libxslt which switched to a private implementation.
This commit is contained in:
parent
ec4340b828
commit
aa6ca0b1d3
@ -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
|
||||
|
@ -6,6 +6,8 @@
|
||||
* joelwreed@comcast.net
|
||||
*/
|
||||
|
||||
#define XML_DEPRECATED
|
||||
|
||||
#include "libxml.h"
|
||||
#include <stdio.h>
|
||||
#include <libxml/xmlversion.h>
|
||||
|
Loading…
x
Reference in New Issue
Block a user