mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05: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
				
			
		| 
						 | 
					@ -69,8 +69,8 @@ struct {					\
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define SPA_LOG_IMPL_INIT			\
 | 
					#define SPA_LOG_IMPL_INIT			\
 | 
				
			||||||
	{ { SPA_VERSION_LOG,			\
 | 
						{ { SPA_VERSION_LOG,			\
 | 
				
			||||||
            NULL,				\
 | 
					 | 
				
			||||||
	    SPA_LOG_LEVEL_INFO,			\
 | 
						    SPA_LOG_LEVEL_INFO,			\
 | 
				
			||||||
 | 
						    NULL,				\
 | 
				
			||||||
	    spa_log_impl_log,			\
 | 
						    spa_log_impl_log,			\
 | 
				
			||||||
	    spa_log_impl_logv,} }
 | 
						    spa_log_impl_logv,} }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -50,16 +50,16 @@ struct spa_log {
 | 
				
			||||||
	 * structure in the future */
 | 
						 * structure in the future */
 | 
				
			||||||
#define SPA_VERSION_LOG	0
 | 
					#define SPA_VERSION_LOG	0
 | 
				
			||||||
	uint32_t version;
 | 
						uint32_t version;
 | 
				
			||||||
	/**
 | 
					 | 
				
			||||||
	 * Extra information about the log
 | 
					 | 
				
			||||||
	 */
 | 
					 | 
				
			||||||
	const struct spa_dict *info;
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	/**
 | 
						/**
 | 
				
			||||||
	 * Logging level, everything above this level is not logged
 | 
						 * Logging level, everything above this level is not logged
 | 
				
			||||||
	 */
 | 
						 */
 | 
				
			||||||
	enum spa_log_level level;
 | 
						enum spa_log_level level;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						/**
 | 
				
			||||||
 | 
						 * Extra information about the log
 | 
				
			||||||
 | 
						 */
 | 
				
			||||||
 | 
						const struct spa_dict *info;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/**
 | 
						/**
 | 
				
			||||||
	 * Log a message with the given log level.
 | 
						 * 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 = {
 | 
					static const struct spa_log impl_log = {
 | 
				
			||||||
	SPA_VERSION_LOG,
 | 
						SPA_VERSION_LOG,
 | 
				
			||||||
	NULL,
 | 
					 | 
				
			||||||
	DEFAULT_LOG_LEVEL,
 | 
						DEFAULT_LOG_LEVEL,
 | 
				
			||||||
 | 
						NULL,
 | 
				
			||||||
	impl_log_log,
 | 
						impl_log_log,
 | 
				
			||||||
	impl_log_logv,
 | 
						impl_log_logv,
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue