Manual: errors in lua_toclose are not memory errors

This commit is contained in:
Roberto Ierusalimschy 2024-05-23 09:55:26 -03:00
parent 262dc5729a
commit cbdf4969ec
3 changed files with 6 additions and 3 deletions

View file

@ -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},