1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-07-30 22:43:14 +03:00

- cosmetic changes from "Timur I. Bakeyev" <timur@bat.ru>

Daniel
This commit is contained in:
Daniel Veillard
2000-04-08 13:17:27 +00:00
parent 5d211f4c7a
commit fc708e2b7c
6 changed files with 13 additions and 5 deletions

View File

@ -1,3 +1,9 @@
Sat Apr 8 14:54:54 CEST 2000 Daniel Veillard <Daniel.Veillard@w3.org>
* xpath.c uri.h parserInternals.h: cosmetic changes from
"Timur I. Bakeyev" <timur@bat.ru>, including making
xmlCreateURI() public
Fri Apr 7 18:35:02 CEST 2000 Daniel Veillard <Daniel.Veillard@w3.org> Fri Apr 7 18:35:02 CEST 2000 Daniel Veillard <Daniel.Veillard@w3.org>
* xmlIO.[ch] parser.c: cleane up the xmlParserInputBuffer mess * xmlIO.[ch] parser.c: cleane up the xmlParserInputBuffer mess

View File

@ -28,7 +28,7 @@ extern "C" {
* any Unicode character, excluding the surrogate blocks, FFFE, and FFFF. * any Unicode character, excluding the surrogate blocks, FFFE, and FFFF.
*/ */
#define IS_CHAR(c) \ #define IS_CHAR(c) \
((((c) == 0x09) || ((c) == 0x0a) || ((c) == 0x0d) || \ ((((c) == 0x09) || ((c) == 0x0A) || ((c) == 0x0D) || \
(((c) >= 0x20) && ((c) != 0xFFFE) && ((c) != 0xFFFF))) && \ (((c) >= 0x20) && ((c) != 0xFFFE) && ((c) != 0xFFFF))) && \
(((c) <= 0xD7FF) || ((c) >= 0xE000)) && ((c) >= 0) && \ (((c) <= 0xD7FF) || ((c) >= 0xE000)) && ((c) >= 0) && \
((c) <= 0x10FFFF)) ((c) <= 0x10FFFF))
@ -36,7 +36,7 @@ extern "C" {
/* /*
* [3] S ::= (#x20 | #x9 | #xD | #xA)+ * [3] S ::= (#x20 | #x9 | #xD | #xA)+
*/ */
#define IS_BLANK(c) (((c) == 0x20) || ((c) == 0x09) || ((c) == 0xa) || \ #define IS_BLANK(c) (((c) == 0x20) || ((c) == 0x09) || ((c) == 0xA) || \
((c) == 0x0D)) ((c) == 0x0D))
/* /*

View File

@ -39,6 +39,7 @@ struct _xmlURI {
* xmlChar * xmlNodeGetBase (xmlDocPtr doc, * xmlChar * xmlNodeGetBase (xmlDocPtr doc,
* xmlNodePtr cur); * xmlNodePtr cur);
*/ */
xmlURIPtr xmlCreateURI (void);
xmlChar * xmlBuildURI (const xmlChar *URI, xmlChar * xmlBuildURI (const xmlChar *URI,
const xmlChar *base); const xmlChar *base);
xmlURIPtr xmlParseURI (const char *URI); xmlURIPtr xmlParseURI (const char *URI);

View File

@ -28,7 +28,7 @@ extern "C" {
* any Unicode character, excluding the surrogate blocks, FFFE, and FFFF. * any Unicode character, excluding the surrogate blocks, FFFE, and FFFF.
*/ */
#define IS_CHAR(c) \ #define IS_CHAR(c) \
((((c) == 0x09) || ((c) == 0x0a) || ((c) == 0x0d) || \ ((((c) == 0x09) || ((c) == 0x0A) || ((c) == 0x0D) || \
(((c) >= 0x20) && ((c) != 0xFFFE) && ((c) != 0xFFFF))) && \ (((c) >= 0x20) && ((c) != 0xFFFE) && ((c) != 0xFFFF))) && \
(((c) <= 0xD7FF) || ((c) >= 0xE000)) && ((c) >= 0) && \ (((c) <= 0xD7FF) || ((c) >= 0xE000)) && ((c) >= 0) && \
((c) <= 0x10FFFF)) ((c) <= 0x10FFFF))
@ -36,7 +36,7 @@ extern "C" {
/* /*
* [3] S ::= (#x20 | #x9 | #xD | #xA)+ * [3] S ::= (#x20 | #x9 | #xD | #xA)+
*/ */
#define IS_BLANK(c) (((c) == 0x20) || ((c) == 0x09) || ((c) == 0xa) || \ #define IS_BLANK(c) (((c) == 0x20) || ((c) == 0x09) || ((c) == 0xA) || \
((c) == 0x0D)) ((c) == 0x0D))
/* /*

1
uri.h
View File

@ -39,6 +39,7 @@ struct _xmlURI {
* xmlChar * xmlNodeGetBase (xmlDocPtr doc, * xmlChar * xmlNodeGetBase (xmlDocPtr doc,
* xmlNodePtr cur); * xmlNodePtr cur);
*/ */
xmlURIPtr xmlCreateURI (void);
xmlChar * xmlBuildURI (const xmlChar *URI, xmlChar * xmlBuildURI (const xmlChar *URI,
const xmlChar *base); const xmlChar *base);
xmlURIPtr xmlParseURI (const char *URI); xmlURIPtr xmlParseURI (const char *URI);

View File

@ -110,7 +110,7 @@ int isinf(double d) {
#elif defined(finite) || defined(HAVE_FINITE) #elif defined(finite) || defined(HAVE_FINITE)
int isinf(double x) { return !finite(x) && x==x; } int isinf(double x) { return !finite(x) && x==x; }
#elif defined(HUGE_VAL) #elif defined(HUGE_VAL)
static int isinf(double x) int isinf(double x)
{ {
if (x == HUGE_VAL) if (x == HUGE_VAL)
return(1); return(1);