log: make the log topic flags an enumeration and publicly documented

Fixes: #591
This commit is contained in:
George Kiagiadakis
2024-03-18 16:39:45 +02:00
parent 8a893bdaf0
commit d0b7dde4e9
2 changed files with 21 additions and 14 deletions

View File

@@ -309,7 +309,7 @@ static const luaL_Reg core_funcs[] = {
/* WpLog */
typedef struct _WpLogTopic WpLuaLogTopic;
typedef WpLogTopic WpLuaLogTopic;
static WpLuaLogTopic *
wp_lua_log_topic_new (const char *name)