aboutsummaryrefslogtreecommitdiff
path: root/lua.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2024-03-13 09:20:34 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2024-03-13 09:20:34 -0300
commit52aa2b5d24c560fb4d7a642971571ff9cbeabfcd (patch)
treea95b9c94c3a526ad85ebb26f910692d93b20888b /lua.h
parentcc2b66c85687b095e68304c010b59851ca4093e1 (diff)
downloadlua-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.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/lua.h b/lua.h
index face93fa..b6934e68 100644
--- a/lua.h
+++ b/lua.h
@@ -160,8 +160,7 @@ extern const char lua_ident[];
160/* 160/*
161** state manipulation 161** state manipulation
162*/ 162*/
163LUA_API lua_State *(lua_newstate) (lua_Alloc f, void *ud, 163LUA_API lua_State *(lua_newstate) (lua_Alloc f, void *ud, unsigned seed);
164 unsigned int seed);
165LUA_API void (lua_close) (lua_State *L); 164LUA_API void (lua_close) (lua_State *L);
166LUA_API lua_State *(lua_newthread) (lua_State *L); 165LUA_API lua_State *(lua_newthread) (lua_State *L);
167LUA_API int (lua_closethread) (lua_State *L, lua_State *from); 166LUA_API int (lua_closethread) (lua_State *L, lua_State *from);