Add byte and ubyte #defines in util.h
This commit is contained in:
parent
3da66e8932
commit
07164e0cf2
1 changed files with 2 additions and 0 deletions
2
util.h
2
util.h
|
@ -1,6 +1,8 @@
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <lua.h>
|
#include <lua.h>
|
||||||
|
|
||||||
|
#define byte char
|
||||||
|
#define ubyte unsigned char
|
||||||
#define LFAIL_RET 2
|
#define LFAIL_RET 2
|
||||||
|
|
||||||
#define streq(s1, s2) (strcmp((s1), (s2)) == 0)
|
#define streq(s1, s2) (strcmp((s1), (s2)) == 0)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue