diff options
| author | iamcheeseman <[email protected]> | 2026-05-10 00:28:14 -0400 |
|---|---|---|
| committer | iamcheeseman <[email protected]> | 2026-05-10 00:28:14 -0400 |
| commit | 576bd27e11ec70bdbd1b9a644d2e227b57586337 (patch) | |
| tree | 2dc41e3f88bb95568f73ee372fc35512afcbcf9b /teensy/teensy_platform.h | |
| parent | 9ed5698b3c74c7ce1784d3bebe2aa73d5a0c319d (diff) | |
i ain't splitting alla this up
Diffstat (limited to 'teensy/teensy_platform.h')
| -rw-r--r-- | teensy/teensy_platform.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/teensy/teensy_platform.h b/teensy/teensy_platform.h new file mode 100644 index 0000000..7733be1 --- /dev/null +++ b/teensy/teensy_platform.h @@ -0,0 +1,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_ |
