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);
31void rb_gvar_ractor_local(
const char *name);
32void rb_gvar_namespace_ready(
const char *name);
52void rb_obj_copy_ivs_to_hash_table(
VALUE obj,
st_table *table);
54void rb_evict_ivars_to_hash(
VALUE obj);
55void rb_evict_fields_to_hash(
VALUE obj);
56VALUE rb_obj_field_get(
VALUE obj, shape_id_t target_shape_id);
58void rb_obj_field_set(
VALUE obj, shape_id_t target_shape_id,
VALUE val);
60RUBY_SYMBOL_EXPORT_BEGIN
62void rb_mark_generic_ivar(
VALUE obj);
73void rb_ensure_iv_list_size(
VALUE obj, uint32_t
len, uint32_t newsize);
74attr_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.
Internal header for Namespace.
uintptr_t ID
Type that represents a Ruby identifier such as a variable name.
uintptr_t VALUE
Type that represents a Ruby object.