|
Defines | |
#define | CSTRING_F_TYPE_MASK (0x003f) |
#define | CSTRING_F_MEMORY_IS_INTERNAL_HEAP (0x0000) |
#define | CSTRING_F_MEMORY_IS_BORROWED (0x0001) |
#define | CSTRING_F_MEMORY_IS_FIXED (0x0002) |
#define | CSTRING_F_MEMORY_IS_READONLY (0x0004) |
#define | CSTRING_F_MEMORY_IS_CONST CSTRING_F_MEMORY_IS_READONLY |
#define | CSTRING_F_MEMORY_IS_OFFSET (0x0040) |
#define | CSTRING_F_ARENA_MASK (0xff00) |
#define | CSTRING_F_USE_REALLOC (0x0000) |
#define | CSTRING_F_USE_WIN32_GLOBAL_MEMORY (0x0100) |
#define | CSTRING_F_USE_WIN32_PROCESSHEAP_MEMORY (0x0200) |
#define | CSTRING_F_USE_WIN32_COM_TASK_MEMORY (0x0400) |
#define | CSTRING_F_USE_CUSTOMARENAFUNCTIONS (0x2000) |
#define | CSTRING_F_CUSTOMARENA_CC_CDECL (0x0000) |
#define | CSTRING_F_CUSTOMARENA_CC_STDCALL (0x0040) |
|
|
|
Treats the externally supplied allocator function as having CDecl calling convention (de-)allocation (NOT CURRENTLY SUPPORTED) |
|
Treats the externally supplied allocator function as having StdCall calling convention (de-)allocation (NOT CURRENTLY SUPPORTED) |
|
Memory is supplied external to the API, and may not be deallocated, moved or expanded.
|
|
Equivalent to CSTRING_F_MEMORY_IS_READONLY |
|
Memory is of fixed size, and any operation that requires expansion will fail |
|
Memory is allocated by the heap function, and is owned by the cstring instance |
|
cstring instance may not be modified. This flag cannot be set by client code. |
|
cstring instance may not be modified |
|
|
|
Uses an externally supplied allocator function for all memory (de-)allocation (NOT CURRENTLY SUPPORTED) |
|
Uses C standard library function realloc() for all memory (de-)allocation |
|
Uses COM Task Allocator for all memory (de-)allocation (Windows only) |
|
Uses Win32 Global Memory API for all memory (de-)allocation (Windows only) |
|
Uses Win32 Global Process Heap for all memory (de-)allocation (Windows only) |
|
cstring Library documentation © Matthew Wilson and Synesis Software Pty Ltd, 1994-2005 |