draffensperger / go-interlang

Examples of calls between Go and C/C++ (and how to call a Go shared object from Node/Ruby/Python/Java)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CGO's generated code does not have meaningful parameter and returned variable names

nelakson opened this issue · comments

Is there a way to ensure that the generated header files (.h files) have function parameters and structs with meaningful variable names? What I notice is that cgo just follows some pattern e.g., r0, r1... or p0, p1...