c-for-go icon indicating copy to clipboard operation
c-for-go copied to clipboard

Current version causes vulkan to crash (on my Mac in any case)

Open rcoreilly opened this issue 3 years ago • 1 comments

See https://github.com/vulkan-go/vulkan/issues/43 and https://github.com/vulkan-go/vulkan/pull/62 for details.

I could replicate the issue by just running c-for-go on the current vulkan-go/vulkan code. You could presumably figure out what is causing the problem by trying out some of the incremental versions..

Some obvious changes in the generated code include the runtime.KeepAlive calls. I tried to turn it off but couldn't figure out how to turn that off -- tried adding SafeStrings: false in config.

rcoreilly avatar May 12 '22 10:05 rcoreilly

this is likely caused by #120.

nergdron avatar May 12 '22 11:05 nergdron