1#ifndef INTERNAL_RANGE_H
2#define INTERNAL_RANGE_H
11#include "internal/struct.h"
14static inline VALUE RANGE_BEG(VALUE r);
15static inline VALUE RANGE_END(VALUE r);
16static inline VALUE RANGE_EXCL(VALUE r);
21 return RSTRUCT(r)->as.ary[0];
27 return RSTRUCT(r)->as.ary[1];
33 return RSTRUCT(r)->as.ary[2];
37rb_range_component_beg_len(VALUE b, VALUE e,
int excl,
38 long *begp,
long *lenp,
long len,
int err);