Does anyone know how to configure c-for-go to work with output function parameters - specifically slices?
I was trying to play around with adding some vulkan 1.1 and vulkan 1.2 bindings to the vulkan-go bindings (
github.com/vulkan-go/vulkan), but in order to regenerate the bindings, I needed to use c-for-go (
github.com/xlab/c-for-go). After struggling to get the local instance to work, I realized that c-for-go is generating different helper functions than when vulkan was previously checked-in.
The only way I've been able to get it to work is by configuring it as a pointer and removing the slice header before hand, but I was curious if anyone else was using c-for-go and had other solutions or configuration tricks that I don't know as a c-for-go newbie.
Jmw