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

Documentation improvement suggestion for *Ubyte to string #34

Open
mbertschler opened this issue Jan 27, 2014 · 0 comments
Open

Documentation improvement suggestion for *Ubyte to string #34

mbertschler opened this issue Jan 27, 2014 · 0 comments

Comments

@mbertschler
Copy link

I encountered a problem while using the the gl bindings. I used GetString and could not figure out how to properly make a string out of it.
http://stackoverflow.com/questions/21370390/read-a-c-type-string-from-go

The answerer on stackoverflow provided this solution:

gl.GoStringUb( gl.GetString(gl.RENDERER) )

I just didn't find the GoStringUb function in the documentation, you probably should put a hint in the doc for each function that returns a *Ubyte ( or just convert it to a go string in this function it that would make more sense to you)

Thank you for your consideration.

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

1 participant