summaryrefslogtreecommitdiffstats
path: root/struct.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2022-05-20 00:37:38 -0700
committerKaz Kylheku <kaz@kylheku.com>2022-05-20 00:37:38 -0700
commita076a86743b89300fe89a92192c7570a5a1c2dba (patch)
treecf9ff1eb72a5dc28e0738e50bd7d6ccf5b849639 /struct.c
parent59257d1bfc363eec3b4eb5b49119a3bcfde9cc71 (diff)
downloadtxr-a076a86743b89300fe89a92192c7570a5a1c2dba.tar.gz
txr-a076a86743b89300fe89a92192c7570a5a1c2dba.tar.bz2
txr-a076a86743b89300fe89a92192c7570a5a1c2dba.zip
ffi: new pack type operator; align increases only.
* ffi.c (pack_s): New symbol variable. (ffi_type_compile): Handle new pack type operator together with align. Allow a one-argument form of align and pack in which the value is defaulted. The behavior of align changes: align can only increase alignment now, never decrease, so for instance (align 1 ...) does nothing. pack must be used to decrease alignment. Furthermore, for certain argument types, pack performs transformations of the type syntax, rather than compiling the argument type and producing a variant of it with altered alignment. * txr.1: Documented. * stdlib/doc-syms.tl: Updated.
Diffstat (limited to 'struct.c')
0 files changed, 0 insertions, 0 deletions