diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2018-06-08 16:06:59 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2018-06-08 16:06:59 -0300 |
commit | 6f2b8e21c4ea9d730ccfe7e41bfc178704d1fc75 (patch) | |
tree | 8c95c0decfca59a1ad9b82f925ae8d3045f40220 /ldebug.h | |
parent | c5dc521d654cbe9b04310a633e94dbcf1927e0f6 (diff) | |
download | lua-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.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 | ||
24 | LUAI_FUNC int luaG_getfuncline (Proto *f, int pc); | 24 | LUAI_FUNC int luaG_getfuncline (const Proto *f, int pc); |
25 | LUAI_FUNC l_noret luaG_typeerror (lua_State *L, const TValue *o, | 25 | LUAI_FUNC l_noret luaG_typeerror (lua_State *L, const TValue *o, |
26 | const char *opname); | 26 | const char *opname); |
27 | LUAI_FUNC l_noret luaG_concaterror (lua_State *L, const TValue *p1, | 27 | LUAI_FUNC l_noret luaG_concaterror (lua_State *L, const TValue *p1, |