|
CUBRID Engine
latest
|
Allocates extra room for the size of an object. More...
#include <sizeheap.h>


Classes | |
| struct | freeObject |
Public Types | |
| enum | { Alignment } |
Public Member Functions | |
| virtual | ~SizeHeap (void) |
| void * | malloc (size_t sz) |
| void | free (void *ptr) |
Static Public Member Functions | |
| static size_t | getSize (const void *ptr) |
Private Types | |
| enum | { MAGIC_NUMBER = 0xCAFEBABE } |
Static Private Member Functions | |
| static void | setSize (void *ptr, size_t sz) |
| static freeObject * | getHeader (const void *ptr) |
Allocates extra room for the size of an object.
Definition at line 40 of file sizeheap.h.
|
private |
| Enumerator | |
|---|---|
| MAGIC_NUMBER | |
Definition at line 49 of file sizeheap.h.
| anonymous enum |
| Enumerator | |
|---|---|
| Alignment | |
Definition at line 53 of file sizeheap.h.
|
inlinevirtual |
Definition at line 56 of file sizeheap.h.
|
inline |
Definition at line 65 of file sizeheap.h.
Referenced by hl_ostk_free().

|
inlinestaticprivate |
Definition at line 89 of file sizeheap.h.
Referenced by HL::SizeHeap< ObstackHeap< 0, MallocHeap > >::free(), HL::SizeHeap< ObstackHeap< 0, MallocHeap > >::getSize(), and HL::SizeHeap< ObstackHeap< 0, MallocHeap > >::setSize().

|
inlinestatic |
Definition at line 72 of file sizeheap.h.
|
inline |
Definition at line 58 of file sizeheap.h.
Referenced by hl_ostk_alloc().

|
inlinestaticprivate |
Definition at line 84 of file sizeheap.h.