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.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
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?
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
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.