You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hi
cgo is an awesome tool.
sometimes however it is really confusing 😕
I'm trying to make a generic package used to convert GO types into C types.
The problem is that package, where I'm using converted type complains about them not being of the same type...
Unlike many projects, the Go project does not use GitHub Issues for general discussion or asking questions. GitHub Issues are used for tracking bugs and proposals only.
Unlike many projects, the Go project does not use GitHub Issues for general discussion or asking questions. GitHub Issues are used for tracking bugs and proposals only.
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
hi
cgo is an awesome tool.
sometimes however it is really confusing 😕
I'm trying to make a generic package used to convert GO types into C types.
The problem is that package, where I'm using converted type complains about them not being of the same type...
wrapper reference: https://github.com/gucio321/cimgui-go/blob/wrapper-extract/internal/wrapper/type_wrapper.go
project ref: gttps://github.com/gucio321/cimgui-go/tree-wrapper-extract
What did you expect to see?
as C is treated as pseudo-package (
import "C"
)C.char
/C.int
should (in my opinion) be equal, shouldn't they?What did you see instead?
cannot use text_beginArg (variable of type *wrapper._Ctype_char) as *_Ctype_char value in variable declaration
The text was updated successfully, but these errors were encountered: