-
Notifications
You must be signed in to change notification settings - Fork 17.9k
New issue
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
Go type not supported in export #65842
Comments
Since the Language type is based on |
Hi @gophun returning the
Building:
Last question: Since type why do I have to "convert" it into an |
It's not an For further questions please refer to https://github.com/golang/go/wiki/Questions |
Go version
go version go1.21.5 linux/amd64
Output of
go env
in your module/workspace:What did you do?
I would like to call functions available in this golang library: https://github.com/pemistahl/lingua-go in a Cpp piece of code
I tried to generate
h
and `so' files for this very simple code:basic.go
:What did you see happen?
But building with
c-shared
buildmode gives this error:I searched for info about this kind of errors and found this:
#18412
What can I do to be able to export, and use, this
lingua.Language
structure?What did you expect to see?
I would like to be able to to export and then use this
lingua.Language
structureThe text was updated successfully, but these errors were encountered: