From 576bd27e11ec70bdbd1b9a644d2e227b57586337 Mon Sep 17 00:00:00 2001 From: iamcheeseman Date: Sun, 10 May 2026 00:28:14 -0400 Subject: i ain't splitting alla this up --- teensy/teensy_platform.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 teensy/teensy_platform.h (limited to 'teensy/teensy_platform.h') 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_ -- cgit v1.3-2-g0d8e