aboutsummaryrefslogtreecommitdiff
path: root/lua.c
diff options
context:
space:
mode:
Diffstat (limited to 'lua.c')
-rw-r--r--lua.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lua.c b/lua.c
index fc2e89b0..34333f6f 100644
--- a/lua.c
+++ b/lua.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lua.c,v 1.65 2001/03/09 18:05:05 roberto Exp roberto $ 2** $Id: lua.c,v 1.66 2001/03/26 14:31:49 roberto Exp roberto $
3** Lua stand-alone interpreter 3** Lua stand-alone interpreter
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -308,7 +308,7 @@ static void getstacksize (int argc, l_char *argv[], struct Options *opt) {
308 308
309 309
310static void register_getargs (l_char *argv[]) { 310static void register_getargs (l_char *argv[]) {
311 lua_pushuserdata(L, argv); 311 lua_newuserdatabox(L, argv);
312 lua_pushcclosure(L, l_getargs, 1); 312 lua_pushcclosure(L, l_getargs, 1);
313 lua_setglobal(L, l_s("getargs")); 313 lua_setglobal(L, l_s("getargs"));
314} 314}