32 #define LBM_EXTENSION(name, argv, argn) \
33 __attribute__((aligned(LBM_STORABLE_ADDRESS_ALIGNMENT))) lbm_value name(lbm_value *(argv), lbm_uint (argn))
113 #define LBM_CHECK_NUMBER_ALL() if (!lbm_check_number_all(args, argn)) {return ENC_SYM_EERROR;}
114 #define LBM_CHECK_ARGN(n) if (!lbm_check_argn(argn, n)) {return ENC_SYM_EERROR;}
115 #define LBM_CHECK_ARGN_NUMBER(n) if (!lbm_check_argn_number(args, argn, n)) {return ENC_SYM_EERROR;}
bool lbm_check_argn(lbm_uint argn, lbm_uint n)
static bool lbm_is_extension(lbm_value exp)
Definition: extensions.h:82
lbm_uint lbm_get_max_extensions(void)
bool lbm_check_true_false(lbm_value v)
extension_fptr lbm_get_extension(lbm_uint sym)
lbm_value(* extension_fptr)(lbm_value *, lbm_uint)
Definition: extensions.h:40
bool lbm_check_number_all(lbm_value *args, lbm_uint argn)
bool lbm_check_argn_number(lbm_value *args, lbm_uint argn, lbm_uint n)
bool lbm_add_extension(char *sym_str, extension_fptr ext)
lbm_uint lbm_get_num_extensions(void)
int lbm_extensions_init(extension_fptr *extension_storage, int extension_storage_size)
bool lbm_clr_extension(lbm_uint sym_id)
static lbm_type lbm_type_of(lbm_value x)
Definition: heap.h:657
uint32_t lbm_value
Definition: lbm_types.h:43