The use of &&char for the public functions in vlang's raylib and raygui bindings looks unfriendly and perplexing. Other bindings, for their public functions, use the equivalent of []string. Which makes more sense.
For the example below, text arguably should be an array of string ([]string). The count parameter next to it, would be the array.len, for what's in the array.
pub fn gui_list_view_ex(bounds Rectangle, text &&char, count int, scroll_index &int, active &int, focus &int) int
And even more interesting, V's documentation doesn't elaborate on &&char usage, other than its a kind of interoperability type.
The use of
&&charfor the public functions in vlang's raylib and raygui bindings looks unfriendly and perplexing. Other bindings, for their public functions, use the equivalent of[]string. Which makes more sense.For the example below,
textarguably should be an array of string ([]string). Thecountparameter next to it, would be thearray.len, for what's in the array.pub fn gui_list_view_ex(bounds Rectangle, text &&char, count int, scroll_index &int, active &int, focus &int) intAnd even more interesting, V's documentation doesn't elaborate on
&&charusage, other than its a kind of interoperability type.