Ruby
3.5.0dev (2025-01-10 revision 5fab31b15e32622c4b71d1d347a41937e9f9c212)
internal
enumerator.h
1
#ifndef INTERNAL_ENUMERATOR_H
/*-*-C-*-vi:se ft=c:*/
2
#define INTERNAL_ENUMERATOR_H
11
#include "
ruby/ruby.h
"
/* for VALUE */
12
#include "
ruby/intern.h
"
/* for rb_enumerator_size_func */
13
14
RUBY_SYMBOL_EXPORT_BEGIN
15
/* enumerator.c (export) */
16
VALUE
rb_arith_seq_new(
VALUE
obj,
VALUE
meth,
int
argc,
VALUE
const
*argv,
17
rb_enumerator_size_func
*size_fn,
18
VALUE
beg,
VALUE
end,
VALUE
step,
int
excl);
19
RUBY_SYMBOL_EXPORT_END
20
21
#endif
/* INTERNAL_ENUMERATOR_H */
rb_enumerator_size_func
VALUE rb_enumerator_size_func(VALUE recv, VALUE argv, VALUE eobj)
This is the type of functions that rb_enumeratorize_with_size() expects.
Definition
enumerator.h:45
intern.h
ruby.h
VALUE
uintptr_t VALUE
Type that represents a Ruby object.
Definition
value.h:40
Generated by
1.9.8