From 5625a8626fe303748b205c80f87035593cf2f561 Mon Sep 17 00:00:00 2001 From: iamcheeseman Date: Fri, 8 May 2026 19:30:44 -0400 Subject: Initial commit --- teensy/platform.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 teensy/platform.h (limited to 'teensy/platform.h') 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_ -- cgit v1.3-2-g0d8e