1
0
mirror of https://github.com/wg/wrk synced 2026-05-20 20:49:52 +08:00

upgrade LuaJIT to 2.1.0-beta3

This commit is contained in:
Will
2018-01-21 14:47:22 +09:00
Unverified
parent b9a832a7e0
commit c080834bc2
4 changed files with 5 additions and 4 deletions
+3 -3
View File
@@ -26,20 +26,20 @@ static void set_fields(lua_State *, int, const table_field *);
static void set_field(lua_State *, int, char *, int);
static int push_url_part(lua_State *, char *, struct http_parser_url *, enum http_parser_url_fields);
static const struct luaL_reg addrlib[] = {
static const struct luaL_Reg addrlib[] = {
{ "__tostring", script_addr_tostring },
{ "__gc" , script_addr_gc },
{ NULL, NULL }
};
static const struct luaL_reg statslib[] = {
static const struct luaL_Reg statslib[] = {
{ "__call", script_stats_call },
{ "__index", script_stats_index },
{ "__len", script_stats_len },
{ NULL, NULL }
};
static const struct luaL_reg threadlib[] = {
static const struct luaL_Reg threadlib[] = {
{ "__index", script_thread_index },
{ "__newindex", script_thread_newindex },
{ NULL, NULL }