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

Go to the source code of this file.

Functions

REDUCT_API void reduct_function_init (reduct_function_t *func)
 Initialize a function structure.
 
REDUCT_API void reduct_function_deinit (reduct_function_t *func)
 Deinitialize a function structure.
 
REDUCT_API reduct_function_treduct_function_new (reduct_t *reduct)
 
REDUCT_API void reduct_function_grow (reduct_t *reduct, reduct_function_t *func)
 
REDUCT_API reduct_const_t reduct_function_lookup_constant (reduct_t *reduct, reduct_function_t *func, reduct_const_slot_t *slot)
 

Function Documentation

◆ reduct_function_new()

REDUCT_API reduct_function_t * reduct_function_new ( reduct_t reduct)

Definition at line 43 of file function_impl.h.

Here is the call graph for this function:

◆ reduct_function_grow()

REDUCT_API void reduct_function_grow ( reduct_t reduct,
reduct_function_t func 
)

Definition at line 54 of file function_impl.h.

◆ reduct_function_lookup_constant()

REDUCT_API reduct_const_t reduct_function_lookup_constant ( reduct_t reduct,
reduct_function_t func,
reduct_const_slot_t slot 
)

Definition at line 74 of file function_impl.h.