We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
It appears a function that is defined in C code is not generated if it is defined after an enum type definition. An example to reproduce:
src/a.h
typedef enum { FIRST = 0 } X; int a();
src/a.c
#include "a.h" int a() { return 1; }
cxgo.yml
root: ./src out: ./out package: out use_go_int: true files: - name: '*'
What is generated: out/a.go
package out type X int const FIRST X = 0
(a() function is not in generated Go code)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
It appears a function that is defined in C code is not generated if it is defined after an enum type definition. An example to reproduce:
src/a.h
src/a.c
cxgo.yml
What is generated:
out/a.go
(a() function is not in generated Go code)
The text was updated successfully, but these errors were encountered: