diff options
author | Daniel Veillard <veillard@src.gnome.org> | 2003-05-15 22:11:36 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 2003-05-15 22:11:36 +0000 |
commit | 781ac8b19bfc10635a8bb83158f874116fd7559e (patch) | |
tree | d4d835a320b96fd08c5dea232346e63cd20e9fb7 /parser.c | |
parent | 6f7e24bb7d94e2163ef26fdad860a3cd06116549 (diff) | |
download | libxml2-781ac8b19bfc10635a8bb83158f874116fd7559e.tar.gz |
patch from Stéphane Bidoul for setting up threads global defaults. this
* build_glob.py global.data globals.c parser.c
include/libxml/globals.h: patch from Stéphane Bidoul for setting
up threads global defaults.
* doc/libxml2-api.xml: this extends the API with new functions
* python/tests/Makefile.am python/tests/reader2.py
python/tests/thread2.py: integrated the associated testcase and
fixed the error string used in reader2
Daniel
Diffstat (limited to 'parser.c')
-rw-r--r-- | parser.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -11140,6 +11140,7 @@ xmlInitParser(void) { if ((xmlGenericError == xmlGenericErrorDefaultFunc) || (xmlGenericError == NULL)) initGenericErrorDefaultFunc(NULL); + xmlInitGlobals(); xmlInitThreads(); xmlInitMemory(); xmlInitCharEncodingHandlers(); @@ -11176,5 +11177,6 @@ xmlCleanupParser(void) { xmlCatalogCleanup(); #endif xmlCleanupThreads(); + xmlCleanupGlobals(); xmlParserInitialized = 0; } |