Fix a -Wmaybe-uninitialized
[ruby.git] / internal / enumerator.h
blobe11a684c5bda58660952300fc5b734ed97749472
1 #ifndef INTERNAL_ENUMERATOR_H /*-*-C-*-vi:se ft=c:*/
2 #define INTERNAL_ENUMERATOR_H
3 /**
4 * @author Ruby developers <ruby-core@ruby-lang.org>
5 * @copyright This file is a part of the programming language Ruby.
6 * Permission is hereby granted, to either redistribute and/or
7 * modify this file, provided that the conditions mentioned in the
8 * file COPYING are met. Consult the file for details.
9 * @brief Internal header for Enumerator.
11 #include "ruby/ruby.h" /* for VALUE */
12 #include "ruby/intern.h" /* for rb_enumerator_size_func */
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
21 #endif /* INTERNAL_ENUMERATOR_H */