aboutsummaryrefslogtreecommitdiff
path: root/lfunc.c
diff options
context:
space:
mode:
Diffstat (limited to 'lfunc.c')
-rw-r--r--lfunc.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/lfunc.c b/lfunc.c
index ea8a9a42..fc97c0a3 100644
--- a/lfunc.c
+++ b/lfunc.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lfunc.c,v 1.11 1999/08/16 20:52:00 roberto Exp roberto $ 2** $Id: lfunc.c,v 1.12 1999/10/04 17:51:04 roberto Exp roberto $
3** Auxiliary functions to manipulate prototypes and closures 3** Auxiliary functions to manipulate prototypes and closures
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -62,7 +62,8 @@ void luaF_freeclosure (Closure *c) {
62** Look for n-th local variable at line "line" in function "func". 62** Look for n-th local variable at line "line" in function "func".
63** Returns NULL if not found. 63** Returns NULL if not found.
64*/ 64*/
65const char *luaF_getlocalname (TProtoFunc *func, int local_number, int line) { 65const char *luaF_getlocalname (const TProtoFunc *func,
66 int local_number, int line) {
66 int count = 0; 67 int count = 0;
67 const char *varname = NULL; 68 const char *varname = NULL;
68 LocVar *lv = func->locvars; 69 LocVar *lv = func->locvars;