Ruby: internal/enumerator.h Source File

Ruby 3.0.5p211 (2022-11-24 revision ba5cf0f7c52d4d35cc6a173c89eda98ceffa2dcf)

enumerator.h
Go to the documentation of this file.
1#ifndef INTERNAL_ENUMERATOR_H /*-*-C-*-vi:se ft=c:*/
2#define INTERNAL_ENUMERATOR_H
12#include "ruby/ruby.h" /* for VALUE */
13#include "ruby/intern.h" /* for rb_enumerator_size_func */
14
15RUBY_SYMBOL_EXPORT_BEGIN
16/* enumerator.c (export) */
17 VALUE rb_arith_seq_new(VALUE obj, VALUE meth, int argc, VALUE const *argv,
18 rb_enumerator_size_func *size_fn,
19 VALUE beg, VALUE end, VALUE step, int excl);
20RUBY_SYMBOL_EXPORT_END
21
22#endif /* INTERNAL_ENUMERATOR_H */
rb_enumerator_size_func
VALUE rb_enumerator_size_func(VALUE, VALUE, VALUE)
Definition: enumerator.h:31
intern.h
rb_arith_seq_new
VALUE rb_arith_seq_new(VALUE obj, VALUE meth, int argc, VALUE const *argv, rb_enumerator_size_func *size_fn, VALUE beg, VALUE end, VALUE step, int excl)
Definition: enumerator.c:3327
ruby.h
argc
int argc
Definition: ruby.c:240
argv
char ** argv
Definition: ruby.c:241
VALUE
unsigned long VALUE
Definition: value.h:38