* 2022-01-18 [ci skip]
[ruby-80x24.org.git] / variable.h
blob55596b00de62132d1d9f1ff19a3ad5ee52d4bca1
1 #ifndef RUBY_TOPLEVEL_VARIABLE_H /*-*-C-*-vi:se ft=c:*/
2 #define RUBY_TOPLEVEL_VARIABLE_H
3 /**
4 * @author Ruby developers <ruby-core@ruby-lang.org>
5 * @copyright This file is a part of the programming language Ruby.
6 * Permission is hereby granted, to either redistribute and/or
7 * modify this file, provided that the conditions mentioned in the
8 * file COPYING are met. Consult the file for details.
9 */
11 /* per-object */
13 struct gen_ivtbl {
14 uint32_t numiv;
15 VALUE ivptr[FLEX_ARY_LEN];
18 int rb_ivar_generic_ivtbl_lookup(VALUE obj, struct gen_ivtbl **);
19 VALUE rb_ivar_generic_lookup_with_index(VALUE obj, ID id, uint32_t index);
21 #endif /* RUBY_TOPLEVEL_VARIABLE_H */