wp: rename debug.{h,c} to log.{h,c}
Also rename the intermediate lua api table WpDebug -> WpLog Keeps things more consistent with the function names (wp_log*), with the lua api (Log.*) and with pipewire using log.{h,c} as well. After all, these functions are for logging...
This commit is contained in:
@@ -202,7 +202,7 @@ static const luaL_Reg core_funcs[] = {
|
||||
{ NULL, NULL }
|
||||
};
|
||||
|
||||
/* WpDebug */
|
||||
/* WpLog */
|
||||
|
||||
static int
|
||||
log_log (lua_State *L, GLogLevelFlags lvl)
|
||||
@@ -1264,7 +1264,7 @@ wp_lua_scripting_api_init (lua_State *L)
|
||||
lua_setglobal (L, "GLib");
|
||||
|
||||
luaL_newlib (L, log_funcs);
|
||||
lua_setglobal (L, "WpDebug");
|
||||
lua_setglobal (L, "WpLog");
|
||||
|
||||
luaL_newlib (L, core_funcs);
|
||||
lua_setglobal (L, "WpCore");
|
||||
|
Reference in New Issue
Block a user