Skip to content

Set init/update/close Callbacks in main()? #15

Description

@RobLoach

In the main function, set the callbacks that will be used to call the functions?

fn main() {
    raylib.SetInitCallback("init")
    raylib.SetUpdateCallback("update")
    raylib.SetCloseCallback("close")
}

... Maybe?

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