Skip to content

Commit

Permalink
Merge pull request #3395 from acemod/cba23compile
Browse files Browse the repository at this point in the history
Cleanup old cba SLX_XEH_COMPILE_NEW code
  • Loading branch information
commy2 committed Feb 23, 2016
2 parents 52108b1 + a4391a7 commit b08ae7a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
7 changes: 0 additions & 7 deletions addons/main/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -564,10 +564,3 @@ class CfgMods {

#include "CfgModuleCategories.hpp"
#include "CfgVehicleClasses.hpp"

// @todo delete this after CBA update, defines undefined global variable
class Extended_PreStart_EventHandlers {
class ADDON {
init = "with uiNamespace do {SLX_XEH_COMPILE_NEW = CBA_fnc_compileFunction};";
};
};
2 changes: 1 addition & 1 deletion addons/main/script_macros.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
#ifdef DISABLE_COMPILE_CACHE
#define PREP(fncName) DFUNC(fncName) = compile preprocessFileLineNumbers QUOTE(PATHTOF(functions\DOUBLES(fnc,fncName).sqf))
#else
#define PREP(fncName) [QUOTE(PATHTOF(functions\DOUBLES(fnc,fncName).sqf)), QFUNC(fncName)] call SLX_XEH_COMPILE_NEW
#define PREP(fncName) [QUOTE(PATHTOF(functions\DOUBLES(fnc,fncName).sqf)), QFUNC(fncName)] call CBA_fnc_compileFunction
#endif

#define PREP_MODULE(folder) [] call compile preprocessFileLineNumbers QUOTE(PATHTOF(folder\__PREP__.sqf))
Expand Down

0 comments on commit b08ae7a

Please sign in to comment.