67VALUE rb_define_class(const
char *name,
VALUE super);
69#define rb_define_class(name, super) rb_define_class_id_under(rb_cObject, rb_intern_const((name)), (super))
88VALUE rb_define_module(const
char *name);
90#define rb_define_module(name) rb_define_module_id_under(rb_cObject, rb_intern_const((name)))
113VALUE rb_define_class_under(
VALUE outer, const
char *name,
VALUE super);
115#define rb_define_class_under(outer, name, super) rb_define_class_id_under((outer), rb_intern_const((name)), (super))
130VALUE rb_define_module_under(
VALUE outer, const
char *name);
132#define rb_define_module_under(outer, name) rb_define_module_id_under((outer), rb_intern_const((name)))
Tweaking visibility of C variables/functions.
#define RBIMPL_SYMBOL_EXPORT_END()
Counterpart of RBIMPL_SYMBOL_EXPORT_BEGIN.
#define RBIMPL_SYMBOL_EXPORT_BEGIN()
Shortcut macro equivalent to RUBY_SYMBOL_EXPORT_BEGIN extern "C" {.
void rb_include_module(VALUE klass, VALUE module)
Includes a module to a class.
void rb_extend_object(VALUE obj, VALUE mod)
Extend the object with the module.
void rb_prepend_module(VALUE klass, VALUE module)
Identical to rb_include_module(), except it "prepends" the passed module to the klass,...
#define RBIMPL_ATTR_NONNULL(list)
Wraps (or simulates) __attribute__((nonnull))
uintptr_t VALUE
Type that represents a Ruby object.