SLLV, SRLV, SRAV and ROTV have reverse order of operands
[pspdecompiler.git] / utils.h
blob400973d72574841358c863eb2d31af38a86934c4
1 /**
2 * Author: Humberto Naves (hsnaves@gmail.com)
3 */
5 #ifndef __UTILS_H
6 #define __UTILS_H
8 #include <stddef.h>
9 #include <stdarg.h>
11 void report (const char *fmt, ...);
13 void error (const char *fmt, ...);
14 void xerror (const char *fmt, ...);
16 void fatal (const char *fmt, ...);
17 void xfatal (const char *fmt, ...);
19 void *xmalloc (size_t size);
20 void *xrealloc (void *ptr, size_t size);
22 void *read_file (const char *path, size_t *size);
24 #endif /* __UTILS_H */