2015-05-10 17:11:30 +00:00
|
|
|
#include "script_component.hpp"
|
2015-05-11 23:01:58 +00:00
|
|
|
private["_extResult"];
|
2015-05-10 17:11:30 +00:00
|
|
|
|
2015-05-10 19:02:35 +00:00
|
|
|
#ifdef DEBUG_EXTENSION_DYNLOAD
|
2015-05-11 23:01:58 +00:00
|
|
|
_extResult = "ace_dynload" callExtension format["call:%1,%2", GVAR(extensionLibrary), _this];
|
2015-05-10 17:11:30 +00:00
|
|
|
#else
|
2015-05-11 23:01:58 +00:00
|
|
|
_extResult = "ace_vd" callExtension _this;
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef DEBUG_LOG_EXTENSION
|
|
|
|
if((_this find "fetch_result") < 0) then {
|
|
|
|
GVAR(debug_log) pushBack [_this, _extResult];
|
|
|
|
};
|
|
|
|
#endif
|
|
|
|
|
|
|
|
if(!isNil "_extResult") then {
|
|
|
|
_extResult
|
|
|
|
} else {
|
|
|
|
nil
|
|
|
|
};
|