|
|
MiniGUI's private block data heap.
|
|
|
Data type of the pointer to a BLOCKHEAP.
|
|
|
Allocates a data block from private heap. This function allocates a data block from an initialized block data heap. The allocated block will have the size of heap->bd_size. If there is no free block in the heap, this function will try to allocate the block from the system heap by using malloc(3) function.
|
|
||||||||||||
|
Frees an allocated data block. This function frees the specified data block pointed to by data to the heap heap. If the block was allocated by using malloc function, this function will free the element by using free(3) function.
|
|
|
Destroys a private block data heap.
|
|
||||||||||||||||
|
Initializes a private block data heap. This function initializes a block data heap pointed to by heap. It will allocate the buffer used by the heap from system heap by using malloc(3). Initially, the heap has heap_size blocks free, and each is bd_size bytes long.
|
1.4.2