1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-10-26 00:37:43 +03:00

codegen: Rerun codegen scripts

This commit is contained in:
Nick Wellnhofer
2025-05-15 18:41:35 +02:00
parent 258d870629
commit a05fa9a905
4 changed files with 4 additions and 15 deletions

View File

@@ -4,9 +4,6 @@
* *
* This file is automatically generated from the cvs source * This file is automatically generated from the cvs source
* definition files using the genChRanges.py Python script * definition files using the genChRanges.py Python script
*
* Generation date: Mon Mar 27 11:09:48 2006
* Sources: chvalid.def
*/ */
#define IN_LIBXML #define IN_LIBXML
@@ -181,7 +178,7 @@ xmlCharInRange (unsigned int val, const xmlChRangeGroup *rptr) {
if ((unsigned short) val < sptr[mid].low) { if ((unsigned short) val < sptr[mid].low) {
high = mid - 1; high = mid - 1;
} else { } else {
if ((unsigned short) val > sptr[mid].high) { if ((unsigned short) val > sptr[mid].high) {
low = mid + 1; low = mid + 1;
} else { } else {
return 1; return 1;
@@ -200,7 +197,7 @@ xmlCharInRange (unsigned int val, const xmlChRangeGroup *rptr) {
if (val < lptr[mid].low) { if (val < lptr[mid].low) {
high = mid - 1; high = mid - 1;
} else { } else {
if (val > lptr[mid].high) { if (val > lptr[mid].high) {
low = mid + 1; low = mid + 1;
} else { } else {
return 1; return 1;

View File

@@ -1,16 +1,13 @@
/** /**
* @file * @file
* *
* @brief Unicode character range checking * @brief Unicode character range checking
* *
* this module exports interfaces for the character * this module exports interfaces for the character
* range validation APIs * range validation APIs
* *
* This file is automatically generated from the cvs source * This file is automatically generated from the cvs source
* definition files using the genChRanges.py Python script * definition files using the genChRanges.py Python script
*
* Generation date: Mon Mar 27 11:09:48 2006
* Sources: chvalid.def
*/ */
#ifndef __XML_CHVALID_H__ #ifndef __XML_CHVALID_H__
@@ -66,7 +63,6 @@ XMLPUBVAR const unsigned char xmlIsPubidChar_tab[256];
XMLPUBFUN int XMLPUBFUN int
xmlCharInRange(unsigned int val, const xmlChRangeGroup *group); xmlCharInRange(unsigned int val, const xmlChRangeGroup *group);
/** @endcond */ /** @endcond */
/** /**

View File

@@ -95,7 +95,6 @@ main(int argc ATTRIBUTE_UNUSED, char **argv ATTRIBUTE_UNUSED) {
xmlCharEncInFunc(NULL, NULL, NULL); xmlCharEncInFunc(NULL, NULL, NULL);
xmlCharEncNewCustomHandler(NULL, 0, 0, 0, NULL, NULL, NULL); xmlCharEncNewCustomHandler(NULL, 0, 0, 0, NULL, NULL, NULL);
xmlCharEncOutFunc(NULL, NULL, NULL); xmlCharEncOutFunc(NULL, NULL, NULL);
xmlCharInRange(0, NULL);
xmlFree(xmlCharStrdup(NULL)); xmlFree(xmlCharStrdup(NULL));
xmlFree(xmlCharStrndup(NULL, 0)); xmlFree(xmlCharStrndup(NULL, 0));
xmlCheckFilename(NULL); xmlCheckFilename(NULL);

View File

@@ -5,9 +5,6 @@
* UCS description files of the Unicode Character Database * UCS description files of the Unicode Character Database
* http://www.unicode.org/Public/4.0-Update1/UCD-4.0.1.html * http://www.unicode.org/Public/4.0-Update1/UCD-4.0.1.html
* using the genUnicode.py Python script. * using the genUnicode.py Python script.
*
* Generation date: Tue Mar 4 16:29:31 2025
* Sources: Blocks-4.0.1.txt UnicodeData-4.0.1.txt
*/ */
#define IN_LIBXML #define IN_LIBXML