LispBM
|
#include "lispbm.h"
Functions | |
int | lbm_init (lbm_cons_t *heap_storage, lbm_uint heap_size, lbm_uint *memory, lbm_uint memory_size, lbm_uint *memory_bitmap, lbm_uint bitmap_size, lbm_uint gc_stack_size, lbm_uint print_stack_size, lbm_extension_t *extension_storage, lbm_uint extension_storage_size) |
int lbm_init | ( | lbm_cons_t * | heap_storage, |
lbm_uint | heap_size, | ||
lbm_uint * | memory, | ||
lbm_uint | memory_size, | ||
lbm_uint * | memory_bitmap, | ||
lbm_uint | bitmap_size, | ||
lbm_uint | gc_stack_size, | ||
lbm_uint | print_stack_size, | ||
lbm_extension_t * | extension_storage, | ||
lbm_uint | extension_storage_size | ||
) |
Initialize lispBM. This function initials all subsystems by calling:
heap_storage | Pointer to array of lbm_cons_t to use as heap. This array must be aligned 4 at least. |
heap_size | Size of heap storage array in number of lm_cons_t. |
memory | Pointer to lbm_uint array to use for the arrays and symbols memory. This array must be aligned 4 at least. |
memory_size | Size of the memory array. |
memory_bitmap | Pointer to lbm_uint array to use for the memory subsystem meta-data. |
bitmap_size | Size of the memory meta-data array. |
gc_stack_size | Size in number of lbm_uint values to use for the GC stack. |
print_stack_size | Size in number of lbm_uint values of the print stack. |
extension_storage | Array of lbm_extension_t pointers. |
extension_storage_size | Size of extension array. |