mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-30 22:43:14 +03:00
chvalid: Mark functions as deprecated
This commit is contained in:
24
chvalid.c
24
chvalid.c
@ -78,8 +78,7 @@ xmlCharInRange (unsigned int val, const xmlChRangeGroup *rptr) {
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This function is DEPRECATED.
|
* @deprecated Use xmlIsBaseChar_ch() or xmlIsBaseCharQ().
|
||||||
* Use xmlIsBaseChar_ch() or xmlIsBaseCharQ() instead
|
|
||||||
*
|
*
|
||||||
* @param ch character to validate
|
* @param ch character to validate
|
||||||
* @returns true if argument valid, false otherwise
|
* @returns true if argument valid, false otherwise
|
||||||
@ -91,8 +90,7 @@ xmlIsBaseChar(unsigned int ch) {
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This function is DEPRECATED.
|
* @deprecated Use xmlIsBlank_ch() or xmlIsBlankQ().
|
||||||
* Use xmlIsBlank_ch() or xmlIsBlankQ() instead
|
|
||||||
*
|
*
|
||||||
* @param ch character to validate
|
* @param ch character to validate
|
||||||
* @returns true if argument valid, false otherwise
|
* @returns true if argument valid, false otherwise
|
||||||
@ -104,8 +102,7 @@ xmlIsBlank(unsigned int ch) {
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This function is DEPRECATED.
|
* @deprecated Use xmlIsChar_ch() or xmlIsCharQ().
|
||||||
* Use xmlIsChar_ch() or xmlIsCharQ() instead
|
|
||||||
*
|
*
|
||||||
* @param ch character to validate
|
* @param ch character to validate
|
||||||
* @returns true if argument valid, false otherwise
|
* @returns true if argument valid, false otherwise
|
||||||
@ -117,8 +114,7 @@ xmlIsChar(unsigned int ch) {
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This function is DEPRECATED.
|
* @deprecated Use xmlIsCombiningQ().
|
||||||
* Use xmlIsCombiningQ() instead
|
|
||||||
*
|
*
|
||||||
* @param ch character to validate
|
* @param ch character to validate
|
||||||
* @returns true if argument valid, false otherwise
|
* @returns true if argument valid, false otherwise
|
||||||
@ -130,8 +126,7 @@ xmlIsCombining(unsigned int ch) {
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This function is DEPRECATED.
|
* @deprecated Use xmlIsDigit_ch() or xmlIsDigitQ().
|
||||||
* Use xmlIsDigit_ch() or xmlIsDigitQ() instead
|
|
||||||
*
|
*
|
||||||
* @param ch character to validate
|
* @param ch character to validate
|
||||||
* @returns true if argument valid, false otherwise
|
* @returns true if argument valid, false otherwise
|
||||||
@ -143,8 +138,7 @@ xmlIsDigit(unsigned int ch) {
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This function is DEPRECATED.
|
* @deprecated Use xmlIsExtender_ch() or xmlIsExtenderQ().
|
||||||
* Use xmlIsExtender_ch() or xmlIsExtenderQ() instead
|
|
||||||
*
|
*
|
||||||
* @param ch character to validate
|
* @param ch character to validate
|
||||||
* @returns true if argument valid, false otherwise
|
* @returns true if argument valid, false otherwise
|
||||||
@ -156,8 +150,7 @@ xmlIsExtender(unsigned int ch) {
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This function is DEPRECATED.
|
* @deprecated Use xmlIsIdeographicQ().
|
||||||
* Use xmlIsIdeographicQ() instead
|
|
||||||
*
|
*
|
||||||
* @param ch character to validate
|
* @param ch character to validate
|
||||||
* @returns true if argument valid, false otherwise
|
* @returns true if argument valid, false otherwise
|
||||||
@ -169,8 +162,7 @@ xmlIsIdeographic(unsigned int ch) {
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This function is DEPRECATED.
|
* @deprecated Use xmlIsPubidChar_ch() or xmlIsPubidCharQ().
|
||||||
* Use xmlIsPubidChar_ch() or xmlIsPubidCharQ() instead
|
|
||||||
*
|
*
|
||||||
* @param ch character to validate
|
* @param ch character to validate
|
||||||
* @returns true if argument valid, false otherwise
|
* @returns true if argument valid, false otherwise
|
||||||
|
@ -187,20 +187,28 @@ XMLPUBFUN int
|
|||||||
#define xmlIsPubidCharQ(c) (((c) < 0x100) ? \
|
#define xmlIsPubidCharQ(c) (((c) < 0x100) ? \
|
||||||
xmlIsPubidChar_ch((c)) : 0)
|
xmlIsPubidChar_ch((c)) : 0)
|
||||||
|
|
||||||
|
XML_DEPRECATED
|
||||||
XMLPUBFUN int
|
XMLPUBFUN int
|
||||||
xmlIsBaseChar(unsigned int ch);
|
xmlIsBaseChar(unsigned int ch);
|
||||||
|
XML_DEPRECATED
|
||||||
XMLPUBFUN int
|
XMLPUBFUN int
|
||||||
xmlIsBlank(unsigned int ch);
|
xmlIsBlank(unsigned int ch);
|
||||||
|
XML_DEPRECATED
|
||||||
XMLPUBFUN int
|
XMLPUBFUN int
|
||||||
xmlIsChar(unsigned int ch);
|
xmlIsChar(unsigned int ch);
|
||||||
|
XML_DEPRECATED
|
||||||
XMLPUBFUN int
|
XMLPUBFUN int
|
||||||
xmlIsCombining(unsigned int ch);
|
xmlIsCombining(unsigned int ch);
|
||||||
|
XML_DEPRECATED
|
||||||
XMLPUBFUN int
|
XMLPUBFUN int
|
||||||
xmlIsDigit(unsigned int ch);
|
xmlIsDigit(unsigned int ch);
|
||||||
|
XML_DEPRECATED
|
||||||
XMLPUBFUN int
|
XMLPUBFUN int
|
||||||
xmlIsExtender(unsigned int ch);
|
xmlIsExtender(unsigned int ch);
|
||||||
|
XML_DEPRECATED
|
||||||
XMLPUBFUN int
|
XMLPUBFUN int
|
||||||
xmlIsIdeographic(unsigned int ch);
|
xmlIsIdeographic(unsigned int ch);
|
||||||
|
XML_DEPRECATED
|
||||||
XMLPUBFUN int
|
XMLPUBFUN int
|
||||||
xmlIsPubidChar(unsigned int ch);
|
xmlIsPubidChar(unsigned int ch);
|
||||||
|
|
||||||
|
@ -597,7 +597,15 @@ deprecated_funcs = {
|
|||||||
'xmlInitializeDict': True,
|
'xmlInitializeDict': True,
|
||||||
'xmlIOFTPMatch': True,
|
'xmlIOFTPMatch': True,
|
||||||
'xmlIOHTTPMatch': True,
|
'xmlIOHTTPMatch': True,
|
||||||
|
'xmlIsBaseChar': True,
|
||||||
|
'xmlIsBlank': True,
|
||||||
|
'xmlIsChar': True,
|
||||||
|
'xmlIsCombining': True,
|
||||||
|
'xmlIsDigit': True,
|
||||||
|
'xmlIsExtender': True,
|
||||||
|
'xmlIsIdeographic': True,
|
||||||
'xmlIsLetter': True,
|
'xmlIsLetter': True,
|
||||||
|
'xmlIsPubidChar': True,
|
||||||
'xmlIsRef': True,
|
'xmlIsRef': True,
|
||||||
'xmlKeepBlanksDefault': True,
|
'xmlKeepBlanksDefault': True,
|
||||||
'xmlLineNumbersDefault': True,
|
'xmlLineNumbersDefault': True,
|
||||||
|
Reference in New Issue
Block a user