c-for-go
c-for-go copied to clipboard
PtrTips for char * to string
Any possible to config PtrTips or TypeTips to generate code like this
input:
int open(char* path);
expected output:
func open(path string) int {}
actual output:
func open(path []byte) int {}
Hi! I guess this is similar to another issue we had with const char * to []byte:
https://github.com/xlab/c-for-go/issues/5#issuecomment-249422467
But in that case I think it's not a problem to support that. Will research later, but at this point there is no such option. Sorry.