From 6e5f82913e82646a22afe546f49614760b20bc9c Mon Sep 17 00:00:00 2001 From: Riyyi Date: Tue, 26 Dec 2023 22:06:02 +0100 Subject: [PATCH] Script: Add missing macro CONCAT --- src/inferno/script/nativescript.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/inferno/script/nativescript.h b/src/inferno/script/nativescript.h index f89d54f..ec41a22 100644 --- a/src/inferno/script/nativescript.h +++ b/src/inferno/script/nativescript.h @@ -65,6 +65,10 @@ private: } // namespace Inferno +// TODO: Move this to ruc +#define CONCAT(a, b) CONCAT_IMPL(a, b) +#define CONCAT_IMPL(a, b) a##b + #define BIND_NATIVE_IMPL(name, struct_name) \ struct struct_name { \ struct_name() \