changeset 6 | 90073cbb535d |
parent 4 | 5770be2d5f3f |
child 15 | 1a5dd51722f5 |
--- a/util.h Mon Feb 16 01:32:12 2009 +0200 +++ b/util.h Fri Feb 20 23:07:43 2009 +0200 @@ -9,6 +9,8 @@ #define enum_value_t int #endif +#define lua_pushconststring(L, STRING) { lua_pushlstring (L, STRING, sizeof(STRING)); } + // Array of string2eunm_t's must be ended with pair { NULL, fallback_value } typedef struct { const char *string;