Skip to content
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

[cgo] Pointer variables are not implemented properly. #125

Open
alexanderoster opened this issue Jul 28, 2020 · 1 comment
Open

[cgo] Pointer variables are not implemented properly. #125

alexanderoster opened this issue Jul 28, 2020 · 1 comment

Comments

@alexanderoster
Copy link

Pointer variables are making the headers not compile. We tried to use interface{} style-pointers in order to abstract this for the user, but they seemed to crash.

My suggestion would be to handle pointers strictly as uint64 handles throughout all the go code.
@qmuntal: Do you have any objections?

@qmuntal
Copy link

qmuntal commented Jul 28, 2020

unsafe.Pointer seems like the right type, but it has to be validated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants