diff options
-rw-r--r-- | openssl.c | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -2665,9 +2665,10 @@ static const luaL_Reg xl_methods[] = { }; static const luaL_Reg xl_metatable[] = { - { "__pairs", &xl__pairs }, - { "__gc", &xl__gc }, - { NULL, NULL }, + { "__pairs", &xl__pairs }, + { "__ipairs", &xl__pairs }, + { "__gc", &xl__gc }, + { NULL, NULL }, }; static const luaL_Reg xl_globals[] = { |