diff options
author | Jean Boussier <[email protected]> | 2025-04-30 09:42:57 +0200 |
---|---|---|
committer | Jean Boussier <[email protected]> | 2025-05-08 07:58:05 +0200 |
commit | 0ea210d1ea257162642969edce665935cc87c643 () | |
tree | 501f2563c5f81e19c408e32cda63b823a5785df9 /include/ruby/backward | |
parent | 4e30b77b90e463997de265af1e7a5819b4c46fcc (diff) |
Rename `ivptr` -> `fields`, `next_iv_index` -> `next_field_index`
Ivars will longer be the only thing stored inline via shapes, so keeping the `iv_index` and `ivptr` names would be confusing. Instance variables won't be the only thing stored inline via shapes, so keeping the `ivptr` name would be confusing. `field` encompass anything that can be stored in a VALUE array. Similarly, `gen_ivtbl` becomes `gen_fields_tbl`.
Notes: Merged: https://.com/ruby/ruby/pull/13159
-rw-r--r-- | include/ruby/backward/2/rmodule.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -23,7 +23,7 @@ * who is implementing the internals) could have used those macros for a while. * Kept public as-is here to keep some theoretical backwards compatibility. */ -#define RMODULE_IV_TBL(m) RCLASS_IV_TBL(m) #define RMODULE_CONST_TBL(m) RCLASS_CONST_TBL(m) #define RMODULE_M_TBL(m) RCLASS_M_TBL(m) #define RMODULE_SUPER(m) RCLASS_SUPER(m) |