Ruby 3.2.1p31 (2023-02-08 revision 31819e82c88c6f8ecfaeb162519bfa26a14b21fd)
Public Member Functions | Data Fields
rb_method_definition_struct Struct Reference

Public Member Functions

 BITFIELD (rb_method_type_t, type, VM_METHOD_TYPE_MINIMUM_BITS)
 

Data Fields

unsigned int iseq_overload: 1
 
int alias_count: 27
 
int complemented_count: 28
 
unsigned int no_redef_warning: 1
 
union {
   rb_method_iseq_t   iseq
 
   rb_method_cfunc_t   cfunc
 
   rb_method_attr_t   attr
 
   rb_method_alias_t   alias
 
   rb_method_refined_t   refined
 
   rb_method_bmethod_t   bmethod
 
   rb_method_optimized_t   optimized
 
body
 
ID original_id
 
uintptr_t method_serial
 
rb_method_type_t type: 4
 
union {
   rb_method_iseq_t   iseq
 
   rb_method_cfunc_t   cfunc
 
   rb_method_attr_t   attr
 
   rb_method_alias_t   alias
 
   rb_method_refined_t   refined
 
   rb_method_bmethod_t   bmethod
 
   rb_method_optimized_t   optimized
 
body
 

Detailed Description

Definition at line 178 of file method.h.

Field Documentation

◆ alias

rb_method_alias_t rb_method_definition_struct::alias

Definition at line 189 of file method.h.

◆ alias_count

int rb_method_definition_struct::alias_count

Definition at line 181 of file method.h.

◆ attr

rb_method_attr_t rb_method_definition_struct::attr

Definition at line 188 of file method.h.

◆ bmethod

rb_method_bmethod_t rb_method_definition_struct::bmethod

Definition at line 191 of file method.h.

◆ cfunc

rb_method_cfunc_t rb_method_definition_struct::cfunc

Definition at line 187 of file method.h.

◆ complemented_count

int rb_method_definition_struct::complemented_count

Definition at line 182 of file method.h.

◆ iseq

rb_method_iseq_t rb_method_definition_struct::iseq

Definition at line 186 of file method.h.

◆ iseq_overload

unsigned int rb_method_definition_struct::iseq_overload

Definition at line 180 of file method.h.

◆ method_serial

uintptr_t rb_method_definition_struct::method_serial

Definition at line 196 of file method.h.

◆ no_redef_warning

unsigned int rb_method_definition_struct::no_redef_warning

Definition at line 183 of file method.h.

◆ optimized

rb_method_optimized_t rb_method_definition_struct::optimized

Definition at line 192 of file method.h.

◆ original_id

ID rb_method_definition_struct::original_id

Definition at line 195 of file method.h.

◆ refined

rb_method_refined_t rb_method_definition_struct::refined

Definition at line 190 of file method.h.

◆ type

rb_method_type_t rb_method_definition_struct::type

Definition at line 6547 of file rb_mjit_min_header-3.2.1.h.


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