]> sigrok.org Git - libsigrokdecode.git/commit
internal: introduce ALL_ZERO declaration, modelled after libsigrok
authorGerhard Sittig <redacted>
Sat, 25 Dec 2021 18:50:43 +0000 (19:50 +0100)
committerGerhard Sittig <redacted>
Sun, 26 Dec 2021 12:45:09 +0000 (13:45 +0100)
commit3db0d9750d6947080ae1cfe4ba1108a1687cf24f
treef13eefffec95be15325551ed64085a2af0c3fc92
parenta6a5e2c8b0e9ecf5d69d0c237c8e8b717b82b36f
internal: introduce ALL_ZERO declaration, modelled after libsigrok

Declare ALL_ZERO in the common libsigrokdecode-internal.h header file.
The implementation and the comment on its motivation were taken from the
libsigrok implementation, slightly rephrased for improved readability.
libsigrokdecode-internal.h