]> git.ipfire.org Git - thirdparty/systemd.git/commit
macro: add generic IS_ALIGNED32() anf friends
authorLennart Poettering <lennart@poettering.net>
Wed, 7 Dec 2022 17:31:27 +0000 (18:31 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 8 Dec 2022 14:30:31 +0000 (15:30 +0100)
commit4f07388360a3513b9fc8d2773568b8def941f4a4
treea15b17bf89ba2f0743113bbe82e200736564265f
parent22e339761be66ae5b7c92b27b4e2b59074ebfbb1
macro: add generic IS_ALIGNED32() anf friends

Let's generalize (and invert) the UNALIGNED32_P() macro from the sha256
code, and let's add a test for it.
src/fundamental/macro-fundamental.h
src/test/test-macro.c