mirror of
https://github.com/brunoos/luasec.git
synced 2025-07-12 22:14:23 +02:00
Add __close metamethod
This commit is contained in:
@ -846,6 +846,7 @@ static int meth_set_verify_ext(lua_State *L)
|
||||
* Context metamethods.
|
||||
*/
|
||||
static luaL_Reg meta[] = {
|
||||
{"__close", meth_destroy},
|
||||
{"__gc", meth_destroy},
|
||||
{"__tostring", meth_tostring},
|
||||
{NULL, NULL}
|
||||
|
Reference in New Issue
Block a user