aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1997-06-18 18:20:45 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1997-06-18 18:20:45 -0300
commitf6d95140aeec014f904cf74bdc79bb99ee69f299 (patch)
tree83806f2a01811a388e68a0ea65b6319556c2de97
parenteca17b24ea9853ff6c2d7101419e190c861983f0 (diff)
downloadlua-f6d95140aeec014f904cf74bdc79bb99ee69f299.tar.gz
lua-f6d95140aeec014f904cf74bdc79bb99ee69f299.tar.bz2
lua-f6d95140aeec014f904cf74bdc79bb99ee69f299.zip
using old version functions.
-rw-r--r--lua.c4
-rw-r--r--strlib.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/lua.c b/lua.c
index f281d5be..424764f4 100644
--- a/lua.c
+++ b/lua.c
@@ -3,7 +3,7 @@
3** Linguagem para Usuarios de Aplicacao 3** Linguagem para Usuarios de Aplicacao
4*/ 4*/
5 5
6char *rcs_lua="$Id: lua.c,v 1.15 1997/04/04 22:24:51 roberto Exp roberto $"; 6char *rcs_lua="$Id: lua.c,v 1.16 1997/06/09 17:29:16 roberto Exp roberto $";
7 7
8#include <stdio.h> 8#include <stdio.h>
9#include <string.h> 9#include <string.h>
@@ -56,7 +56,7 @@ static void testC (void)
56 56
57 case 'r': { int n = getnum(s); reg[n] = lua_getref(locks[getnum(s)]); break; } 57 case 'r': { int n = getnum(s); reg[n] = lua_getref(locks[getnum(s)]); break; }
58 58
59 case 'u': lua_unlock(locks[getnum(s)]); break; 59 case 'u': lua_unref(locks[getnum(s)]); break;
60 60
61 case 'p': { int n = getnum(s); reg[n] = lua_getparam(getnum(s)); break; } 61 case 'p': { int n = getnum(s); reg[n] = lua_getparam(getnum(s)); break; }
62 62
diff --git a/strlib.c b/strlib.c
index a24e4bf2..d34268b7 100644
--- a/strlib.c
+++ b/strlib.c
@@ -3,7 +3,7 @@
3** String library to LUA 3** String library to LUA
4*/ 4*/
5 5
6char *rcs_strlib="$Id: strlib.c,v 1.42 1997/06/16 20:29:59 roberto Exp roberto $"; 6char *rcs_strlib="$Id: strlib.c,v 1.43 1997/06/18 20:15:47 roberto Exp roberto $";
7 7
8#include <string.h> 8#include <string.h>
9#include <stdio.h> 9#include <stdio.h>
@@ -94,7 +94,7 @@ static void str_sub (void)
94 addnchar(s+start-1, end-start+1); 94 addnchar(s+start-1, end-start+1);
95 lua_pushstring(luaI_addchar(0)); 95 lua_pushstring(luaI_addchar(0));
96 } 96 }
97 else lua_pushliteral(""); 97 else lua_pushstring("");
98} 98}
99 99
100/* 100/*