summaryrefslogtreecommitdiff
path: root/error.c
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2004-08-14 11:15:13 +0000
committerDaniel Veillard <veillard@src.gnome.org>2004-08-14 11:15:13 +0000
commitda3b29a5c42437d194207eb39c9da8ebd9aefefd (patch)
tree0cf80c7297ca7e9da10c7a14ab1ec2262a67d2a5 /error.c
parentc0826a7709eddbf10ade02f0ce80e5d077ac05f6 (diff)
downloadlibxml2-da3b29a5c42437d194207eb39c9da8ebd9aefefd.tar.gz
added a dumb rule to able to compile tst.c when people submit a sample
* Makefile.am: added a dumb rule to able to compile tst.c when people submit a sample test program * xmlschemas.c: applied small patch from Eric Haszlakiewicz to document xmlSchemasSetValidErrors() limitations, #141827 * error.c: Add information in generic and structured error setter functions that this need to be done per thread #144308 * xmlsave.c: fixed bug whith missing NOTATION(s) serialization bug #144162 * doc/xmllint.xml: typo fix #144840 Daniel
Diffstat (limited to 'error.c')
-rw-r--r--error.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/error.c b/error.c
index 362851c3..8eb61613 100644
--- a/error.c
+++ b/error.c
@@ -102,6 +102,7 @@ initGenericErrorDefaultFunc(xmlGenericErrorFunc * handler)
* be passed as first argument to @handler
* One can simply force messages to be emitted to another FILE * than
* stderr by setting @ctx to this file handle and @handler to NULL.
+ * For multi-threaded applications, this must be set separately for each thread.
*/
void
xmlSetGenericErrorFunc(void *ctx, xmlGenericErrorFunc handler) {
@@ -122,6 +123,7 @@ xmlSetGenericErrorFunc(void *ctx, xmlGenericErrorFunc handler) {
* This simply means that @handler will be called for subsequent
* error messages while not parsing nor validating. And @ctx will
* be passed as first argument to @handler
+ * For multi-threaded applications, this must be set separately for each thread.
*/
void
xmlSetStructuredErrorFunc(void *ctx, xmlStructuredErrorFunc handler) {