lm_types.c
changeset 19 d775d7289fe4
parent 12 63f06a23c235
child 23 13f03e604c8a
--- a/lm_types.c	Sun Apr 05 16:55:48 2009 +0300
+++ b/lm_types.c	Mon Apr 27 13:15:23 2009 +0300
@@ -26,7 +26,7 @@
 llm_##WHAT##_t *bless_lm_##WHAT (lua_State *L, TYPE *WHAT)                      \
 {                                                                               \
 	llm_##WHAT##_t *object;                              /* top of stack */ \
-	lua_pushstring (L, LLM_OBJREGISTRY);       /* 1 registry table name  */ \
+	lua_pushliteral (L, LLM_OBJREGISTRY);      /* 1 registry table name  */ \
 	lua_rawget (L, LUA_REGISTRYINDEX);               /* 1 registry table */ \
 	lua_pushlightuserdata (L, WHAT);                 /* 2 light userdata */ \
 	lua_rawget (L, -2);                                  /* 2 object/nil */ \