diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-07-21 21:59:36 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-07-21 21:59:36 -0300 |
commit | 45b173cbf89597123267a69bace778cf498d6c98 (patch) | |
tree | 561573acd810544ba8c743df0335e5fbe64f302c /lapi.c | |
parent | a94cba4b88a940cba7a35244b8a1b393f33a905c (diff) | |
download | lua-45b173cbf89597123267a69bace778cf498d6c98.tar.gz lua-45b173cbf89597123267a69bace778cf498d6c98.tar.bz2 lua-45b173cbf89597123267a69bace778cf498d6c98.zip |
warnings/details
Diffstat (limited to 'lapi.c')
-rw-r--r-- | lapi.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lapi.c,v 1.147 2001/06/26 13:20:45 roberto Exp roberto $ | 2 | ** $Id: lapi.c,v 1.148 2001/07/12 18:11:58 roberto Exp roberto $ |
3 | ** Lua API | 3 | ** Lua API |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -489,7 +489,7 @@ LUA_API int lua_ref (lua_State *L, int lock) { | |||
489 | lua_rawseti(L, -2, ref); | 489 | lua_rawseti(L, -2, ref); |
490 | lua_pop(L, 1); /* remove registry */ | 490 | lua_pop(L, 1); /* remove registry */ |
491 | } | 491 | } |
492 | lua_pushliteral(L, "n"); | 492 | lua_pushliteral(L, l_s("n")); |
493 | lua_pushnumber(L, ref); | 493 | lua_pushnumber(L, ref); |
494 | lua_settable(L, -3); | 494 | lua_settable(L, -3); |
495 | lua_pop(L, 2); | 495 | lua_pop(L, 2); |