mirror of
https://github.com/lua/lua.git
synced 2025-07-04 07:03:24 +00:00
Manual: errors in lua_toclose are not memory errors
This commit is contained in:
parent
262dc5729a
commit
cbdf4969ec
3 changed files with 6 additions and 3 deletions
2
liolib.c
2
liolib.c
|
@ -773,7 +773,7 @@ static const luaL_Reg meth[] = {
|
|||
** metamethods for file handles
|
||||
*/
|
||||
static const luaL_Reg metameth[] = {
|
||||
{"__index", NULL}, /* place holder */
|
||||
{"__index", NULL}, /* placeholder */
|
||||
{"__gc", f_gc},
|
||||
{"__close", f_gc},
|
||||
{"__tostring", f_tostring},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue