Spaces:
Runtime error
Runtime error
| /* | |
| * Summary: Unicode character range checking | |
| * Description: this module exports interfaces for the character | |
| * range validation APIs | |
| * | |
| * This file is automatically generated from the cvs source | |
| * definition files using the genChRanges.py Python script | |
| * | |
| * Generation date: Mon Mar 27 11:09:48 2006 | |
| * Sources: chvalid.def | |
| * Author: William Brack <wbrack@mmm.com.hk> | |
| */ | |
| extern "C" { | |
| /* | |
| * Define our typedefs and structures | |
| * | |
| */ | |
| typedef struct _xmlChSRange xmlChSRange; | |
| typedef xmlChSRange *xmlChSRangePtr; | |
| struct _xmlChSRange { | |
| unsigned short low; | |
| unsigned short high; | |
| }; | |
| typedef struct _xmlChLRange xmlChLRange; | |
| typedef xmlChLRange *xmlChLRangePtr; | |
| struct _xmlChLRange { | |
| unsigned int low; | |
| unsigned int high; | |
| }; | |
| typedef struct _xmlChRangeGroup xmlChRangeGroup; | |
| typedef xmlChRangeGroup *xmlChRangeGroupPtr; | |
| struct _xmlChRangeGroup { | |
| int nbShortRange; | |
| int nbLongRange; | |
| const xmlChSRange *shortRange; /* points to an array of ranges */ | |
| const xmlChLRange *longRange; | |
| }; | |
| /** | |
| * Range checking routine | |
| */ | |
| XMLPUBFUN int XMLCALL | |
| xmlCharInRange(unsigned int val, const xmlChRangeGroup *group); | |
| /** | |
| * xmlIsBaseChar_ch: | |
| * @c: char to validate | |
| * | |
| * Automatically generated by genChRanges.py | |
| */ | |
| /** | |
| * xmlIsBaseCharQ: | |
| * @c: char to validate | |
| * | |
| * Automatically generated by genChRanges.py | |
| */ | |
| XMLPUBVAR const xmlChRangeGroup xmlIsBaseCharGroup; | |
| /** | |
| * xmlIsBlank_ch: | |
| * @c: char to validate | |
| * | |
| * Automatically generated by genChRanges.py | |
| */ | |
| /** | |
| * xmlIsBlankQ: | |
| * @c: char to validate | |
| * | |
| * Automatically generated by genChRanges.py | |
| */ | |
| /** | |
| * xmlIsChar_ch: | |
| * @c: char to validate | |
| * | |
| * Automatically generated by genChRanges.py | |
| */ | |
| /** | |
| * xmlIsCharQ: | |
| * @c: char to validate | |
| * | |
| * Automatically generated by genChRanges.py | |
| */ | |
| XMLPUBVAR const xmlChRangeGroup xmlIsCharGroup; | |
| /** | |
| * xmlIsCombiningQ: | |
| * @c: char to validate | |
| * | |
| * Automatically generated by genChRanges.py | |
| */ | |
| XMLPUBVAR const xmlChRangeGroup xmlIsCombiningGroup; | |
| /** | |
| * xmlIsDigit_ch: | |
| * @c: char to validate | |
| * | |
| * Automatically generated by genChRanges.py | |
| */ | |
| /** | |
| * xmlIsDigitQ: | |
| * @c: char to validate | |
| * | |
| * Automatically generated by genChRanges.py | |
| */ | |
| XMLPUBVAR const xmlChRangeGroup xmlIsDigitGroup; | |
| /** | |
| * xmlIsExtender_ch: | |
| * @c: char to validate | |
| * | |
| * Automatically generated by genChRanges.py | |
| */ | |
| /** | |
| * xmlIsExtenderQ: | |
| * @c: char to validate | |
| * | |
| * Automatically generated by genChRanges.py | |
| */ | |
| XMLPUBVAR const xmlChRangeGroup xmlIsExtenderGroup; | |
| /** | |
| * xmlIsIdeographicQ: | |
| * @c: char to validate | |
| * | |
| * Automatically generated by genChRanges.py | |
| */ | |
| XMLPUBVAR const xmlChRangeGroup xmlIsIdeographicGroup; | |
| XMLPUBVAR const unsigned char xmlIsPubidChar_tab[256]; | |
| /** | |
| * xmlIsPubidChar_ch: | |
| * @c: char to validate | |
| * | |
| * Automatically generated by genChRanges.py | |
| */ | |
| /** | |
| * xmlIsPubidCharQ: | |
| * @c: char to validate | |
| * | |
| * Automatically generated by genChRanges.py | |
| */ | |
| XMLPUBFUN int XMLCALL | |
| xmlIsBaseChar(unsigned int ch); | |
| XMLPUBFUN int XMLCALL | |
| xmlIsBlank(unsigned int ch); | |
| XMLPUBFUN int XMLCALL | |
| xmlIsChar(unsigned int ch); | |
| XMLPUBFUN int XMLCALL | |
| xmlIsCombining(unsigned int ch); | |
| XMLPUBFUN int XMLCALL | |
| xmlIsDigit(unsigned int ch); | |
| XMLPUBFUN int XMLCALL | |
| xmlIsExtender(unsigned int ch); | |
| XMLPUBFUN int XMLCALL | |
| xmlIsIdeographic(unsigned int ch); | |
| XMLPUBFUN int XMLCALL | |
| xmlIsPubidChar(unsigned int ch); | |
| } | |