removed gph-math, will use a c library
[vkrt] / src / util.h
1 #ifndef UTIL_H
2 #define UTIL_H
3
4 #include <stdbool.h>
5
6 #ifdef __cplusplus
7 extern "C" {
8 #endif
9
10 char *
11 sdr_load(const char *fname, int *sz);
12
13 bool
14 img_dump_rgba(const char *fname,
15               int w, int h,
16               unsigned char *data);
17
18 #ifdef __cplusplus
19 }
20 #endif
21
22 #endif /* UTIL_H */