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

mruby/c Symbol class More...

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

Go to the source code of this file.

Macros

#define MRBC_SYM(sym)

Functions

static const char * mrbc_symbol_cstr (const mrbc_value *v)
static int mrbc_is_nested_symid (mrbc_sym sym_id)

Detailed Description

mruby/c Symbol 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 symbol.h.

Macro Definition Documentation

◆ MRBC_SYM

#define MRBC_SYM ( sym)
Value:
MRBC_SYMID_##sym

Macros to specify built-in symbol IDs.

Definition at line 31 of file symbol.h.

Function Documentation

◆ mrbc_is_nested_symid()

int mrbc_is_nested_symid ( mrbc_sym sym_id)
inlinestatic

is nested symbol ID ?

Parameters
sym_idtarget symbol ID.
Returns
int result.
See also
make_nested_symbol_s

Definition at line 71 of file symbol.h.

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

◆ mrbc_symbol_cstr()

const char * mrbc_symbol_cstr ( const mrbc_value * v)
inlinestatic

get c-language string (char *)

Definition at line 58 of file symbol.h.

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