diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2023-02-08 12:21:58 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2023-02-08 12:35:27 +0900 |
commit | a56d959ed5d99e602f2bb05bbeb46a1b1b146cd9 (patch) | |
tree | 3ee25a2bee4c1ac743bc86095471d7b1242f2243 /iseq.h | |
parent | fefe37f98dc347ed372597975a327f3c1425c556 (diff) | |
download | ruby-a56d959ed5d99e602f2bb05bbeb46a1b1b146cd9.tar.gz |
Replace `PACKED_STRUCT` and `PACKED_STRUCT_UNALIGNED`
Diffstat (limited to 'iseq.h')
-rw-r--r-- | iseq.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -270,10 +270,11 @@ struct iseq_catch_table_entry { unsigned int sp; }; -PACKED_STRUCT_UNALIGNED(struct iseq_catch_table { +RBIMPL_ATTR_PACKED_STRUCT_UNALIGNED_BEGIN() +struct iseq_catch_table { unsigned int size; struct iseq_catch_table_entry entries[FLEX_ARY_LEN]; -}); +} RBIMPL_ATTR_PACKED_STRUCT_UNALIGNED_END(); static inline int iseq_catch_table_bytes(int n) |