24#include "ruby/internal/config.h"
32#if !defined RUBY_EXPORT && !defined RUBY_NO_OLD_COMPATIBILITY
33# include "ruby/backward.h"
47#define RHASH_IFNONE(h) rb_hash_ifnone(h)
57#define RHASH_SIZE(h) rb_hash_size_num(h)
67#define RHASH_EMPTY_P(h) (RHASH_SIZE(h) == 0)
80#define RHASH_SET_IFNONE(h, ifnone) rb_hash_set_ifnone((VALUE)h, ifnone)
#define RBIMPL_ATTR_DEPRECATED(msg)
Wraps (or simulates) [[deprecated]]
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" {.
static st_table * RHASH_TBL(VALUE h)
Retrieves the internal table.
VALUE rb_hash_set_ifnone(VALUE hash, VALUE ifnone)
This is the implementation detail of RHASH_SET_IFNONE.
struct st_table * rb_hash_tbl(VALUE hash)
This is the implementation detail of RHASH_TBL.
size_t rb_hash_size_num(VALUE hash)
This is the implementation detail of RHASH_SIZE.
uintptr_t VALUE
Type that represents a Ruby object.