mruby/c VM Source Code release 4.0.0
Loading...
Searching...
No Matches
c_range.h File Reference

mruby/c Range class More...

#include "value.h"
#include "vm.h"
Include dependency graph for c_range.h:

Go to the source code of this file.

Data Structures

struct  RRange
 Range object. More...

Typedefs

typedef struct RRange mrbc_range
 Range object.

Functions

static mrbc_value mrbc_range_first (const mrbc_value *v)
static mrbc_valuemrbc_range_first_p (const mrbc_value *v)
static mrbc_value mrbc_range_last (const mrbc_value *v)
static mrbc_valuemrbc_range_last_p (const mrbc_value *v)
static int mrbc_range_exclude_end (const mrbc_value *v)

Detailed Description

mruby/c Range class

Copyright (C) 2015-      Kyushu Institute of Technology.
Copyright (C) 2015-2026  Shimane IT Open-Innovation Center.
Copyright (C) 2026-      Shimane Institute for Industrial Technology.

This file is distributed under BSD 3-Clause License.

Definition in file c_range.h.

Typedef Documentation

◆ mrbc_range

typedef struct RRange mrbc_range

Range object.

Function Documentation

◆ mrbc_range_exclude_end()

int mrbc_range_exclude_end ( const mrbc_value * v)
inlinestatic

get exclude_end?

Definition at line 98 of file c_range.h.

Here is the caller graph for this function:

◆ mrbc_range_first()

mrbc_value mrbc_range_first ( const mrbc_value * v)
inlinestatic

get first value

Definition at line 66 of file c_range.h.

◆ mrbc_range_first_p()

mrbc_value * mrbc_range_first_p ( const mrbc_value * v)
inlinestatic

get first value pointer

Definition at line 74 of file c_range.h.

Here is the caller graph for this function:

◆ mrbc_range_last()

mrbc_value mrbc_range_last ( const mrbc_value * v)
inlinestatic

get last value

Definition at line 82 of file c_range.h.

◆ mrbc_range_last_p()

mrbc_value * mrbc_range_last_p ( const mrbc_value * v)
inlinestatic

get last value pointer

Definition at line 90 of file c_range.h.

Here is the caller graph for this function: