1#ifndef INTERNAL_VARIABLE_H
2#define INTERNAL_VARIABLE_H
11#include "ruby/internal/config.h"
19void rb_gc_mark_global_tbl(
void);
20void rb_gc_update_global_tbl(
void);
21size_t rb_generic_ivar_memsize(
VALUE);
30void rb_gvar_ractor_local(
const char *name);
50void rb_obj_copy_ivs_to_hash_table(
VALUE obj,
st_table *table);
51void rb_obj_convert_to_too_complex(
VALUE obj,
st_table *table);
52void rb_evict_ivars_to_hash(
VALUE obj);
54RUBY_SYMBOL_EXPORT_BEGIN
56void rb_mark_generic_ivar(
VALUE obj);
57void rb_ref_update_generic_ivar(
VALUE);
69void rb_ensure_iv_list_size(
VALUE obj, uint32_t
len, uint32_t newsize);
70attr_index_t rb_obj_ivar_set(
VALUE obj,
ID id,
VALUE val);
void rb_gvar_setter_t(VALUE val, ID id, VALUE *data)
Type that represents a global variable setter function.
rb_gvar_setter_t rb_gvar_readonly_setter
This function just raises rb_eNameError.
VALUE rb_gvar_getter_t(ID id, VALUE *data)
Type that represents a global variable getter function.
int len
Length of the buffer.
#define _(args)
This was a transition path from K&R to ANSI.
uintptr_t ID
Type that represents a Ruby identifier such as a variable name.
uintptr_t VALUE
Type that represents a Ruby object.