From 26aaffc0e7293e4d4e48362159572e205c082068 Mon Sep 17 00:00:00 2001 From: Federico Angelilli Date: Wed, 10 Jul 2024 23:49:13 +0200 Subject: Finish config reader --- src/util.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/util.h') diff --git a/src/util.h b/src/util.h index 5e661a3..06258e1 100644 --- a/src/util.h +++ b/src/util.h @@ -20,4 +20,8 @@ bool check_circle(int px, int py, int x, int y, int r); // Check if point (px, py) is inside a capsule in (x, y), (x+w, y), (x, y+h) and (w+h, y+h) bool check_capsule(int px, int py, int x, int y, int w, int h); +char *strslice(const char *string, size_t start, size_t end); + +char *strcopy(const char *string); + #endif -- cgit v1.2.3