mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Replace PACKED_STRUCT
and PACKED_STRUCT_UNALIGNED
This commit is contained in:
parent
fefe37f98d
commit
a56d959ed5
Notes:
git
2023-02-08 06:21:27 +00:00
4 changed files with 15 additions and 13 deletions
5
iseq.h
5
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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue