Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use arrayref and structref #17

Open
Die4Ever opened this issue Feb 3, 2022 · 0 comments
Open

use arrayref and structref #17

Die4Ever opened this issue Feb 3, 2022 · 0 comments

Comments

@Die4Ever
Copy link
Owner

Die4Ever commented Feb 3, 2022

https://www.sc2mapster.com/forums/development/galaxy-scripting/148197-passing-arrays-as-parameters

typedef int[2] array_int_2;
array_int_2 array; // could be int[2] array; as well

void Test(arrayref<array_int_2> instance) {
void Test(structref<aStruct> data) {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant