aboutsummaryrefslogtreecommitdiff
path: root/ldebug.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2018-06-08 16:06:59 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2018-06-08 16:06:59 -0300
commit6f2b8e21c4ea9d730ccfe7e41bfc178704d1fc75 (patch)
tree8c95c0decfca59a1ad9b82f925ae8d3045f40220 /ldebug.h
parentc5dc521d654cbe9b04310a633e94dbcf1927e0f6 (diff)
downloadlua-6f2b8e21c4ea9d730ccfe7e41bfc178704d1fc75.tar.gz
lua-6f2b8e21c4ea9d730ccfe7e41bfc178704d1fc75.tar.bz2
lua-6f2b8e21c4ea9d730ccfe7e41bfc178704d1fc75.zip
added 'const' to 'Proto*' when possible
Diffstat (limited to 'ldebug.h')
-rw-r--r--ldebug.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ldebug.h b/ldebug.h
index 97a7a00e..3b8e6ae0 100644
--- a/ldebug.h
+++ b/ldebug.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ldebug.h,v 2.16 2018/01/28 15:13:26 roberto Exp roberto $ 2** $Id: ldebug.h,v 2.17 2018/05/02 18:17:59 roberto Exp roberto $
3** Auxiliary functions from Debug Interface module 3** Auxiliary functions from Debug Interface module
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -21,7 +21,7 @@
21*/ 21*/
22#define ABSLINEINFO (-0x80) 22#define ABSLINEINFO (-0x80)
23 23
24LUAI_FUNC int luaG_getfuncline (Proto *f, int pc); 24LUAI_FUNC int luaG_getfuncline (const Proto *f, int pc);
25LUAI_FUNC l_noret luaG_typeerror (lua_State *L, const TValue *o, 25LUAI_FUNC l_noret luaG_typeerror (lua_State *L, const TValue *o,
26 const char *opname); 26 const char *opname);
27LUAI_FUNC l_noret luaG_concaterror (lua_State *L, const TValue *p1, 27LUAI_FUNC l_noret luaG_concaterror (lua_State *L, const TValue *p1,