Skip to content

etc.go getters/setters #75

@rishabh-bector

Description

@rishabh-bector

Hi,

I'm attempting to use this library to create a UI for the game engine I'm developing here: https://github.com/rishabh-bector/rapidengine. I've read the previous issues on styling and editing the Context of Nuklear, and I understand that cgogen is not able to auto generate Getters and Setters for structs, so they have to be written by hand at the moment as you have done in etc.go. I also read that you have chosen not to export the fields of these structs, due to the large amount of internal state they contain.

In this case, is it possible for me to use cgogen to create my own bindings for Nuklear in which all struct fields are exported? I think that this would be a much more convenient solution (despite the downsides).

Thanks,
Rishabh

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions