From 16b5070c0cd56e10c5074eb9903dbc3ae4e15a61 Mon Sep 17 00:00:00 2001 From: Benoit Germain Date: Tue, 8 Oct 2024 18:42:39 +0200 Subject: Sprinkling StackIndex all over the place --- src/macros_and_utils.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/macros_and_utils.h') diff --git a/src/macros_and_utils.h b/src/macros_and_utils.h index e73abef..f22d124 100644 --- a/src/macros_and_utils.h +++ b/src/macros_and_utils.h @@ -25,9 +25,8 @@ using lua_Duration = std::chrono::template duration; // ################################################################################################# -using SourceState = Unique; -using DestState = Unique; -using StackIndex = Unique; +DECLARE_UNIQUE_TYPE(SourceState, lua_State*); +DECLARE_UNIQUE_TYPE(DestState, lua_State*); // ################################################################################################# -- cgit v1.2.3-55-g6feb