这是indexloc提供的服务,不要输入任何密码
Skip to content

Reminder: the sokol/app event callback allows to scribble over the non-owned event struct #18

@floooh

Description

@floooh

...not super critical because sokol_app.h treats the event struct as "write-only", but it's not nice.

Nim doesn't seem to have the concept of a const-ptr argument, so it's not an easy thing to solve without wrapping the cdecl callback.

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