diff options
| author | iamcheeseman <[email protected]> | 2026-05-08 19:30:44 -0400 |
|---|---|---|
| committer | iamcheeseman <[email protected]> | 2026-05-08 19:30:44 -0400 |
| commit | 5625a8626fe303748b205c80f87035593cf2f561 (patch) | |
| tree | 5e5a5adb6f1265358ae21ec47cd384362345df5a /teensy/platform.h | |
Initial commit
Diffstat (limited to 'teensy/platform.h')
| -rw-r--r-- | teensy/platform.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/teensy/platform.h b/teensy/platform.h new file mode 100644 index 0000000..df3c5f8 --- /dev/null +++ b/teensy/platform.h @@ -0,0 +1,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_ |
