This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
void fn_prototype(int a); void some_function_that_must_match_above_signature(int param) { } void main() { funcref<fn_prototype> ref; ref = some_function_that_must_match_above_signature; ref(1); }
Some further explanation about _ref thingies can be found here:https://www.sc2mapster.com/forums/development/galaxy-scripting/148197-passing-arrays-as-parameters
Previously known as: SomeoneTookMyNameTT
Some further explanation about _ref thingies can be found here:
https://www.sc2mapster.com/forums/development/galaxy-scripting/148197-passing-arrays-as-parameters
Previously known as: SomeoneTookMyNameTT