(b76ad15ed0da636161de0243c547ee1e6fc95681)
Go to the source code of this file.
|
#define | id_div idDiv |
|
#define | id_each idEach |
|
#define | id_eqq idEqq |
|
#define | id_cmp idCmp |
|
#define | id_lshift idLTLT |
|
#define | id_call idCall |
|
#define | id_size idSize |
|
#define | ENUM_WANT_SVALUE() |
|
#define | COUNT_BIGNUM IMEMO_FL_USER0 |
|
#define | MEMO_V3_SET(m, v) RB_OBJ_WRITE((m), &(m)->u3.value, (v)) |
|
#define | SORT_BY_BUFSIZE 16 |
|
#define | ENUMFUNC(name) argc ? name##_eqq : rb_block_given_p() ? name##_iter_i : name##_i |
|
#define | MEMO_ENUM_NEW(v1) (rb_check_arity(argc, 0, 1), MEMO_NEW((v1), (argc ? *argv : 0), 0)) |
|
#define | DEFINE_ENUMFUNCS(name) |
|
#define | WARN_UNUSED_BLOCK(argc) |
|
#define | rb_cmpint(cmp, a, b) rb_cmpint(cmpint_reenter_check(data, (cmp)), a, b) |
|
#define | GETPTR(i) (beg+(i)*eltsize) |
|
#define | SWAP(i, j) |
|
#define | dont_recycle_block_arg(arity) ((arity) == 1 || (arity) < 0) |
|
#define | UPDATE_MEMO ((void)(memo = MEMO_FOR(struct sliceafter_arg, _memo))) |
|
#define | UPDATE_MEMO ((void)(memo = MEMO_FOR(struct slicewhen_arg, _memo))) |
|
◆ COUNT_BIGNUM
◆ DEFINE_ENUMFUNCS
#define DEFINE_ENUMFUNCS |
( |
|
name | ) |
|
Value:
\
static VALUE \
{ \
} \
\
static VALUE \
{ \
} \
\
static VALUE \
{ \
ENUM_WANT_SVALUE(); \
} \
\
static VALUE \
Definition at line 1378 of file enum.c.
◆ dont_recycle_block_arg
#define dont_recycle_block_arg |
( |
|
arity | ) |
((arity) == 1 || (arity) < 0) |
◆ ENUM_WANT_SVALUE
#define ENUM_WANT_SVALUE |
( |
| ) |
|
Value:
Definition at line 60 of file enum.c.
◆ ENUMFUNC
◆ GETPTR
#define GETPTR |
( |
|
i | ) |
(beg+(i)*eltsize) |
◆ id_call
◆ id_cmp
◆ id_div
◆ id_each
◆ id_eqq
◆ id_lshift
◆ id_size
◆ MEMO_ENUM_NEW
◆ MEMO_V3_SET
#define MEMO_V3_SET |
( |
|
m, |
|
|
|
v |
|
) |
| RB_OBJ_WRITE((m), &(m)->u3.value, (v)) |
◆ rb_cmpint
#define rb_cmpint |
( |
|
cmp, |
|
|
|
a, |
|
|
|
b |
|
) |
| rb_cmpint(cmpint_reenter_check(data, (cmp)), a, b) |
◆ SORT_BY_BUFSIZE
#define SORT_BY_BUFSIZE 16 |
◆ SWAP
Value: do { \
VALUE tmp[2]; \
} while (0)
◆ UPDATE_MEMO [1/2]
◆ UPDATE_MEMO [2/2]
◆ WARN_UNUSED_BLOCK
#define WARN_UNUSED_BLOCK |
( |
|
argc | ) |
|
Value: do { \
rb_warn("given block not used"); \
} \
} while (0)
Definition at line 1403 of file enum.c.
◆ DEFINE_ENUMFUNCS() [1/4]
◆ DEFINE_ENUMFUNCS() [2/4]
◆ DEFINE_ENUMFUNCS() [3/4]
DEFINE_ENUMFUNCS |
( |
none |
| ) |
|
◆ DEFINE_ENUMFUNCS() [4/4]
◆ Init_Enumerable()
void Init_Enumerable |
( |
void |
| ) |
|
◆ NORETURN()
NORETURN |
( |
static VALUE |
first_iRB_BLOCK_CALL_FUNC_ARGLIST(i, params) | ) |
|
◆ rb_enum_values_pack()
◆ rb_nmin_run()
◆ rb_mEnumerable