mruby/c VM Source Code release 3.4
Loading...
Searching...
No Matches
c_array.h File Reference

mruby/c Array class More...

#include "alloc.h"
#include "value.h"
Include dependency graph for c_array.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  RArray
 Array object. More...

Typedefs

typedef struct RArray mrbc_array
 Array object.

Functions

static int mrbc_array_size (const mrbc_value *ary)
static int mrbc_array_include (const mrbc_value *ary, const mrbc_value *val)
static void mrbc_array_delete_handle (mrbc_value *ary)

Detailed Description

mruby/c Array class

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

This file is distributed under BSD 3-Clause License.

Definition in file c_array.h.

Typedef Documentation

◆ mrbc_array

typedef struct RArray mrbc_array

Array object.

Function Documentation

◆ mrbc_array_delete_handle()

void mrbc_array_delete_handle ( mrbc_value * ary)
inlinestatic

delete handle (do not decrement reference counter)

Definition at line 103 of file c_array.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ mrbc_array_include()

int mrbc_array_include ( const mrbc_value * ary,
const mrbc_value * val )
inlinestatic

check inclusion

Parameters
arysource
valobject if it is included
Returns
0 if not included.

Definition at line 94 of file c_array.h.

Here is the call graph for this function:

◆ mrbc_array_size()

int mrbc_array_size ( const mrbc_value * ary)
inlinestatic

get size

Definition at line 81 of file c_array.h.

Here is the caller graph for this function: