mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-05-19 05:39:18 +02:00
Adding sexp_length macro.
This commit is contained in:
parent
a958987144
commit
ed4cef9294
1 changed files with 1 additions and 0 deletions
|
@ -1538,6 +1538,7 @@ SEXP_API sexp sexp_finalize_c_type (sexp ctx, sexp self, sexp_sint_t n, sexp obj
|
||||||
#define sexp_equalp(ctx, a, b) sexp_equalp_op(ctx, NULL, 2, a, b)
|
#define sexp_equalp(ctx, a, b) sexp_equalp_op(ctx, NULL, 2, a, b)
|
||||||
#define sexp_listp(ctx, x) sexp_listp_op(ctx, NULL, 1, x)
|
#define sexp_listp(ctx, x) sexp_listp_op(ctx, NULL, 1, x)
|
||||||
#define sexp_length(ctx, x) sexp_length_op(ctx, NULL, 1, x)
|
#define sexp_length(ctx, x) sexp_length_op(ctx, NULL, 1, x)
|
||||||
|
#define sexp_length_unboxed(x) sexp_unbox_fixnum(sexp_length(NULL, x))
|
||||||
#define sexp_reverse(ctx, x) sexp_reverse_op(ctx, NULL, 1, x)
|
#define sexp_reverse(ctx, x) sexp_reverse_op(ctx, NULL, 1, x)
|
||||||
#define sexp_nreverse(ctx, x) sexp_nreverse_op(ctx, NULL, 1, x)
|
#define sexp_nreverse(ctx, x) sexp_nreverse_op(ctx, NULL, 1, x)
|
||||||
#define sexp_copy_list(ctx, x) sexp_copy_list_op(ctx, NULL, 1, x)
|
#define sexp_copy_list(ctx, x) sexp_copy_list_op(ctx, NULL, 1, x)
|
||||||
|
|
Loading…
Add table
Reference in a new issue