Ruby: internal/range.h File Reference

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

Functions
range.h File Reference

Internal header for Range. More...

`#include "internal/struct.h"`

Go to the source code of this file.

## Functions
VALUE | rb_range_component_beg_len (VALUE b, VALUE e, int excl, long *begp, long *lenp, long len, int err)

## Detailed Description

Internal header for Range.

Author
  Ruby developers ruby-.nosp@m.core.nosp@m.@ruby.nosp@m.-lan.nosp@m.g.org

Copyright
  This file is a part of the programming language Ruby. Permission is hereby granted, to either redistribute and/or modify this file, provided that the conditions mentioned in the file COPYING are met. Consult the file for details.

Definition in file range.h.

## Function Documentation

## ◆ rb_range_component_beg_len()

VALUE rb_range_component_beg_len | ( | VALUE | b,
|  | VALUE | e,
|  | int | excl,
|  | long * | begp,
|  | long * | lenp,
|  | long | len,
|  | int | err
| ) |  |

Definition at line 1362 of file range.c.

References err, len, NIL_P, NUM2LONG, Qnil, and Qtrue.

Referenced by rb_arithmetic_sequence_beg_len_step(), and rb_range_beg_len().