Add byte and ubyte #defines in util.h

This commit is contained in:
Jeremy Baxter 2023-07-09 21:16:53 +12:00
parent 3da66e8932
commit 07164e0cf2

2
util.h
View file

@ -1,6 +1,8 @@
#include <string.h>
#include <lua.h>
#define byte char
#define ubyte unsigned char
#define LFAIL_RET 2
#define streq(s1, s2) (strcmp((s1), (s2)) == 0)