From a56d959ed5d99e602f2bb05bbeb46a1b1b146cd9 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Wed, 8 Feb 2023 12:21:58 +0900 Subject: Replace `PACKED_STRUCT` and `PACKED_STRUCT_UNALIGNED` --- iseq.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'iseq.h') 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) -- cgit v1.2.1