I know that you can do arrayref and structref in galaxy, I assume you can do function references/pointers too. Does anyone know the syntax?
void fn_prototype(int a);
void some_function_that_must_match_above_signature(int param)
ref = some_function_that_must_match_above_signature;
Some further explanation about _ref thingies can be found here:https://www.sc2mapster.com/forums/development/galaxy-scripting/148197-passing-arrays-as-parameters
Lost access to my previous account -.- (SomeoneTookMyNameTT)
Ah, that makes sense. Basically, what is in <> just takes the signature of the function you pass. I kind of figured you would have to do it manually like.
bool Equal(int, int);
funcref<bool, int, int> ref;
Thanks for the help.