MCPcopy Create free account
hub / github.com/apache/trafficserver / ts_lua_inject_number_variables

Function ts_lua_inject_number_variables

plugins/lua/ts_lua_constant.cc:34–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32}
33
34static void
35ts_lua_inject_number_variables(lua_State *L)
36{
37 lua_pushinteger(L, INT64_MAX);
38 lua_setglobal(L, "TS_LUA_INT64_MAX");
39
40 lua_pushinteger(L, INT64_MIN);
41 lua_setglobal(L, "TS_LUA_INT64_MIN");
42}

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected