mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-12-25 19:24:16 +01:00
15 lines
400 B
C
15 lines
400 B
C
// Copyright (c) 2015 YamaArashi
|
|
|
|
#ifndef UTIL_H
|
|
#define UTIL_H
|
|
|
|
#include <stdbool.h>
|
|
|
|
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
|