|
Ruby 4.1.0dev (2026-11-19 revision 1e71e987c206d5d77bf37e883aaa6262747b2458)
|
#include "ruby/internal/config.h"#include "ruby/internal/attr/deprecated.h"#include "ruby/internal/attr/warning.h"#include "ruby/internal/cast.h"#include "ruby/internal/core/rbasic.h"#include "ruby/internal/dllexport.h"#include "ruby/internal/fl_type.h"#include "ruby/internal/value.h"#include "ruby/internal/value_type.h"#include "ruby/defines.h"

Go to the source code of this file.
Data Structures | |
| struct | RData |
Macros | |
| #define | RUBY_DEFAULT_FREE RBIMPL_DATA_FUNC(-1) |
| This is a value you can set to ::RData::dfree. | |
| #define | RUBY_NEVER_FREE RBIMPL_DATA_FUNC(0) |
| This is a value you can set to ::RData::dfree. | |
Typedefs | |
| typedef void(* | RUBY_DATA_FUNC) (void *) |
| This is the type of callbacks registered to RData. | |
Defines struct RData.
Definition in file rdata.h.
| #define RUBY_DEFAULT_FREE RBIMPL_DATA_FUNC(-1) |
This is a value you can set to ::RData::dfree.
Setting this means the data was allocated using ruby_xmalloc() (or variants), and shall be freed using ruby_xfree().
| #define RUBY_NEVER_FREE RBIMPL_DATA_FUNC(0) |