Runtime error checks including object type validation, bounds, and number of function arguments.
More...
|
#define | Cyc_check_argc(data, fnc_name, argc, expected) |
|
#define | Cyc_check_atomic(d, obj) Cyc_check_type(d,Cyc_is_atomic, atomic_tag, obj) |
|
#define | Cyc_check_bvec(d, obj) Cyc_check_type(d,Cyc_is_bytevector, bytevector_tag, obj) |
|
#define | Cyc_check_cond_var(d, obj) Cyc_check_type(d,Cyc_is_cond_var, cond_var_tag, obj) |
|
#define | Cyc_check_double(d, obj) Cyc_check_type(d,Cyc_is_double, double_tag, obj) |
|
#define | Cyc_check_fixnum(d, obj) Cyc_check_type(d,Cyc_is_fixnum, integer_tag, obj) |
|
#define | Cyc_check_int(d, obj) Cyc_check_type(d,Cyc_is_integer, integer_tag, obj) |
|
#define | Cyc_check_mutex(d, obj) Cyc_check_type(d,Cyc_is_mutex, mutex_tag, obj) |
|
#define | Cyc_check_num(d, obj) Cyc_check_type(d,Cyc_is_number, integer_tag, obj) |
|
#define | Cyc_check_num_args(data, fnc_name, num_args, args) |
|
#define | Cyc_check_opaque(d, obj) Cyc_check_type(d,Cyc_is_opaque, c_opaque_tag, obj) |
|
#define | Cyc_check_pair(d, obj) Cyc_check_type(d,Cyc_is_pair, pair_tag, obj) |
|
#define | Cyc_check_pair_or_null(d, obj) { if (obj != NULL) { Cyc_check_pair(d,obj); }} |
|
#define | Cyc_check_port(d, obj) Cyc_check_type(d,Cyc_is_port, port_tag, obj) |
|
#define | Cyc_check_proc(d, obj) Cyc_check_type2(d,Cyc_is_procedure, closureN_tag, obj) |
|
#define | Cyc_check_str(d, obj) Cyc_check_type(d,Cyc_is_string, string_tag, obj) |
|
#define | Cyc_check_sym(d, obj) Cyc_check_type(d,Cyc_is_symbol, symbol_tag, obj) |
|
#define | Cyc_check_type(data, fnc_test, tag, obj) |
|
#define | Cyc_check_type2(data, fnc_test, tag, obj) |
|
#define | Cyc_check_vec(d, obj) Cyc_check_type(d,Cyc_is_vector, vector_tag, obj) |
|
#define | Cyc_verify_immutable(data, obj) |
|
#define | Cyc_verify_mutable(data, obj) |
|
Runtime error checks including object type validation, bounds, and number of function arguments.