From 72fe8dd2d6d6a3a5592646950a4e43b9a79ed9b4 Mon Sep 17 00:00:00 2001 From: Steven Le Rouzic Date: Mon, 2 Dec 2024 00:35:56 +0100 Subject: Start work on buffer --- asl/layout.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'asl/layout.hpp') diff --git a/asl/layout.hpp b/asl/layout.hpp index 2295a1c..990af46 100644 --- a/asl/layout.hpp +++ b/asl/layout.hpp @@ -33,3 +33,5 @@ struct layout }; } // namespace asl + +#define AslOffsetOf(S, M) (static_cast(__builtin_offsetof(S, M))) -- cgit