mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
log: move field around to plug hole in structure
This commit is contained in:
parent
87033894c5
commit
416bb2466d
3 changed files with 8 additions and 8 deletions
|
|
@ -68,9 +68,9 @@ struct { \
|
|||
} name
|
||||
|
||||
#define SPA_LOG_IMPL_INIT \
|
||||
{ { SPA_VERSION_LOG, \
|
||||
NULL, \
|
||||
{ { SPA_VERSION_LOG, \
|
||||
SPA_LOG_LEVEL_INFO, \
|
||||
NULL, \
|
||||
spa_log_impl_log, \
|
||||
spa_log_impl_logv,} }
|
||||
|
||||
|
|
|
|||
|
|
@ -50,16 +50,16 @@ struct spa_log {
|
|||
* structure in the future */
|
||||
#define SPA_VERSION_LOG 0
|
||||
uint32_t version;
|
||||
/**
|
||||
* Extra information about the log
|
||||
*/
|
||||
const struct spa_dict *info;
|
||||
|
||||
/**
|
||||
* Logging level, everything above this level is not logged
|
||||
*/
|
||||
enum spa_log_level level;
|
||||
|
||||
/**
|
||||
* Extra information about the log
|
||||
*/
|
||||
const struct spa_dict *info;
|
||||
|
||||
/**
|
||||
* Log a message with the given log level.
|
||||
*
|
||||
|
|
|
|||
|
|
@ -151,8 +151,8 @@ static void on_trace_event(struct spa_source *source)
|
|||
|
||||
static const struct spa_log impl_log = {
|
||||
SPA_VERSION_LOG,
|
||||
NULL,
|
||||
DEFAULT_LOG_LEVEL,
|
||||
NULL,
|
||||
impl_log_log,
|
||||
impl_log_logv,
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue