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

Automatic C-Go Bindings Generator for Go Programming Language

Results 81 c-for-go issues
Sort by recently updated
recently updated
newest added

REPO - https://github.com/blacktop/arm64-cgo `disassembler.yml` ```yaml --- GENERATOR: PackageName: arm64 PackageDescription: "Package arm64 provides Go bindings for then Binary Ninja Arm64 Disassembler" PackageLicense: "THE AUTOGENERATED LICENSE. ALL THE RIGHTS ARE RESERVED...

When compiling with command: `c-for-go --ccincl --ccdefs vgo.yml` Getting the errors: ``` processing vgo.yml ⠙/Library/Developer/CommandLineTools/usr/lib/clang/12.0.5/include/stdint.h:20:43: unexpected '

While working with c-for-go, I've encountered the following issue. Suppose you have a header file that looks something like this: ```C // example.h typedef enum my_type { FOO = 1,...

help wanted

Hi there, I have a header file with the following (cut for brevity, full file [here](https://github.com/sysrepo/sysrepo/blob/devel/src/sysrepo.h)): ```c typedef struct sr_error_info_msg_s { char *message; /**< Error message. */ char *xpath; /**<...

Hi, I'm sure this is a basic issue, however I'm unable to find the solution. I'm using this library to generate bindings for Nuklear UI, and have gotten it mostly...

not-bug-feature

I am building a wrapper for cimgui with c-for-go and I cannot get it to build the generated code because the accessors to c-structs are wrong. One of many (nearly...

This gives a redefinition error: ``` typedef enum YGAlign{YGAlignAuto, YGAlignFlexStart, YGAlignCenter, YGAlignFlexEnd, YGAlignStretch, YGAlignBaseline, YGAlignSpaceBetween, YGAlignSpaceAround} YGAlign; const char* YGAlignToString(YGAlign); ``` This works: ``` typedef enum {YGAlignAuto, YGAlignFlexStart, YGAlignCenter, YGAlignFlexEnd,...

Project:https://github.com/jackwakefield/yogoa Makefile:https://github.com/jackwakefield/yogoa/blob/master/Makefile Success:https://github.com/facebook/yoga/tree/1.8.0 Error:https://github.com/facebook/yoga/tree/1.18.0 Error info: processing ./yoga.yml ⠋pkg/yoga/YGEnums.h:58:5: enum tag redefined, previous definition: pkg/yoga/YGEnums.h:57:1 pkg/yoga/YGEnums.h:68:18: enum tag redefined, previous definition: pkg/yoga/YGEnums.h:68:1 pkg/yoga/YGEnums.h:71:5: enum tag redefined, previous definition: pkg/yoga/YGEnums.h:70:1 pkg/yoga/YGEnums.h:76:18:...

```c struct bpf_insn { __u8 code; /* opcode */ __u8 dst_reg:4; /* dest register */ __u8 src_reg:4; /* source register */ __s16 off; /* signed offset */ __s32 imm; /*...

I'm trying to generate bindings for [wlroots](https://github.com/swaywm/wlroots), but encountered lots of issues parsing headers. Trying to break it down into manageable chunks and I'm currently trying to just parse [wayland-server-core.h](https://github.com/wayland-project/wayland/blob/master/src/wayland-server-core.h)...