Ruby: include/ruby/internal/intern/range.h Source File

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

range.h
Go to the documentation of this file.
1#ifndef RBIMPL_INTERN_RANGE_H /*-*-C++-*-vi:se ft=cpp:*/
2#define RBIMPL_INTERN_RANGE_H
23#include "ruby/internal/dllexport.h"
24#include "ruby/internal/value.h"
25
26 RBIMPL_SYMBOL_EXPORT_BEGIN()
27
28/* range.c */
29 VALUE rb_range_new(VALUE, VALUE, int);
30 VALUE rb_range_beg_len(VALUE, long*, long*, long, int);
31int rb_range_values(VALUE range, VALUE *begp, VALUE *endp, int *exclp);
32
33 RBIMPL_SYMBOL_EXPORT_END()
34
35#endif /* RBIMPL_INTERN_RANGE_H */
range
#define range(low, item, hi)
Definition: date_strftime.c:21
dllexport.h
Tewaking visibility of C variables/functions.
RBIMPL_SYMBOL_EXPORT_END
#define RBIMPL_SYMBOL_EXPORT_END()
Counterpart of RBIMPL_SYMBOL_EXPORT_BEGIN.
Definition: dllexport.h:86
RBIMPL_SYMBOL_EXPORT_BEGIN
#define RBIMPL_SYMBOL_EXPORT_BEGIN()
Shortcut macro equivalent to RUBY_SYMBOL_EXPORT_BEGIN extern "C" {.
Definition: dllexport.h:77
rb_range_values
int rb_range_values(VALUE range, VALUE *begp, VALUE *endp, int *exclp)
Definition: range.c:1310
rb_range_beg_len
VALUE rb_range_beg_len(VALUE, long *, long *, long, int)
Definition: range.c:1398
rb_range_new
VALUE rb_range_new(VALUE, VALUE, int)
Definition: range.c:68
value.h
Defines VALUE and ID.
VALUE
unsigned long VALUE
Definition: value.h:38