Skip to content

Documentation improvement suggestion for *Ubyte to string #34

Description

@mbertschler

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions