summaryrefslogtreecommitdiff
path: root/lfunc.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1997-12-09 11:50:08 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1997-12-09 11:50:08 -0200
commit80b3d28f4a9e518bf40b35f786199919180bfcd4 (patch)
treee25a410ba61883244207e25b16a853991b417ebb /lfunc.c
parent69d97712ecfcd06aa4edb7374b262131210d0bbc (diff)
downloadlua-80b3d28f4a9e518bf40b35f786199919180bfcd4.tar.gz
lua-80b3d28f4a9e518bf40b35f786199919180bfcd4.tar.bz2
lua-80b3d28f4a9e518bf40b35f786199919180bfcd4.zip
details (mainly error messages)
Diffstat (limited to 'lfunc.c')
-rw-r--r--lfunc.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/lfunc.c b/lfunc.c
index 2ab76335..82f3407b 100644
--- a/lfunc.c
+++ b/lfunc.c
@@ -1,6 +1,6 @@
1/* 1/*
2** $Id: lfunc.c,v 1.5 1997/10/24 17:17:24 roberto Exp roberto $ 2** $Id: lfunc.c,v 1.6 1997/11/19 17:29:23 roberto Exp roberto $
3** Lua Funcion auxiliar 3** Auxiliar functions to manipulate prototypes and closures
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
6 6
@@ -11,8 +11,8 @@
11#include "lmem.h" 11#include "lmem.h"
12#include "lstate.h" 12#include "lstate.h"
13 13
14#define gcsizeproto(p) 5 14#define gcsizeproto(p) 5 /* approximate "weight" for a prototype */
15#define gcsizeclosure(c) 1 15#define gcsizeclosure(c) 1 /* approximate "weight" for a closure */
16 16
17 17
18 18
@@ -83,7 +83,7 @@ void luaF_freeclosure (Closure *l)
83 83
84 84
85/* 85/*
86** Look for n-esim local variable at line "line" in function "func". 86** Look for n-th local variable at line "line" in function "func".
87** Returns NULL if not found. 87** Returns NULL if not found.
88*/ 88*/
89char *luaF_getlocalname (TProtoFunc *func, int local_number, int line) 89char *luaF_getlocalname (TProtoFunc *func, int local_number, int line)