Ruby: rb_classext_struct Struct Reference

Ruby 3.3.4p94 (2024-07-09 revision be1089c8ec5ba40e09b1553e36b3174bf4014d9d)

Data Fields
rb_classext_struct Struct Reference

## Data Fields
VALUE * | iv_ptr
struct rb_id_table * | const_tbl
struct rb_id_table * | callable_m_tbl
struct rb_id_table * | cc_tbl
struct rb_id_table * | cvc_tbl
size_t | superclass_depth
VALUE * | superclasses
struct rb_subclass_entry * | subclasses
struct rb_subclass_entry * | subclass_entry
struct rb_subclass_entry * | module_subclass_entry
| In the case that this is an `ICLASS`, `module_subclasses` points to the link in the module's `subclasses` list that indicates that the klass has been included.
const VALUE | origin_
const VALUE | refined_class
union { |
struct { |
rb_alloc_func_t allocator |
} class |
struct { |
VALUE attached_object |
} singleton_class |
} | as |
const VALUE | includer
attr_index_t | max_iv_count
unsigned char | variation_count
bool | permanent_classpath: 1
bool | cloned: 1
VALUE | classpath

## Detailed Description

Definition at line 43 of file class.h.

## Field Documentation

## ◆ allocator

rb_alloc_func_t rb_classext_struct::allocator

Definition at line 63 of file class.h.

## ◆ attached_object

VALUE rb_classext_struct::attached_object

Definition at line 66 of file class.h.

## ◆ callable_m_tbl

struct rb_id_table* rb_classext_struct::callable_m_tbl

Definition at line 46 of file class.h.

## ◆ cc_tbl

struct rb_id_table* rb_classext_struct::cc_tbl

Definition at line 47 of file class.h.

## ◆ classpath

VALUE rb_classext_struct::classpath

Definition at line 74 of file class.h.

## ◆ cloned

bool rb_classext_struct::cloned

Definition at line 73 of file class.h.

## ◆ const_tbl

struct rb_id_table* rb_classext_struct::const_tbl

Definition at line 45 of file class.h.

## ◆ cvc_tbl

struct rb_id_table* rb_classext_struct::cvc_tbl

Definition at line 48 of file class.h.

## ◆ includer

const VALUE rb_classext_struct::includer

Definition at line 69 of file class.h.

## ◆ iv_ptr

VALUE* rb_classext_struct::iv_ptr

Definition at line 44 of file class.h.

## ◆ max_iv_count

attr_index_t rb_classext_struct::max_iv_count

Definition at line 70 of file class.h.

## ◆ module_subclass_entry

struct rb_subclass_entry* rb_classext_struct::module_subclass_entry

In the case that this is an `ICLASS`, `module_subclasses` points to the link in the module's `subclasses` list that indicates that the klass has been included.

Hopefully that makes sense.

Definition at line 58 of file class.h.

## ◆ origin_

const VALUE rb_classext_struct::origin_

Definition at line 59 of file class.h.

## ◆ permanent_classpath

bool rb_classext_struct::permanent_classpath

Definition at line 72 of file class.h.

## ◆ refined_class

const VALUE rb_classext_struct::refined_class

Definition at line 60 of file class.h.

## ◆ subclass_entry

struct rb_subclass_entry* rb_classext_struct::subclass_entry

Definition at line 52 of file class.h.

## ◆ subclasses

struct rb_subclass_entry* rb_classext_struct::subclasses

Definition at line 51 of file class.h.

## ◆ superclass_depth

size_t rb_classext_struct::superclass_depth

Definition at line 49 of file class.h.

## ◆ superclasses

VALUE* rb_classext_struct::superclasses

Definition at line 50 of file class.h.

## ◆ variation_count

unsigned char rb_classext_struct::variation_count

Definition at line 71 of file class.h.

The documentation for this struct was generated from the following file:

- internal/class.h