22 #define TYDYAPPEND(str1,str2) str1##str2
23 #define TY_(str) TYDYAPPEND(prvTidy,str)
39 typedef struct _Dict Dict;
48 typedef struct _Node Node;
54 typedef struct _Lexer Lexer;
56 extern TidyAllocator
TY_(g_default_allocator);
59 #define TidyAlloc(allocator, size) ((allocator)->vtbl->alloc((allocator), (size)))
60 #define TidyRealloc(allocator, block, size) ((allocator)->vtbl->realloc((allocator), (block), (size)))
61 #define TidyFree(allocator, block) ((allocator)->vtbl->free((allocator), (block)))
62 #define TidyPanic(allocator, msg) ((allocator)->vtbl->panic((allocator), (msg)))
63 #define TidyClearMemory(block, size) memset((block), 0, (size))
#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.