xmldef.h File Reference
Detailed Description
definitions for XML parsing
declarations for XML parsing
If SPEC_LIKE_SPACE_HANDLING is not defined, all LF,CR will be changed into spaces and from a sequence of spaces only one will be used.
Definition in file xmldef.h.
Go to the source code of this file.
Macros | |
| #define | XML_Bool unsigned int |
| #define | TRUE 1 |
| #define | FALSE 0 |
| #define | FOPEN(file, mode) fopen(file, mode) |
| #define | FCLOSE(fp) fclose(fp) |
| #define | FGETS(buf, len, fp) fgets(buf, len, fp) /*lint !e755 */ |
| #define | FREAD(buf, len, fp) fread(buf, 1, len, fp) |
| #define | FPTYPE FILE* |
| #define | ALLOC_ABORT(x) |
| #define | ALLOC_FALSE(x) |
| #define | debug(x) |
| #define | debugMessage while( FALSE ) printf |
| #define | debugPrintf while( FALSE ) printf |
| #define | infoMessage printf |
Macro Definition Documentation
◆ XML_Bool
◆ TRUE
◆ FALSE
◆ FOPEN
◆ FCLOSE
◆ FGETS
| #define FGETS | ( | buf, | |
| len, | |||
| fp | |||
| ) | fgets(buf, len, fp) /*lint !e755 */ |
◆ FREAD
◆ FPTYPE
◆ ALLOC_ABORT
| #define ALLOC_ABORT | ( | x | ) |
Value:
do \
{ \
{ \
printf("[%s:%d] No memory in function call\n", __FILE__, __LINE__); \
abort(); \
} \
} \
while( FALSE )
◆ ALLOC_FALSE
| #define ALLOC_FALSE | ( | x | ) |