Joined May 2012
·

Jan Van Uytven

Perforce
·
Victoria, Canada
·
·
·

Posted to Pass Go slices as C array parameters over 1 year ago

@becreative-germany Interesting - so why doesn't &intSlice work then? It should pass the address to the struct, and since the array is the first data member defined in the struct, wouldn't that effectively be a pointer to the array?

Achievements
240 Karma
28,810 Total ProTip Views