aboutsummaryrefslogtreecommitdiff
path: root/lstring.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2024-07-27 13:32:59 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2024-07-27 13:32:59 -0300
commit0acd55898d0aaae8dbc14c8a1bc1e3bdffc8701b (patch)
tree0ac634fed90877130b1f102bf4075af999de2158 /lstring.h
parent15231d4fb2f6984b25e0353ff46eda1a180b686d (diff)
downloadlua-0acd55898d0aaae8dbc14c8a1bc1e3bdffc8701b.tar.gz
lua-0acd55898d0aaae8dbc14c8a1bc1e3bdffc8701b.tar.bz2
lua-0acd55898d0aaae8dbc14c8a1bc1e3bdffc8701b.zip
Added gcc option '-Wconversion'
No warnings for standard numerical types. Still pending alternative numerical types.
Diffstat (limited to 'lstring.h')
-rw-r--r--lstring.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lstring.h b/lstring.h
index c88357aa..26f4b8e1 100644
--- a/lstring.h
+++ b/lstring.h
@@ -61,7 +61,8 @@ LUAI_FUNC void luaS_resize (lua_State *L, int newsize);
61LUAI_FUNC void luaS_clearcache (global_State *g); 61LUAI_FUNC void luaS_clearcache (global_State *g);
62LUAI_FUNC void luaS_init (lua_State *L); 62LUAI_FUNC void luaS_init (lua_State *L);
63LUAI_FUNC void luaS_remove (lua_State *L, TString *ts); 63LUAI_FUNC void luaS_remove (lua_State *L, TString *ts);
64LUAI_FUNC Udata *luaS_newudata (lua_State *L, size_t s, int nuvalue); 64LUAI_FUNC Udata *luaS_newudata (lua_State *L, size_t s,
65 unsigned short nuvalue);
65LUAI_FUNC TString *luaS_newlstr (lua_State *L, const char *str, size_t l); 66LUAI_FUNC TString *luaS_newlstr (lua_State *L, const char *str, size_t l);
66LUAI_FUNC TString *luaS_new (lua_State *L, const char *str); 67LUAI_FUNC TString *luaS_new (lua_State *L, const char *str);
67LUAI_FUNC TString *luaS_createlngstrobj (lua_State *L, size_t l); 68LUAI_FUNC TString *luaS_createlngstrobj (lua_State *L, size_t l);