Improving on [*c]u8 when calling a C function that allocates a string?

Maybe something like this:

[*:null]?[*:0]const u8

There was a related discussion on this recently: Null terminated array of strings from C function - #4 by castholm

1 Like