1#ifndef INTERNAL_RANGE_H
2#define INTERNAL_RANGE_H
11#include "internal/struct.h"
21 return RSTRUCT(r)->as.ary[0];
27 return RSTRUCT_GET(r, 1);
33 return RSTRUCT_GET(r, 2);
37rb_range_component_beg_len(
VALUE b,
VALUE e,
int excl,
38 long *begp,
long *lenp,
long len,
int err);
int len
Length of the buffer.
uintptr_t VALUE
Type that represents a Ruby object.