diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2024-03-13 09:20:34 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2024-03-13 09:20:34 -0300 |
| commit | 52aa2b5d24c560fb4d7a642971571ff9cbeabfcd (patch) | |
| tree | a95b9c94c3a526ad85ebb26f910692d93b20888b /lua.h | |
| parent | cc2b66c85687b095e68304c010b59851ca4093e1 (diff) | |
| download | lua-52aa2b5d24c560fb4d7a642971571ff9cbeabfcd.tar.gz lua-52aa2b5d24c560fb4d7a642971571ff9cbeabfcd.tar.bz2 lua-52aa2b5d24c560fb4d7a642971571ff9cbeabfcd.zip | |
Details
- 'unsigned int' -> 'unsigned'
- Some explicit casts to avoid warnings
- Test avoids printing the value of 'fail' (which may not be nil)
Diffstat (limited to 'lua.h')
| -rw-r--r-- | lua.h | 3 |
1 files changed, 1 insertions, 2 deletions
| @@ -160,8 +160,7 @@ extern const char lua_ident[]; | |||
| 160 | /* | 160 | /* |
| 161 | ** state manipulation | 161 | ** state manipulation |
| 162 | */ | 162 | */ |
| 163 | LUA_API lua_State *(lua_newstate) (lua_Alloc f, void *ud, | 163 | LUA_API lua_State *(lua_newstate) (lua_Alloc f, void *ud, unsigned seed); |
| 164 | unsigned int seed); | ||
| 165 | LUA_API void (lua_close) (lua_State *L); | 164 | LUA_API void (lua_close) (lua_State *L); |
| 166 | LUA_API lua_State *(lua_newthread) (lua_State *L); | 165 | LUA_API lua_State *(lua_newthread) (lua_State *L); |
| 167 | LUA_API int (lua_closethread) (lua_State *L, lua_State *from); | 166 | LUA_API int (lua_closethread) (lua_State *L, lua_State *from); |
