From 6f2b8e21c4ea9d730ccfe7e41bfc178704d1fc75 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 8 Jun 2018 16:06:59 -0300 Subject: added 'const' to 'Proto*' when possible --- ldebug.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ldebug.h') diff --git a/ldebug.h b/ldebug.h index 97a7a00e..3b8e6ae0 100644 --- a/ldebug.h +++ b/ldebug.h @@ -1,5 +1,5 @@ /* -** $Id: ldebug.h,v 2.16 2018/01/28 15:13:26 roberto Exp roberto $ +** $Id: ldebug.h,v 2.17 2018/05/02 18:17:59 roberto Exp roberto $ ** Auxiliary functions from Debug Interface module ** See Copyright Notice in lua.h */ @@ -21,7 +21,7 @@ */ #define ABSLINEINFO (-0x80) -LUAI_FUNC int luaG_getfuncline (Proto *f, int pc); +LUAI_FUNC int luaG_getfuncline (const Proto *f, int pc); LUAI_FUNC l_noret luaG_typeerror (lua_State *L, const TValue *o, const char *opname); LUAI_FUNC l_noret luaG_concaterror (lua_State *L, const TValue *p1, -- cgit v1.2.3-55-g6feb