diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2022-05-20 06:34:34 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2022-05-20 06:34:34 -0700 |
commit | 1c70056c20ad0001b45daa7289c01d0eb3577211 (patch) | |
tree | e3a4467d31d5baa1f435da4859487af806b8a7c7 /genprotsym.txr | |
parent | 8a6c4b6749a94b3adae46e20de577918ca9d8c59 (diff) | |
download | txr-1c70056c20ad0001b45daa7289c01d0eb3577211.tar.gz txr-1c70056c20ad0001b45daa7289c01d0eb3577211.tar.bz2 txr-1c70056c20ad0001b45daa7289c01d0eb3577211.zip |
ffi: pack: implement documented align transformation.
* ffi.c (ffi_pack_members): Static function removed.
(ffi_transform_pack): New static function.
(ffi_type_compile): Rely on ffi_transform_pack to recognize
and perform all necessary transformations.
Cosmetic issue: when a struct is compiled, and the individual
member types undergo transformation during member compilation,
the syntax for the struct is nevertheless the original one
with the untransformed members.
Diffstat (limited to 'genprotsym.txr')
0 files changed, 0 insertions, 0 deletions