Ruby 3.5.0dev (2025-01-10 revision 5fab31b15e32622c4b71d1d347a41937e9f9c212)
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
14RUBY_SYMBOL_EXPORT_BEGIN
15/* enumerator.c (export) */
16VALUE rb_arith_seq_new(VALUE obj, VALUE meth, int argc, VALUE const *argv,
18 VALUE beg, VALUE end, VALUE step, int excl);
19RUBY_SYMBOL_EXPORT_END
20
21#endif /* INTERNAL_ENUMERATOR_H */
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
uintptr_t VALUE
Type that represents a Ruby object.
Definition value.h:40