From c1efdf9b0875f2a39488a86cd838947a24fab9fc Mon Sep 17 00:00:00 2001 From: quou Date: Tue, 2 May 2023 21:02:04 +1000 Subject: Initial commit. --- rect.h | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 rect.h (limited to 'rect.h') diff --git a/rect.h b/rect.h new file mode 100644 index 0000000..6f45705 --- /dev/null +++ b/rect.h @@ -0,0 +1,10 @@ +#ifndef rect_h +#define rect_h + +typedef struct { + int x, y, w, h; +} Rectangle; + +Rectangle make_rect(int x, int y, int w, int h); + +#endif -- cgit v1.2.3-54-g00ecf