diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2022-03-15 07:50:09 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2022-03-15 07:50:09 -0700 |
commit | c80dc667dbcfa47b8a01c7f1ae0da43d4158086b (patch) | |
tree | efb2ada5789c3ba157b44071463bebdb3ebed394 /txr.1 | |
parent | e0f19f2e697665b63a6a665e373d23ebf63eb925 (diff) | |
download | txr-c80dc667dbcfa47b8a01c7f1ae0da43d4158086b.tar.gz txr-c80dc667dbcfa47b8a01c7f1ae0da43d4158086b.tar.bz2 txr-c80dc667dbcfa47b8a01c7f1ae0da43d4158086b.zip |
ffi: support intmax-t and uintmax-t types.
* configure: detect intmax_t and place HAVE_INTMAX_T into
config.h.
* ffi.c (ffi_init_extra_types): register intmax-t and
uintmax-t types. If HAVE_INTMAX_T is missing, then make them
aliases for longlong and ulonglong.
* txr.1: Documented.
* stdlib/doc-syms.tl: Updated.
Diffstat (limited to 'txr.1')
-rw-r--r-- | txr.1 | 16 |
1 files changed, 15 insertions, 1 deletions
@@ -80783,10 +80783,24 @@ the most strictly alignment member of the structure. The alignment of all other bitfields is ignored. .SS* Additional Types -.coNP FFI types @, size-t @, ptrdiff-t @, int-ptr-t @, uint-ptr-t @, wint-t @, sig-atomic-t @ time-t and @ clock-t +.coNP FFI types @, size-t @, ptrdiff-t @, int-ptr-t @, uint-ptr-t @, intmax-t @, uintmax-t @ wint-t @, sig-atomic-t @ time-t and @ clock-t +.desc These additional FFI types for common C language types are provided as .code typedef aliases. +The +.code intmax-t +and +.code uintmax-t +types are provided only if the host platform's +.code intmax_t +is no wider than 64 bits. If the host platform lacks +.code intmax_t +then the above two FFI types are defined as aliases for +.code longlong +and +.codn ulonglong , +respectively. .coNP FFI type @ qref .synb |