script_macros.hpp 415 B

1234567891011
  1. #include "\x\cba\addons\main\script_macros_common.hpp"
  2. #define DFUNC(var1) TRIPLES(ADDON,fnc,var1)
  3. #ifdef DISABLE_COMPILE_CACHE
  4. #undef PREP
  5. #define PREP(fncName) DFUNC(fncName) = compile preprocessFileLineNumbers QPATHTOF(functions\DOUBLES(fnc,fncName).sqf)
  6. #else
  7. #undef PREP
  8. #define PREP(fncName) [QPATHTOF(functions\DOUBLES(fnc,fncName).sqf), QFUNC(fncName)] call CBA_fnc_compileFunction
  9. #endif