gogl
gogl copied to clipboard
Documentation improvement suggestion for *Ubyte to string
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.