File tree Expand file tree Collapse file tree 2 files changed +0
-19
lines changed Expand file tree Collapse file tree 2 files changed +0
-19
lines changed Original file line number Diff line number Diff line change 3737//#define ENABLE_TRACE
3838#include "trace.h"
3939
40- #define VALIDATE_VALUE (value , verify_function ) \
41- if (UNLIKELY(!verify_function((value)))) { \
42- argv[0] = ERROR_ATOM; \
43- argv[1] = BADARG_ATOM; \
44- return term_invalid_term(); \
45- }
46-
47- #define RAISE_ERROR (error_type_atom ) \
48- ctx->x[0] = ERROR_ATOM; \
49- ctx->x[1] = (error_type_atom); \
50- return term_invalid_term();
51-
5240#if ATOMVM_HAS_MBEDTLS
5341
5442// declared in otp_crypt
Original file line number Diff line number Diff line change 4444// #define ENABLE_TRACE
4545#include "trace.h"
4646
47- #define VALIDATE_VALUE (value , verify_function ) \
48- if (UNLIKELY(!verify_function((value)))) { \
49- argv[0] = ERROR_ATOM; \
50- argv[1] = BADARG_ATOM; \
51- return term_invalid_term(); \
52- }
53-
5447static term nif_atomvm_platform (Context * ctx , int argc , term argv [])
5548{
5649 UNUSED (ctx );
You can’t perform that action at this time.
0 commit comments