diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2024-07-27 13:32:59 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2024-07-27 13:32:59 -0300 |
| commit | 0acd55898d0aaae8dbc14c8a1bc1e3bdffc8701b (patch) | |
| tree | 0ac634fed90877130b1f102bf4075af999de2158 /lstring.h | |
| parent | 15231d4fb2f6984b25e0353ff46eda1a180b686d (diff) | |
| download | lua-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.h | 3 |
1 files changed, 2 insertions, 1 deletions
| @@ -61,7 +61,8 @@ LUAI_FUNC void luaS_resize (lua_State *L, int newsize); | |||
| 61 | LUAI_FUNC void luaS_clearcache (global_State *g); | 61 | LUAI_FUNC void luaS_clearcache (global_State *g); |
| 62 | LUAI_FUNC void luaS_init (lua_State *L); | 62 | LUAI_FUNC void luaS_init (lua_State *L); |
| 63 | LUAI_FUNC void luaS_remove (lua_State *L, TString *ts); | 63 | LUAI_FUNC void luaS_remove (lua_State *L, TString *ts); |
| 64 | LUAI_FUNC Udata *luaS_newudata (lua_State *L, size_t s, int nuvalue); | 64 | LUAI_FUNC Udata *luaS_newudata (lua_State *L, size_t s, |
| 65 | unsigned short nuvalue); | ||
| 65 | LUAI_FUNC TString *luaS_newlstr (lua_State *L, const char *str, size_t l); | 66 | LUAI_FUNC TString *luaS_newlstr (lua_State *L, const char *str, size_t l); |
| 66 | LUAI_FUNC TString *luaS_new (lua_State *L, const char *str); | 67 | LUAI_FUNC TString *luaS_new (lua_State *L, const char *str); |
| 67 | LUAI_FUNC TString *luaS_createlngstrobj (lua_State *L, size_t l); | 68 | LUAI_FUNC TString *luaS_createlngstrobj (lua_State *L, size_t l); |
