From 9ed8d6befc762b20429e6ddfc6156b1d331e88cb Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Thu, 23 Nov 2023 17:04:13 -0500 Subject: [PATCH] Document side_ptr_get can be used as r or lvalue Signed-off-by: Mathieu Desnoyers --- include/side/macros.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/side/macros.h b/include/side/macros.h index 3803f9e..e23dcae 100644 --- a/include/side/macros.h +++ b/include/side/macros.h @@ -138,6 +138,7 @@ _type v[16 / __SIZEOF_POINTER__]; \ } +/* side_ptr_get() can be used as rvalue or lvalue. */ #define side_ptr_get(_field) (_field).v[SIDE_U128_PTR_IDX(0)] #if (__SIZEOF_POINTER__ == 4) -- 2.34.1