diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2003-03-18 09:25:01 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2003-03-18 09:25:01 -0300 |
commit | 9b7af7e45bfe3432be8fea27e70de076b22f805f (patch) | |
tree | e211112e9144262e7b89fd133fdbea6975e830bc | |
parent | 2e66248f8a8e8e880d3d2010462bed9403f24f08 (diff) | |
download | lua-9b7af7e45bfe3432be8fea27e70de076b22f805f.tar.gz lua-9b7af7e45bfe3432be8fea27e70de076b22f805f.tar.bz2 lua-9b7af7e45bfe3432be8fea27e70de076b22f805f.zip |
tests for Windows version
-rw-r--r-- | loadlib.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id$ | 2 | ** $Id: loadlib.c,v 1.1 2003/03/17 13:01:48 roberto Exp roberto $ |
3 | ** Bare-bones dynamic library loader for Lua | 3 | ** Bare-bones dynamic library loader for Lua |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | * | 5 | * |
@@ -95,7 +95,7 @@ static void pusherror(lua_State *L) | |||
95 | 0, error, 0, buffer, sizeof(buffer), 0)) | 95 | 0, error, 0, buffer, sizeof(buffer), 0)) |
96 | lua_pushstring(L,buffer); | 96 | lua_pushstring(L,buffer); |
97 | else | 97 | else |
98 | lua_pushfstring("system error %d\n",error); | 98 | lua_pushfstring(L,"system error %d\n",error); |
99 | } | 99 | } |
100 | 100 | ||
101 | static int loadlib(lua_State *L) | 101 | static int loadlib(lua_State *L) |