| 761 | } |
| 762 | |
| 763 | void |
| 764 | ts_lua_set_http_ctx(lua_State *L, ts_lua_http_ctx *ctx) |
| 765 | { |
| 766 | lua_pushliteral(L, "__ts_http_ctx"); |
| 767 | lua_pushlightuserdata(L, ctx); |
| 768 | lua_rawset(L, LUA_GLOBALSINDEX); |
| 769 | } |
| 770 | |
| 771 | ts_lua_http_ctx * |
| 772 | ts_lua_get_http_ctx(lua_State *L) |
no outgoing calls
no test coverage detected