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

Go to the source code of this file.

Data Structures

struct  reduct_cmp_val_t
 

Functions

REDUCT_API void reduct_handle_get_string_params (reduct_t *reduct, reduct_handle_t *handle, char **outStr, reduct_size_t *outLen)
 
REDUCT_API void reduct_handle_ensure_item (reduct_t *reduct, reduct_handle_t *handle)
 
REDUCT_API reduct_item_treduct_handle_item (reduct_t *reduct, reduct_handle_t *handle)
 
REDUCT_API void reduct_handle_promote (struct reduct *reduct, reduct_handle_t *a, reduct_handle_t *b, reduct_promotion_t *out)
 Promote two handles to a common numeric type.
 
REDUCT_API reduct_bool_t reduct_handle_is_equal (reduct_t *reduct, reduct_handle_t *a, reduct_handle_t *b)
 
static void reduct_handle_unpack (reduct_handle_t *handle, reduct_cmp_val_t *out)
 
REDUCT_API reduct_int64_t reduct_handle_compare (reduct_t *reduct, reduct_handle_t *a, reduct_handle_t *b)
 
REDUCT_API reduct_handle_t reduct_handle_nil (reduct_t *reduct)
 
REDUCT_API reduct_handle_t reduct_handle_pi (reduct_t *reduct)
 
REDUCT_API reduct_handle_t reduct_handle_e (reduct_t *reduct)
 

Function Documentation

◆ reduct_handle_get_string_params()

REDUCT_API void reduct_handle_get_string_params ( reduct_t reduct,
reduct_handle_t handle,
char **  outStr,
reduct_size_t outLen 
)

Definition at line 13 of file handle_impl.h.

Here is the call graph for this function:

◆ reduct_handle_ensure_item()

REDUCT_API void reduct_handle_ensure_item ( reduct_t reduct,
reduct_handle_t handle 
)

Definition at line 26 of file handle_impl.h.

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

◆ reduct_handle_item()

REDUCT_API reduct_item_t * reduct_handle_item ( reduct_t reduct,
reduct_handle_t handle 
)

Definition at line 47 of file handle_impl.h.

Here is the call graph for this function:

◆ reduct_handle_is_equal()

REDUCT_API reduct_bool_t reduct_handle_is_equal ( reduct_t reduct,
reduct_handle_t a,
reduct_handle_t b 
)

Definition at line 118 of file handle_impl.h.

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

◆ reduct_handle_unpack()

static void reduct_handle_unpack ( reduct_handle_t handle,
reduct_cmp_val_t out 
)
inlinestatic

Definition at line 200 of file handle_impl.h.

Here is the caller graph for this function:

◆ reduct_handle_compare()

REDUCT_API reduct_int64_t reduct_handle_compare ( reduct_t reduct,
reduct_handle_t a,
reduct_handle_t b 
)

Definition at line 249 of file handle_impl.h.

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

◆ reduct_handle_nil()

REDUCT_API reduct_handle_t reduct_handle_nil ( reduct_t reduct)

Definition at line 333 of file handle_impl.h.

◆ reduct_handle_pi()

REDUCT_API reduct_handle_t reduct_handle_pi ( reduct_t reduct)

Definition at line 340 of file handle_impl.h.

◆ reduct_handle_e()

REDUCT_API reduct_handle_t reduct_handle_e ( reduct_t reduct)

Definition at line 347 of file handle_impl.h.