From ee8f1d4cda8dc1a6f2c515fe234f7bc89cdc9f80 Mon Sep 17 00:00:00 2001 From: Daniel Veillard Date: Mon, 21 May 2012 11:16:12 +0800 Subject: Cleanups before 2.8.0-rc2 new symbols, a missing comment and a fix on symbol release --- dict.c | 3 +++ doc/symbols.xml | 3 ++- libxml2.syms | 3 +++ 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/dict.c b/dict.c index 3579f64d..6de2f03f 100644 --- a/dict.c +++ b/dict.c @@ -150,6 +150,9 @@ unsigned int rand_seed = 0; * Do the dictionary mutex initialization. * this function is not thread safe, initialization should * preferably be done once at startup + * + * Returns 0 if initialization was already done, and 1 if that + * call led to the initialization */ int xmlInitializeDict(void) { if (xmlDictInitialized) diff --git a/doc/symbols.xml b/doc/symbols.xml index 56a18775..1695bb3c 100644 --- a/doc/symbols.xml +++ b/doc/symbols.xml @@ -1741,8 +1741,9 @@ xmlStructuredErrorContext xmlXIncludeProcessTreeFlagsData - + xmlTextReaderRelaxNGValidateCtxt xmlBufferDetach + xmlInitializeDict diff --git a/libxml2.syms b/libxml2.syms index b82f46ca..93eff536 100644 --- a/libxml2.syms +++ b/libxml2.syms @@ -2239,5 +2239,8 @@ LIBXML2_2.8.0 { # tree xmlBufferDetach; + +# dict + xmlInitializeDict; } LIBXML2_2.7.4; -- cgit v1.2.1