diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2022-05-20 00:37:38 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2022-05-20 00:37:38 -0700 |
commit | 0069c0b05d810c001c1ab9947b1f8f333caede14 (patch) | |
tree | cf9ff1eb72a5dc28e0738e50bd7d6ccf5b849639 /stdlib | |
parent | 7aaa45187b87573080e92671336ed623f02428a8 (diff) | |
download | txr-0069c0b05d810c001c1ab9947b1f8f333caede14.tar.gz txr-0069c0b05d810c001c1ab9947b1f8f333caede14.tar.bz2 txr-0069c0b05d810c001c1ab9947b1f8f333caede14.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 'stdlib')
-rw-r--r-- | stdlib/doc-syms.tl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/stdlib/doc-syms.tl b/stdlib/doc-syms.tl index 037675db..7301068a 100644 --- a/stdlib/doc-syms.tl +++ b/stdlib/doc-syms.tl @@ -100,7 +100,7 @@ ("ai-passive" "N-020DFFDE") ("ai-v4mapped" "N-020DFFDE") ("alet" "N-008215E0") - ("align" "N-01C7BC08") + ("align" "N-00093D01") ("alignof" "N-000F730E") ("alist-nremove" "N-000CD07F") ("alist-remove" "N-001A53C4") @@ -1398,6 +1398,7 @@ ("ors" "N-02D33A3D") ("oust" "N-0126D3FF") ("output" "N-0159EBE7") + ("pack" "N-00093D01") ("package-alist" "N-017F684C") ("package-fallback-list" "N-027A535C") ("package-foreign-symbols" "N-030C06F5") |