mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-10-24 13:33:01 +03:00
@@ -168,16 +168,23 @@ for file in os.listdir(xmlDocDir):
|
|||||||
module1, module2 = xmlmod.findModules(module, name)
|
module1, module2 = xmlmod.findModules(module, name)
|
||||||
|
|
||||||
cargs = []
|
cargs = []
|
||||||
|
skip = False
|
||||||
for arg in func.findall('param'):
|
for arg in func.findall('param'):
|
||||||
atype = etree.tostring(arg.find('type'),
|
atype = etree.tostring(arg.find('type'),
|
||||||
method='text', encoding='unicode').rstrip()
|
method='text', encoding='unicode').rstrip()
|
||||||
if atype == 'void':
|
if atype == 'void':
|
||||||
continue
|
continue
|
||||||
|
if atype == 'va_list':
|
||||||
|
skip = True
|
||||||
|
break
|
||||||
if re.search(r'(Ptr|\*)$', atype):
|
if re.search(r'(Ptr|\*)$', atype):
|
||||||
cargs.append('NULL')
|
cargs.append('NULL')
|
||||||
else:
|
else:
|
||||||
cargs.append('0')
|
cargs.append('0')
|
||||||
|
|
||||||
|
if skip:
|
||||||
|
continue
|
||||||
|
|
||||||
mfunc = functions.get(module1)
|
mfunc = functions.get(module1)
|
||||||
if mfunc is None:
|
if mfunc is None:
|
||||||
mfunc = {}
|
mfunc = {}
|
||||||
|
|||||||
14
testapi.c
14
testapi.c
@@ -543,7 +543,6 @@ main(int argc ATTRIBUTE_UNUSED, char **argv ATTRIBUTE_UNUSED) {
|
|||||||
xmlStrEqual(NULL, NULL);
|
xmlStrEqual(NULL, NULL);
|
||||||
xmlStrPrintf(NULL, 0, NULL, 0);
|
xmlStrPrintf(NULL, 0, NULL, 0);
|
||||||
xmlStrQEqual(NULL, NULL, NULL);
|
xmlStrQEqual(NULL, NULL, NULL);
|
||||||
xmlStrVPrintf(NULL, 0, NULL, 0);
|
|
||||||
xmlStrcasecmp(NULL, NULL);
|
xmlStrcasecmp(NULL, NULL);
|
||||||
xmlStrcasestr(NULL, NULL);
|
xmlStrcasestr(NULL, NULL);
|
||||||
xmlFree(xmlStrcat(NULL, NULL));
|
xmlFree(xmlStrcat(NULL, NULL));
|
||||||
@@ -1198,19 +1197,6 @@ main(int argc ATTRIBUTE_UNUSED, char **argv ATTRIBUTE_UNUSED) {
|
|||||||
xmlTextWriterWriteRaw(NULL, NULL);
|
xmlTextWriterWriteRaw(NULL, NULL);
|
||||||
xmlTextWriterWriteRawLen(NULL, NULL, 0);
|
xmlTextWriterWriteRawLen(NULL, NULL, 0);
|
||||||
xmlTextWriterWriteString(NULL, NULL);
|
xmlTextWriterWriteString(NULL, NULL);
|
||||||
xmlTextWriterWriteVFormatAttribute(NULL, NULL, NULL, 0);
|
|
||||||
xmlTextWriterWriteVFormatAttributeNS(NULL, NULL, NULL, NULL, NULL, 0);
|
|
||||||
xmlTextWriterWriteVFormatCDATA(NULL, NULL, 0);
|
|
||||||
xmlTextWriterWriteVFormatComment(NULL, NULL, 0);
|
|
||||||
xmlTextWriterWriteVFormatDTD(NULL, NULL, NULL, NULL, NULL, 0);
|
|
||||||
xmlTextWriterWriteVFormatDTDAttlist(NULL, NULL, NULL, 0);
|
|
||||||
xmlTextWriterWriteVFormatDTDElement(NULL, NULL, NULL, 0);
|
|
||||||
xmlTextWriterWriteVFormatDTDInternalEntity(NULL, 0, NULL, NULL, 0);
|
|
||||||
xmlTextWriterWriteVFormatElement(NULL, NULL, NULL, 0);
|
|
||||||
xmlTextWriterWriteVFormatElementNS(NULL, NULL, NULL, NULL, NULL, 0);
|
|
||||||
xmlTextWriterWriteVFormatPI(NULL, NULL, NULL, 0);
|
|
||||||
xmlTextWriterWriteVFormatRaw(NULL, NULL, 0);
|
|
||||||
xmlTextWriterWriteVFormatString(NULL, NULL, 0);
|
|
||||||
#endif /* LIBXML_WRITER_ENABLED */
|
#endif /* LIBXML_WRITER_ENABLED */
|
||||||
|
|
||||||
#ifdef LIBXML_XINCLUDE_ENABLED
|
#ifdef LIBXML_XINCLUDE_ENABLED
|
||||||
|
|||||||
Reference in New Issue
Block a user