Header: mruby/istruct.h

Function Summary collapse

Define Summary

#define MRUBY_ISTRUCT_H
#define ISTRUCT_DATA_SIZE

Inline structures that fit in RVALUE

They cannot have finalizer, and cannot have instance variables.

#define RISTRUCT
#define ISTRUCT_PTR

Function Details

mrb_int mrb_istruct_size(void)

void* mrb_istruct_ptr(mrb_value object)

void mrb_istruct_copy(mrb_value dest, mrb_value src)