From 250a331df9dbd312d572aaf0d629503417cfc9d4 Mon Sep 17 00:00:00 2001 From: PikalaxALT Date: Thu, 11 Jul 2019 21:16:23 -0400 Subject: Track tools srcs --- tools/gbagfx/util.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 tools/gbagfx/util.h (limited to 'tools/gbagfx/util.h') diff --git a/tools/gbagfx/util.h b/tools/gbagfx/util.h new file mode 100644 index 0000000..6d7a9c2 --- /dev/null +++ b/tools/gbagfx/util.h @@ -0,0 +1,14 @@ +// Copyright (c) 2015 YamaArashi + +#ifndef UTIL_H +#define UTIL_H + +#include + +bool ParseNumber(char *s, char **end, int radix, int *intValue); +char *GetFileExtension(char *path); +unsigned char *ReadWholeFile(char *path, int *size); +unsigned char *ReadWholeFileZeroPadded(char *path, int *size, int padAmount); +void WriteWholeFile(char *path, void *buffer, int bufferSize); + +#endif // UTIL_H -- cgit v1.2.3