22 #define TYDYAPPEND(str1,str2) str1##str2
23 #define TY_(str) TYDYAPPEND(prvTidy,str)
29 #define TY_PRIVATE __attribute__((__visibility__("hidden")))
46 typedef struct _Dict Dict;
55 typedef struct _Node Node;
61 typedef struct _Lexer Lexer;
66 #define TidyAlloc(allocator, size) ((allocator)->vtbl->alloc((allocator), (size)))
67 #define TidyRealloc(allocator, block, size) ((allocator)->vtbl->realloc((allocator), (block), (size)))
68 #define TidyFree(allocator, block) ((allocator)->vtbl->free((allocator), (block)))
69 #define TidyPanic(allocator, msg) ((allocator)->vtbl->panic((allocator), (msg)))
70 #define TidyClearMemory(block, size) memset((block), 0, (size))
#define TY_PRIVATE
Definition: forward.h:29
#define TY_(str)
Definition: forward.h:23
Definition: streamio.h:64
Definition: streamio.h:104
Definition: tidy-int.h:37
The basic struct for communicating a message within LibTidy.
Definition: tidy-int.h:102
Defines HTML Tidy public API implemented by LibTidy.