aboutsummaryrefslogtreecommitdiff
path: root/teensy/platform.h
blob: df3c5f8200631cc3e191df3c92735aca6ecc88e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#ifndef PLATFORM_H_
#define PLATFORM_H_

// This platform functions are to be implemented by a platform library.

void ty_platform_init(struct ty_ctx *ctx);
void ty_platform_deinit(void);
void ty_platform_frame(struct ty_image img);
bool ty_platform_os_wants_quit(void);
double ty_platform_get_time(void);

#endif // PLATFORM_H_