Ruby 2.7.7p221 (2022-11-24 revision 168ec2b1e5ad0e4688e963d9de019557c78feed9)
Public Member Functions | Data Fields
rb_method_definition_struct Struct Reference

#include <rb_mjit_min_header-2.7.7.h>

Public Member Functions

 BITFIELD (rb_method_type_t, type, VM_METHOD_TYPE_MINIMUM_BITS)
 

Data Fields

rb_method_type_t type: 4
 
int alias_count: 28
 
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
 
   enum method_optimized_type   optimize_type
 
body
 
ID original_id
 
uintptr_t method_serial
 
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
 
   enum method_optimized_type   optimize_type
 
body
 

Detailed Description

Definition at line 8963 of file rb_mjit_min_header-2.7.7.h.

Member Function Documentation

◆ BITFIELD()

rb_method_definition_struct::BITFIELD ( rb_method_type_t  ,
type  ,
VM_METHOD_TYPE_MINIMUM_BITS   
)

Field Documentation

◆ alias

rb_method_alias_t rb_method_definition_struct::alias

Definition at line 8972 of file rb_mjit_min_header-2.7.7.h.

◆ alias_count

int rb_method_definition_struct::alias_count

Definition at line 8965 of file rb_mjit_min_header-2.7.7.h.

◆ attr

rb_method_attr_t rb_method_definition_struct::attr

Definition at line 8971 of file rb_mjit_min_header-2.7.7.h.

◆ bmethod

rb_method_bmethod_t rb_method_definition_struct::bmethod

Definition at line 8974 of file rb_mjit_min_header-2.7.7.h.

Referenced by rb_resolve_me_location().

◆  [1/2]

union { ... } rb_method_definition_struct::body

◆  [2/2]

union { ... } rb_method_definition_struct::body

◆ cfunc

rb_method_cfunc_t rb_method_definition_struct::cfunc

Definition at line 8970 of file rb_mjit_min_header-2.7.7.h.

◆ complemented_count

int rb_method_definition_struct::complemented_count

Definition at line 8966 of file rb_mjit_min_header-2.7.7.h.

◆ iseq

rb_method_iseq_t rb_method_definition_struct::iseq

Definition at line 8969 of file rb_mjit_min_header-2.7.7.h.

Referenced by rb_resolve_me_location().

◆ method_serial

uintptr_t rb_method_definition_struct::method_serial

Definition at line 8978 of file rb_mjit_min_header-2.7.7.h.

Referenced by rb_method_definition_create(), and rb_vm_call0().

◆ no_redef_warning

unsigned int rb_method_definition_struct::no_redef_warning

Definition at line 8967 of file rb_mjit_min_header-2.7.7.h.

◆ optimize_type

enum method_optimized_type rb_method_definition_struct::optimize_type

Definition at line 8975 of file rb_mjit_min_header-2.7.7.h.

◆ original_id

ID rb_method_definition_struct::original_id

Definition at line 8977 of file rb_mjit_min_header-2.7.7.h.

Referenced by rb_method_definition_create().

◆ refined

rb_method_refined_t rb_method_definition_struct::refined

◆ type

rb_method_type_t rb_method_definition_struct::type

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