util: add a alignof() macro
authorRhys Perry <pendingchaos02@gmail.com>
Thu, 6 Aug 2020 13:53:36 +0000 (14:53 +0100)
committerMarge Bot <eric+marge@anholt.net>
Thu, 20 Aug 2020 10:52:19 +0000 (10:52 +0000)
commit391eeb744356353e96ce34f23b8b16b718a02d61
tree1880476b06355fd62314a5ac6b4acd0af042c21a
parent721cb6cc07978259e055c5c7ff7093819b18e8b5
util: add a alignof() macro

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6206>
src/util/macros.h