Reduct  v1.0.4-3-gdaf0d70
A functional and immutable language.
Loading...
Searching...
No Matches
item_impl.h File Reference
#include "closure.h"
#include "core.h"
#include "function.h"
#include "gc.h"
#include "item.h"
Include dependency graph for item_impl.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

static void reduct_item_init (reduct_item_t *item)
 
static reduct_item_treduct_item_pop_free_list (reduct_t *reduct)
 
REDUCT_API reduct_item_treduct_item_new (reduct_t *reduct)
 
REDUCT_API void reduct_item_free (reduct_t *reduct, reduct_item_t *item)
 
REDUCT_API reduct_int64_t reduct_item_get_int (reduct_item_t *item)
 Get the integer value of an item if it is number shaped.
 
REDUCT_API reduct_float_t reduct_item_get_float (reduct_item_t *item)
 Get the float value of an item if it is number shaped.
 
REDUCT_API const char * reduct_item_type_str (reduct_item_type_t type)
 Get the string representation of an Reduct item type.
 

Function Documentation

◆ reduct_item_init()

static void reduct_item_init ( reduct_item_t item)
inlinestatic

Definition at line 10 of file item_impl.h.

Here is the caller graph for this function:

◆ reduct_item_pop_free_list()

static reduct_item_t * reduct_item_pop_free_list ( reduct_t reduct)
inlinestatic

Definition at line 19 of file item_impl.h.

Here is the caller graph for this function:

◆ reduct_item_new()

REDUCT_API reduct_item_t * reduct_item_new ( reduct_t reduct)

Definition at line 28 of file item_impl.h.

Here is the call graph for this function:

◆ reduct_item_free()

REDUCT_API void reduct_item_free ( reduct_t reduct,
reduct_item_t item 
)

Definition at line 77 of file item_impl.h.

Here is the call graph for this function: