summaryrefslogtreecommitdiff
path: root/iseq.h
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2023-02-08 12:21:58 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2023-02-08 12:35:27 +0900
commita56d959ed5d99e602f2bb05bbeb46a1b1b146cd9 (patch)
tree3ee25a2bee4c1ac743bc86095471d7b1242f2243 /iseq.h
parentfefe37f98dc347ed372597975a327f3c1425c556 (diff)
downloadruby-a56d959ed5d99e602f2bb05bbeb46a1b1b146cd9.tar.gz
Replace `PACKED_STRUCT` and `PACKED_STRUCT_UNALIGNED`
Diffstat (limited to 'iseq.h')
-rw-r--r--iseq.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/iseq.h b/iseq.h
index 5e26ea3589..5ddbf8df7d 100644
--- a/iseq.h
+++ b/iseq.h
@@ -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)