1#ifndef RBIMPL_RSTRUCT_H
2#define RBIMPL_RSTRUCT_H
29#if !defined RUBY_EXPORT && !defined RUBY_NO_OLD_COMPATIBILITY
33#define RSTRUCT_PTR(st) rb_struct_ptr(st)
35#define RSTRUCT_LEN RSTRUCT_LEN
36#define RSTRUCT_SET RSTRUCT_SET
37#define RSTRUCT_GET RSTRUCT_GET
Defines RBIMPL_ATTR_ARTIFICIAL.
#define RBIMPL_ATTR_ARTIFICIAL()
Wraps (or simulates) __attribute__((artificial))
Tewaking 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" {.
Arithmetic conversion between C's int and Ruby's.
Arithmetic conversion between C's long and Ruby's.
VALUE rb_struct_size(VALUE s)
VALUE rb_struct_aref(VALUE, VALUE)
VALUE rb_struct_aset(VALUE, VALUE, VALUE)
Defines enum ruby_value_type.