nifs.h
Include dependency graph for nifs.h:
This graph shows which files directly or indirectly include nifs.h:
Private NIFs.
Defines
-
VALIDATE_VALUE(value, verify_function) if (UNLIKELY
(!verify_function((value)))) { \
argv[0] =
ERROR_ATOM; \
argv[1] =
BADARG_ATOM; \
return
term_invalid_term(); \
}
-
RAISE_ERROR(error_type_atom) ctx->x[0] = ERROR_ATOM
; \
ctx->x[1] = (error_type_atom); \
return
term_invalid_term();
Functions
-
const struct Nif *nifs_get(AtomString module, AtomString function, int arity)