33 #if defined (SERVER_MODE) 66 int chunk_size, rec_size;
69 chunk_size = rec_size * recs_per_chunk;
95 if (heap_id && (size > 0))
void hl_fixed_free(UINTPTR heap_id, void *ptr)
void * hl_fixed_alloc(UINTPTR heap_id, size_t sz)
void * db_fixed_alloc(HL_HEAPID heap_id, size_t size)
void hl_unregister_fixed_heap(UINTPTR heap_id)
void db_destroy_fixed_heap(HL_HEAPID heap_id)
static int compute_rec_size(int nominal_size)
UINTPTR hl_register_fixed_heap(int chunk_size)
HL_HEAPID db_create_fixed_heap(int req_size, int recs_per_chunk)
void db_fixed_free(HL_HEAPID heap_id, void *ptr)
int db_align_to(int n, int alignment)