util.h
changeset 4 5770be2d5f3f
parent 0 84fdfb0344c9
child 6 90073cbb535d
equal deleted inserted replaced
3:4fd19a188509 4:5770be2d5f3f
     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 }