src/x509.c

changeset 15
f1de983ff659
parent 14
1927b7b32faf
child 16
0cefcdd5b635
equal deleted inserted replaced
14:1927b7b32faf 15:f1de983ff659
164 /* Register the functions and tables */ 164 /* Register the functions and tables */
165 luaL_newmetatable(L, "SSL:Certificate"); 165 luaL_newmetatable(L, "SSL:Certificate");
166 lua_newtable(L); 166 lua_newtable(L);
167 luaL_register(L, NULL, meta); 167 luaL_register(L, NULL, meta);
168 lua_setfield(L, -2, "__index"); 168 lua_setfield(L, -2, "__index");
169
170 lua_newtable(L);
171 return 1;
169 } 172 }

mercurial