diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2017-07-18 22:34:42 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2017-07-18 22:34:42 -0700 |
commit | a984dacb6d20d20f5930252a4254e648fc312f90 (patch) | |
tree | 26673f8e92056582a2d5aa9fcab4b974040fc3ba /txr.1 | |
parent | e10f0d60d4203393b4369feac613345ae55075b9 (diff) | |
download | txr-a984dacb6d20d20f5930252a4254e648fc312f90.tar.gz txr-a984dacb6d20d20f5930252a4254e648fc312f90.tar.bz2 txr-a984dacb6d20d20f5930252a4254e648fc312f90.zip |
doc: no ffi type operator "bits".
* txr.1: Under description of bool, fix references to
nonexistent (bits n type).
Diffstat (limited to 'txr.1')
-rw-r--r-- | txr.1 | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -55628,12 +55628,12 @@ The .code bool types are not integers, and cannot be used as the basis of bitfields: syntax like -.code "(bits 3 (bool uint))" +.code "(bit 3 (bool uint))" is not permitted. However, Boolean bitfields are possible when this syntax is turned inside out: the .code bool type can be derived from a bitfield type, as exemplified by -.codn "(bool (bits 3 uint))" . +.codn "(bool (bit 3 uint))" . This simply applies the above described Boolean conversion semantics to a three-bit field. A zero/nonzero value of the field converts to .cod3 nil / t |