Ruby: variable.h File Reference

Ruby 3.0.5p211 (2022-11-24 revision ba5cf0f7c52d4d35cc6a173c89eda98ceffa2dcf)

Data Structures | Functions
variable.h File Reference

Go to the source code of this file.

## Data Structures
struct | gen_ivtbl

## Functions
int | rb_ivar_generic_ivtbl_lookup (VALUE obj, struct gen_ivtbl **)
VALUE | rb_ivar_generic_lookup_with_index (VALUE obj, ID id, uint32_t index)

## Detailed Description

Author
  Ruby developers ruby-.nosp@m.core.nosp@m.@ruby.nosp@m.-lan.nosp@m.g.org

Copyright
  This file is a part of the programming language Ruby. Permission is hereby granted, to either redistribute and/or modify this file, provided that the conditions mentioned in the file COPYING are met. Consult the file for details.

Definition in file variable.h.

## Function Documentation

## ◆ rb_ivar_generic_ivtbl_lookup()

int rb_ivar_generic_ivtbl_lookup | ( | VALUE | obj,
|  | struct gen_ivtbl ** | ivtbl
| ) |  |

Definition at line 960 of file variable.c.

## ◆ rb_ivar_generic_lookup_with_index()

VALUE rb_ivar_generic_lookup_with_index | ( | VALUE | obj,
|  | ID | id,
|  | uint32_t | index
| ) |  |

Definition at line 966 of file variable.c.

References gen_ivtbl::ivptr, LIKELY, gen_ivtbl::numiv, and Qundef.