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

Missing C.CBytes #4284

Open
hectorchu opened this issue Jun 5, 2024 · 1 comment
Open

Missing C.CBytes #4284

hectorchu opened this issue Jun 5, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@hectorchu
Copy link

hectorchu commented Jun 5, 2024

C.CString is present but C.CBytes is not.

Workaround is unsafe.Pointer(C.CString(string(data))) but that's ugly.

@deadprogram
Copy link
Member

Looks like someone almost got it added here #3318

Probably we just need to rebase that PR?

@deadprogram deadprogram added the enhancement New feature or request label Jul 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants