23#include "ruby/internal/config.h"
31#include "ruby/internal/cast.h"
40#ifndef RUBY_UNTYPED_DATA_WARNING
41#define RUBY_UNTYPED_DATA_WARNING 1
44#define RBIMPL_DATA_FUNC(f) RBIMPL_CAST((void (*)(void *))(f))
56#define RUBY_DEFAULT_FREE RBIMPL_DATA_FUNC(-1)
63#define RUBY_NEVER_FREE RBIMPL_DATA_FUNC(0)
Defines RBIMPL_ATTR_WARNING.
Defines RBIMPL_ATTR_DEPRECATED.
Tweaking visibility of C variables/functions.
Defines enum ruby_fl_type.
void(* RUBY_DATA_FUNC)(void *)
This is the type of callbacks registered to RData.
Ruby object's base components.
uintptr_t VALUE
Type that represents a Ruby object.
Defines enum ruby_value_type.