bif.c
Include dependency graph for bif.c:
Defines
-
RAISE_ERROR(error_type_atom) ctx->x[0] = ERROR_ATOM
; \
ctx->x[1] = (error_type_atom); \
return term_invalid_term();
-
VALIDATE_VALUE(value, verify_function) if (UNLIKELY(!verify_function((value)))) { \
RAISE_ERROR(BADARG_ATOM
); \
}
Typedefs
-
typedef int64_t (*bitwise_op)(int64_t a, int64_t b)
Functions
-
const struct ExportedFunction *bif_registry_get_handler(AtomString module, AtomString function, int arity)
-
static inline term make_boxed_int64(Context *ctx, uint32_t live, avm_int64_t value)
-
static inline term make_maybe_boxed_int64(Context *ctx, uint32_t live, avm_int64_t value)
-
static inline int64_t bor(int64_t a, int64_t b)
-
static inline int64_t band(int64_t a, int64_t b)
-
static inline int64_t bxor(int64_t a, int64_t b)