LispBM
Functions
lbm_defrag_mem.h File Reference
#include <heap.h>
#include <stdint.h>
Include dependency graph for lbm_defrag_mem.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

lbm_value lbm_defrag_mem_create (lbm_uint nbytes)
 
void lbm_defrag_mem_destroy (lbm_uint *ptr)
 
lbm_value lbm_defrag_mem_alloc (lbm_uint *defrag_mem, lbm_uint nbytes)
 
void lbm_defrag_mem_free (lbm_uint *data)
 
static bool lbm_defrag_mem_valid (lbm_value arr)
 
static bool lbm_is_defrag_mem (lbm_value x)
 

Function Documentation

◆ lbm_defrag_mem_alloc()

lbm_value lbm_defrag_mem_alloc ( lbm_uint defrag_mem,
lbm_uint  nbytes 
)

◆ lbm_defrag_mem_create()

lbm_value lbm_defrag_mem_create ( lbm_uint  nbytes)

◆ lbm_defrag_mem_destroy()

void lbm_defrag_mem_destroy ( lbm_uint ptr)

◆ lbm_defrag_mem_free()

void lbm_defrag_mem_free ( lbm_uint data)

◆ lbm_defrag_mem_valid()

static bool lbm_defrag_mem_valid ( lbm_value  arr)
inlinestatic

◆ lbm_is_defrag_mem()

static bool lbm_is_defrag_mem ( lbm_value  x)
inlinestatic