mruby/c VM Source Code master (2026/08/06)
Loading...
Searching...
No Matches
c_object.c File Reference

Object, Nil, True and False class. More...

#include "mrubyc.h"
#include "_autogen_class_object.h"
Include dependency graph for c_object.c:

Go to the source code of this file.

Macros

#define IS_CLASS_OR_MODULE(v)

Functions

static int set_sym_name_by_id (char *buf, int bufsiz, mrbc_sym sym_id)
void mrbc_instance_call_initialize (mrbc_vm *vm, mrbc_value v[], int argc)
void mrbc_object_inspect (mrbc_vm *vm, mrbc_value v[], int argc)

Detailed Description

Object, Nil, True and False 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_object.c.

Macro Definition Documentation

◆ IS_CLASS_OR_MODULE

#define IS_CLASS_OR_MODULE ( v)
Value:
#define mrbc_type(o)
Definition boxing_no.h:57
@ MRBC_TT_MODULE
Module.
Definition value.h:91
@ MRBC_TT_CLASS
Class.
Definition value.h:90

Definition at line 29 of file c_object.c.

Function Documentation

◆ mrbc_instance_call_initialize()

void mrbc_instance_call_initialize ( mrbc_vm * vm,
mrbc_value v[],
int argc )

call initializer

Definition at line 61 of file c_object.c.

Here is the call graph for this function:

◆ mrbc_object_inspect()

void mrbc_object_inspect ( mrbc_vm * vm,
mrbc_value v[],
int argc )

Object#inspect, Object.inspect method main routine.

Definition at line 91 of file c_object.c.

Here is the call graph for this function:

◆ set_sym_name_by_id()

int set_sym_name_by_id ( char * buf,
int bufsiz,
mrbc_sym sym_id )
static

set symbol name by symbol ID

Definition at line 38 of file c_object.c.

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