// this script was compiled with wurst 1.8.1.0-jenkins-Wurst-1366 globals code ref_function_code__foo_test=null endglobals native testSuccess takes nothing returns nothing function code__foo_test takes nothing returns nothing call testSuccess() endfunction function initGlobals takes nothing returns nothing set ref_function_code__foo_test = function code__foo_test endfunction function foo takes code c returns nothing local trigger t = CreateTrigger() call TriggerAddAction(t, c) call TriggerEvaluate(t) endfunction function init_test takes nothing returns nothing call foo(ref_function_code__foo_test) endfunction function main takes nothing returns nothing call initGlobals() call init_test() endfunction function config takes nothing returns nothing endfunction