mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	Modification of the glib-mainloop doc to ensure that nobody frees the api as it is owned by the loop.
This commit is contained in:
		
							parent
							
								
									c5bd72509e
								
							
						
					
					
						commit
						30ba9030ef
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -56,7 +56,9 @@ pa_glib_mainloop *pa_glib_mainloop_new(GMainContext *c);
 | 
			
		|||
/** Free the GLIB main loop object */
 | 
			
		||||
void pa_glib_mainloop_free(pa_glib_mainloop* g);
 | 
			
		||||
 | 
			
		||||
/** Return the abstract main loop API vtable for the GLIB main loop object */
 | 
			
		||||
/** Return the abstract main loop API vtable for the GLIB main loop
 | 
			
		||||
    object. No need of freeing the API as it is owned by the loop and
 | 
			
		||||
    it is destroyed when this dies */
 | 
			
		||||
pa_mainloop_api* pa_glib_mainloop_get_api(pa_glib_mainloop *g);
 | 
			
		||||
 | 
			
		||||
PA_C_DECL_END
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue