From a99c02ff02410c50e719ee2a7c8c563de019efa1 Mon Sep 17 00:00:00 2001 From: jonpas Date: Wed, 27 May 2015 22:02:03 +0200 Subject: [PATCH] Added ESTRING and ECSTRING for external module references --- addons/main/script_macros.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/addons/main/script_macros.hpp b/addons/main/script_macros.hpp index 77ad0199f1..9e92a2525d 100644 --- a/addons/main/script_macros.hpp +++ b/addons/main/script_macros.hpp @@ -23,7 +23,9 @@ #define PATHTOEF(var1,var2) PATHTOF_SYS(PREFIX,var1,var2) #define STRING(var1) QUOTE(TRIPLES(STR,ADDON,var1)) +#define ESTRING(var1,var2) QUOTE(TRIPLES(STR,DOUBLES(PREFIX,var1),var2)) #define CSTRING(var1) QUOTE(TRIPLES($STR,ADDON,var1)) +#define ECSTRING(var1,var2) QUOTE(TRIPLES($STR,DOUBLES(PREFIX,var1),var2)) #define GETVAR_SYS(var1,var2) getVariable [ARR_2(QUOTE(var1),var2)] #define SETVAR_SYS(var1,var2) setVariable [ARR_2(QUOTE(var1),var2)]