diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2024-05-23 09:55:26 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2024-05-23 09:55:26 -0300 |
commit | cbdf4969ec425f1df1ade358425c0bf0bf811d83 (patch) | |
tree | de6078c0cc8db2cf3cd70c3ab9cc8777c2db43c9 /liolib.c | |
parent | 262dc5729a28b2bad0b6413d4eab2290d14395cf (diff) | |
download | lua-cbdf4969ec425f1df1ade358425c0bf0bf811d83.tar.gz lua-cbdf4969ec425f1df1ade358425c0bf0bf811d83.tar.bz2 lua-cbdf4969ec425f1df1ade358425c0bf0bf811d83.zip |
Manual: errors in lua_toclose are not memory errors
Diffstat (limited to 'liolib.c')
-rw-r--r-- | liolib.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -773,7 +773,7 @@ static const luaL_Reg meth[] = { | |||
773 | ** metamethods for file handles | 773 | ** metamethods for file handles |
774 | */ | 774 | */ |
775 | static const luaL_Reg metameth[] = { | 775 | static const luaL_Reg metameth[] = { |
776 | {"__index", NULL}, /* place holder */ | 776 | {"__index", NULL}, /* placeholder */ |
777 | {"__gc", f_gc}, | 777 | {"__gc", f_gc}, |
778 | {"__close", f_gc}, | 778 | {"__close", f_gc}, |
779 | {"__tostring", f_tostring}, | 779 | {"__tostring", f_tostring}, |