summaryrefslogtreecommitdiffstats
path: root/struct.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2022-05-20 06:34:34 -0700
committerKaz Kylheku <kaz@kylheku.com>2022-05-20 06:34:34 -0700
commit002a3558cc4215b9597f636364b6e838c41e2ecf (patch)
treee3a4467d31d5baa1f435da4859487af806b8a7c7 /struct.c
parent3e6ecd38f25f10feab2cb6f946b472b5f026d671 (diff)
downloadtxr-002a3558cc4215b9597f636364b6e838c41e2ecf.tar.gz
txr-002a3558cc4215b9597f636364b6e838c41e2ecf.tar.bz2
txr-002a3558cc4215b9597f636364b6e838c41e2ecf.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 'struct.c')
0 files changed, 0 insertions, 0 deletions