1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-10-26 00:37:43 +03:00

globals: Don't store xmlParserVersion in global state

This is a constant.
This commit is contained in:
Nick Wellnhofer
2023-09-20 14:43:14 +02:00
parent 0830fcfa90
commit 2e6c49a74d
4 changed files with 26 additions and 10 deletions

View File

@@ -805,6 +805,17 @@ typedef xmlParserInputPtr (*xmlExternalEntityLoader) (const char *URL,
const char *ID,
xmlParserCtxtPtr context);
/*
* Variables
*/
XMLPUBVAR const char *const
xmlParserVersion;
#ifdef LIBXML_THREAD_ENABLED
XMLPUBFUN const char *const *
__xmlParserVersion(void);
#endif
#ifdef __cplusplus
}
#endif