mruby/c mrbc_value definition. More...
Go to the source code of this file.
Data Structures | |
| struct | RObject |
| Value object. Default version. More... | |
Macros | |
| #define | mrbc_type(o) |
| #define | mrbc_integer(o) |
| #define | mrbc_float(o) |
| #define | mrbc_symbol(o) |
| #define | mrbc_integer_value(n) |
| #define | mrbc_float_value(vm, n) |
| #define | mrbc_nil_value() |
| #define | mrbc_true_value() |
| #define | mrbc_false_value() |
| #define | mrbc_bool_value(n) |
| #define | mrbc_symbol_value(n) |
| #define | mrbc_immediate_value(...) |
| #define | mrbc_immediate_value1(type) |
| #define | mrbc_immediate_value2(type, v2) |
Typedefs | |
| typedef struct RObject | mrbc_value |
| Value object. Default version. | |
Functions | |
| static void | mrbc_set_integer (mrbc_value *p, mrbc_int_t n) |
| static void | mrbc_set_float (mrbc_value *p, mrbc_float_t d) |
| static void | mrbc_set_nil (mrbc_value *p) |
| static void | mrbc_set_true (mrbc_value *p) |
| static void | mrbc_set_false (mrbc_value *p) |
| static void | mrbc_set_bool (mrbc_value *p, int n) |
| static void | mrbc_set_symbol (mrbc_value *p, mrbc_sym sym_id) |
| static void | mrbc_set_tt (mrbc_value *p, mrbc_vtype type) |
mruby/c mrbc_value definition.
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 boxing_no.h.
| #define mrbc_bool_value | ( | n | ) |
Definition at line 69 of file boxing_no.h.
| #define mrbc_false_value | ( | ) |
Definition at line 68 of file boxing_no.h.
| #define mrbc_float | ( | o | ) |
| #define mrbc_float_value | ( | vm, | |
| n ) |
Definition at line 65 of file boxing_no.h.
| #define mrbc_immediate_value | ( | ... | ) |
Definition at line 71 of file boxing_no.h.
| #define mrbc_immediate_value1 | ( | type | ) |
Definition at line 72 of file boxing_no.h.
| #define mrbc_immediate_value2 | ( | type, | |
| v2 ) |
Definition at line 74 of file boxing_no.h.
| #define mrbc_integer | ( | o | ) |
| #define mrbc_integer_value | ( | n | ) |
Definition at line 64 of file boxing_no.h.
| #define mrbc_nil_value | ( | ) |
Definition at line 66 of file boxing_no.h.
| #define mrbc_symbol | ( | o | ) |
get symbol value (mrbc_sym) from mrbc_value.
Definition at line 60 of file boxing_no.h.
| #define mrbc_symbol_value | ( | n | ) |
Definition at line 70 of file boxing_no.h.
| #define mrbc_true_value | ( | ) |
Definition at line 67 of file boxing_no.h.
| #define mrbc_type | ( | o | ) |
get the type (mrbc_vtype) from mrbc_value.
Definition at line 57 of file boxing_no.h.
| typedef struct RObject mrbc_value |
Value object. Default version.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |