Hello,
I use a C api that uses [*] pointers for array passing. However I just want to pass one item, and if I do &my_item the compiler complains that it wants a [*] pointer, not a single one.
I can use a pointer cast to make the code compile ( @ptrCast([*]TargetType, &my_item)), but I was wondering if there is a simpler way than that because it forces me to go lookup the value of my_item
Thanks !