Reduct  v1.0.4-3-gdaf0d70
A functional and immutable language.
Loading...
Searching...
No Matches
gc_impl.h File Reference
#include "item.h"
#include "core.h"
#include "eval.h"
#include "gc.h"
#include "list.h"
Include dependency graph for gc_impl.h:

Go to the source code of this file.

Functions

static void reduct_gc_mark (reduct_t *reduct, reduct_item_t *item)
 
static void reduct_gc_mark_node (reduct_t *reduct, reduct_uint32_t shift, reduct_list_node_t *node)
 
static void reduct_gc_mark_list (reduct_t *reduct, reduct_list_t *list)
 
REDUCT_API void reduct_gc_if_needed (reduct_t *reduct)
 Optionally run the garbage collector if the number of allocated blocks exceeds the threshold.
 
REDUCT_API void reduct_gc (reduct_t *reduct)
 Run the garbage collector.
 

Function Documentation

◆ reduct_gc_mark()

static void reduct_gc_mark ( reduct_t reduct,
reduct_item_t item 
)
static

Definition at line 53 of file gc_impl.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ reduct_gc_mark_node()

static void reduct_gc_mark_node ( reduct_t reduct,
reduct_uint32_t  shift,
reduct_list_node_t node 
)
static

Definition at line 13 of file gc_impl.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ reduct_gc_mark_list()

static void reduct_gc_mark_list ( reduct_t reduct,
reduct_list_t list 
)
static

Definition at line 47 of file gc_impl.h.

Here is the call graph for this function:
Here is the caller graph for this function: