1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2024-10-26 03:55:04 +03:00

module: Deprecate module API

This was only used by libxslt which switched to a private
implementation.
This commit is contained in:
Nick Wellnhofer 2024-07-23 03:29:41 +02:00
parent ec4340b828
commit aa6ca0b1d3
2 changed files with 6 additions and 0 deletions

View File

@ -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

View File

@ -6,6 +6,8 @@
* joelwreed@comcast.net
*/
#define XML_DEPRECATED
#include "libxml.h"
#include <stdio.h>
#include <libxml/xmlversion.h>