Banjo API 1.0.0-rc.2
Low-level C99 game development API
Loading...
Searching...
No Matches
template_callbacks.c File Reference
#include <banjo/app.h>
#include <banjo/main.h>
#include <banjo/log.h>
#include <banjo/system.h>
Include dependency graph for template_callbacks.c:

Go to the source code of this file.

Functions

static void * setup (struct bj_app *app, void *init_data)
static void step (struct bj_app *app, struct bj_tick_info tick, void *user_data)
static void teardown (struct bj_app *app, void *user_data)
int main (int argc, char *argv[])

Function Documentation

◆ main()

int main ( int argc,
char * argv[] )

Definition at line 51 of file template_callbacks.c.

◆ setup()

void * setup ( struct bj_app * app,
void * init_data )
static

Definition at line 18 of file template_callbacks.c.

◆ step()

void step ( struct bj_app * app,
struct bj_tick_info tick,
void * user_data )
static

Definition at line 31 of file template_callbacks.c.

◆ teardown()

void teardown ( struct bj_app * app,
void * user_data )
static

Definition at line 44 of file template_callbacks.c.