mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-10-29 05:40:23 -04:00 
			
		
		
		
	mainloop: constify is_our_api api ref
This commit is contained in:
		
							parent
							
								
									517ee7c924
								
							
						
					
					
						commit
						7cb2e4ad3d
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		|  | @ -318,6 +318,6 @@ void pa_ext_device_manager_command(pa_context *c, uint32_t tag, pa_tagstruct *t) | |||
| void pa_ext_device_restore_command(pa_context *c, uint32_t tag, pa_tagstruct *t); | ||||
| void pa_ext_stream_restore_command(pa_context *c, uint32_t tag, pa_tagstruct *t); | ||||
| 
 | ||||
| bool pa_mainloop_is_our_api(pa_mainloop_api*m); | ||||
| bool pa_mainloop_is_our_api(const pa_mainloop_api*m); | ||||
| 
 | ||||
| #endif | ||||
|  |  | |||
|  | @ -971,7 +971,7 @@ void pa_mainloop_set_poll_func(pa_mainloop *m, pa_poll_func poll_func, void *use | |||
|     m->poll_func_userdata = userdata; | ||||
| } | ||||
| 
 | ||||
| bool pa_mainloop_is_our_api(pa_mainloop_api *m) { | ||||
| bool pa_mainloop_is_our_api(const pa_mainloop_api *m) { | ||||
|     pa_assert(m); | ||||
| 
 | ||||
|     return m->io_new == mainloop_io_new; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Lyndon Brown
						Lyndon Brown