c-for-go
c-for-go copied to clipboard
Automatic C-Go Bindings Generator for Go Programming Language
# bitfield.yml ```yml --- GENERATOR: PackageName: bitfield PackageDescription: "n.a." PackageLicense: "n.a." Includes: [bitfield.h] FlagGroups: # Because I am lazy and trying to get this working quickly. - {name: "LDFLAGS", flags:...
Hi, I'm trying to write a binding to FMOD which is an audio engine in games. When building the generated go project, it given the message as following: `./cgo_helpers.go:6331: ref9919197a.floatdesc...
Just finished running some golang tests after the autogeneration, I found one function where int8_t is getting turned into a byte instead of int8. How do you specify in the...
I've offered up CFLAGS and LDFLAGS for how to find the `CoreFoundation` framework but while it's processing the file given in `Includes` in the `GENERATOR` section...it fails to find the...
I need to pass in different include paths for different OS's The c++ sdk I'm looking at has different include directories for mac, linux and windows... trying to figure out...
Hi! Thank you for your work on c-for-go. We're using it to generate go bindings for the uldaq library. Here's the function that gives us issues: https://github.com/mccdaq/uldaq/blob/1d8404159c0fb6d2665461b80acca5bbef5c610a/examples/DInScan.c#L150 ulDInScan collects data...
if the C header file uses C enums then we can generate go code of the form `C.enum_` which doesn't compile; so using something simpler like `uint32` fixes it this...
Solve issue at: #159 , can you review my code?
Hello,thanks for providing this great tools! Can you provide any suggestion my problem? ## Description: In my header file: ```c int mylibFunc_2(int x[2][3]); ``` converted go code: ```golang func MylibFunc2(X...