[xml] testapi.c
- From: Michael Day <mikeday yeslogic com>
- To: xml gnome org
- Subject: [xml] testapi.c
- Date: Sun, 27 Nov 2005 14:33:02 +1100 (EST)
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]