MCPcopy Create free account
hub / github.com/apache/httpd / ap_lua_load_config_lmodule

Function ap_lua_load_config_lmodule

modules/lua/lua_config.c:262–277  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

260};
261
262void ap_lua_load_config_lmodule(lua_State *L)
263{
264 luaL_newmetatable(L, "Apache2.DirConfig"); /* [metatable] */
265 lua_pushvalue(L, -1);
266
267 lua_setfield(L, -2, "__index");
268 luaL_setfuncs_compat(L, cfg_methods); /* [metatable] */
269
270
271 luaL_newmetatable(L, "Apache2.CommandParameters");
272 lua_pushvalue(L, -1);
273
274 lua_setfield(L, -2, "__index");
275 luaL_setfuncs_compat(L, cmd_methods); /* [metatable] */
276
277}

Callers 1

lua_open_callbackFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected