Hi,
The automatically generated testapi.c has the following declaration:
#ifdef LIBXML_SCHEMAS_ENABLED
#define gen_nb_void_ptr_ptr 1
static void ** gen_void_ptr_ptr(int no ATTRIBUTE_UNUSED, int nr
ATTRIBUTE_UNUSED) {
return(NULL);
}
Based on this it seems that it will only test function arguments of type
void** if libxml has been configured --with-schemas.
However, the xmlReader module also has a function with void** arguments:
XMLPUBFUN void XMLCALL
xmlTextReaderGetErrorHandler(xmlTextReaderPtr reader,
xmlTextReaderErrorFunc *f,
void **arg);
This leads to a compile error for testapi.c when libxml has been
configured --with-reader and --without-schemas.
However, I can't see what needs to be changed to fix this problem; is it
something in gentest.py or another annotation somewhere else?
Cheers,
Michael
--
Print XML with Prince!
http://www.princexml.com
_______________________________________________
xml mailing list, project page http://xmlsoft.org/
[email protected]
http://mail.gnome.org/mailman/listinfo/xml