script_macros.hpp 472 B

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