aboutsummaryrefslogtreecommitdiff
path: root/teensy/teensy_platform.h
blob: 7733be193c02544edb6b5b8c55d8852f4334668f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#ifndef TEENSY_PLATFORM_H_
#define TEENSY_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 // TEENSY_PLATFORM_H_