HTML Tidy 5.8.0
The HTACG Tidy HTML Project
 
Loading...
Searching...
No Matches
forward.h File Reference

Go to the source code of this file.

Macros

#define TidyAlloc(allocator, size)
 Wrappers for easy memory allocation using an allocator.
 
#define TidyClearMemory(block, size)
 
#define TidyFree(allocator, block)
 
#define TidyPanic(allocator, msg)
 
#define TidyRealloc(allocator, block, size)
 
#define TY_(str)
 
#define TY_PRIVATE   __attribute__((__visibility__("hidden")))
 
#define TYDYAPPEND(str1, str2)
 

Variables

TY_PRIVATE TidyAllocator TY_❪g_default_allocator❫
 

Macro Definition Documentation

◆ TidyAlloc

#define TidyAlloc ( allocator,
size )
Value:
((allocator)->vtbl->alloc((allocator), (size)))

Wrappers for easy memory allocation using an allocator.

◆ TidyClearMemory

#define TidyClearMemory ( block,
size )
Value:
memset((block), 0, (size))

◆ TidyFree

#define TidyFree ( allocator,
block )
Value:
((allocator)->vtbl->free((allocator), (block)))

◆ TidyPanic

#define TidyPanic ( allocator,
msg )
Value:
((allocator)->vtbl->panic((allocator), (msg)))

◆ TidyRealloc

#define TidyRealloc ( allocator,
block,
size )
Value:
((allocator)->vtbl->realloc((allocator), (block), (size)))

◆ TY_

#define TY_ ( str)
Value:
TYDYAPPEND(prvTidy,str)
#define TYDYAPPEND(str1, str2)
Definition forward.h:22

◆ TY_PRIVATE

#define TY_PRIVATE   __attribute__((__visibility__("hidden")))

◆ TYDYAPPEND

#define TYDYAPPEND ( str1,
str2 )
Value:
str1##str2

Variable Documentation

◆ TY_❪g_default_allocator❫

TY_PRIVATE TidyAllocator TY_❪g_default_allocator❫
extern