12 #ifndef ROXML_INTERNAL_H 13 #define ROXML_INTERNAL_H 21 #define ROXML_STATIC static 23 #define ROXML_STATIC_INLINE static inline 28 #define ROXML_STUB __attribute__((section("__stub"))) 33 #define ROXML_PARSE __attribute__((section("__parse"))) 36 #ifdef VERBOSE_PARSING 37 #define ROXML_PARSE_ERROR(str) do { fprintf(stderr, "Parsing error at offset %d: %s\n", context->pos, str); errno = EINVAL; return -1; } while (0) 39 #define ROXML_PARSE_ERROR(str) do { errno = EINVAL; return -1; } while (0); 45 #include "roxml_types.h" 47 #include "roxml_utils.h"
Defines used trhoughout the sources.