equal
deleted
inserted
replaced
2 #ifndef MISC_LUA_UTIL_H |
2 #ifndef MISC_LUA_UTIL_H |
3 #define MISC_LUA_UTIL_H |
3 #define MISC_LUA_UTIL_H |
4 |
4 |
5 #include <lua.h> |
5 #include <lua.h> |
6 |
6 |
|
7 // You can set this if anther type is required |
7 #ifndef enum_value_t |
8 #ifndef enum_value_t |
8 #define enum_value_t int |
9 #define enum_value_t int |
9 #endif |
10 #endif |
10 |
11 |
11 // Array of string2eunm_t's must be ended with pair { NULL, fallback_value } |
12 // Array of string2eunm_t's must be ended with pair { NULL, fallback_value } |