summaryrefslogtreecommitdiff
path: root/inout.c
diff options
context:
space:
mode:
Diffstat (limited to 'inout.c')
-rw-r--r--inout.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/inout.c b/inout.c
index a30659ce..fe45c421 100644
--- a/inout.c
+++ b/inout.c
@@ -5,7 +5,7 @@
5** Also provides some predefined lua functions. 5** Also provides some predefined lua functions.
6*/ 6*/
7 7
8char *rcs_inout="$Id: inout.c,v 2.50 1997/03/31 20:59:09 roberto Exp roberto $"; 8char *rcs_inout="$Id: inout.c,v 2.51 1997/04/01 17:31:42 roberto Exp roberto $";
9 9
10#include <stdio.h> 10#include <stdio.h>
11#include <string.h> 11#include <string.h>
@@ -190,7 +190,7 @@ static void luaI_setglobal (void)
190 lua_Object value = lua_getparam(2); 190 lua_Object value = lua_getparam(2);
191 luaL_arg_check(value != LUA_NOOBJECT, "setglobal", 2, NULL); 191 luaL_arg_check(value != LUA_NOOBJECT, "setglobal", 2, NULL);
192 lua_pushobject(value); 192 lua_pushobject(value);
193 lua_storeglobal(luaL_check_string(1, "setglobal")); 193 lua_setglobal(luaL_check_string(1, "setglobal"));
194 lua_pushobject(value); /* return given value */ 194 lua_pushobject(value); /* return given value */
195} 195}
196 196
@@ -199,7 +199,7 @@ static void luaI_basicsetglobal (void)
199 lua_Object value = lua_getparam(2); 199 lua_Object value = lua_getparam(2);
200 luaL_arg_check(value != LUA_NOOBJECT, "basicsetglobal", 2, NULL); 200 luaL_arg_check(value != LUA_NOOBJECT, "basicsetglobal", 2, NULL);
201 lua_pushobject(value); 201 lua_pushobject(value);
202 lua_basicstoreglobal(luaL_check_string(1, "basicsetglobal")); 202 lua_basicsetglobal(luaL_check_string(1, "basicsetglobal"));
203 lua_pushobject(value); /* return given value */ 203 lua_pushobject(value); /* return given value */
204} 204}
205 205