From 766a80007e9b9ab26827e1540b16216ed9940d73 Mon Sep 17 00:00:00 2001 From: jonpas Date: Wed, 6 Apr 2016 23:37:09 +0200 Subject: [PATCH] Add QPOTHTOF and QPATHTOEF - quoted path to file macros --- addons/main/script_macros_common.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/addons/main/script_macros_common.hpp b/addons/main/script_macros_common.hpp index 9596d4c17..ca5d525d5 100644 --- a/addons/main/script_macros_common.hpp +++ b/addons/main/script_macros_common.hpp @@ -632,6 +632,8 @@ Macro: ISNILS() #define CFGSETTINGS CFGSETTINGSS(PREFIX,COMPONENT) #define PATHTO(var1) PATHTO_SYS(PREFIX,COMPONENT_F,var1) #define PATHTOF(var1) PATHTOF_SYS(PREFIX,COMPONENT,var1) +#define QPATHTOF(var1) QUOTE(PATHTOF(var1)) +#define QPATHTOEF(var1,var2) QUOTE(PATHTOEF(var1,var2)) #define COMPILE_FILE(var1) COMPILE_FILE_SYS(PREFIX,COMPONENT_F,var1) #define COMPILE_FILE_CFG(var1) COMPILE_FILE_CFG_SYS(PREFIX,COMPONENT_F,var1)