diff options
| author | Sutou Kouhei <kou@clear-code.com> | 2023-09-06 13:59:29 +0900 |
|---|---|---|
| committer | Sutou Kouhei <kou@cozmixng.org> | 2023-09-09 07:30:04 +0900 |
| commit | 90dad2b12849b9151f62b1f3a9ac6090aadc8cc8 (patch) | |
| tree | 3344e26dae71699e396b892f10aa722feefbeff0 /array.c | |
| parent | d9ede18154e125453bc6399463c58603b9a576a8 (diff) | |
memory_view: Avoid using bit field
Bit field's memory layout is implementation-defined.
See also:
https://wiki.sei.cmu.edu/confluence/display/c/EXP11-C.+Do+not+make+assumptions+regarding+the+layout+of+structures+with+bit-fields
If memory layout is implementation-defined, it's difficult to use from
FFI library such as Ruby-FFI.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/8380
Diffstat (limited to 'array.c')
0 files changed, 0 insertions, 0 deletions
