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:
+3
-3
@@ -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 }
|
||||
|
||||
Reference in New Issue
Block a user