Skip to content

Commit

Permalink
Merge pull request #307 from BaerMitUmlaut/quoted-func-macros
Browse files Browse the repository at this point in the history
Quoted function macros
  • Loading branch information
Killswitch00 committed Apr 8, 2016
2 parents 9f0a6bc + 00424d7 commit f0e548e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions addons/main/script_macros_common.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -719,6 +719,10 @@ Macro: GVARMAIN()
#define FUNCMAIN(var1) TRIPLES(PREFIX,fnc,var1)
#define FUNC_INNER(var1,var2) TRIPLES(DOUBLES(PREFIX,var1),fnc,var2)
#define EFUNC(var1,var2) FUNC_INNER(var1,var2)
#define QFUNC(var1) QUOTE(FUNC(var1))
#define QFUNCMAIN(var1) QUOTE(FUNCMAIN(var1))
#define QFUNC_INNER(var1,var2) QUOTE(FUNC_INNER(var1,var2))
#define QEFUNC(var1,var2) QUOTE(EFUNC(var1,var2))

#ifndef PRELOAD_ADDONS
#define PRELOAD_ADDONS class CfgAddons \
Expand Down

0 comments on commit f0e548e

Please sign in to comment.