aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--openssl.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/openssl.c b/openssl.c
index fdff179..e6f6cc9 100644
--- a/openssl.c
+++ b/openssl.c
@@ -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[] = {