mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	proplist: pa_proplist_get: constify proplist pointer
This commit is contained in:
		
							parent
							
								
									5d101fd2e2
								
							
						
					
					
						commit
						cc063264e6
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -299,7 +299,7 @@ const char *pa_proplist_gets(pa_proplist *p, const char *key) {
 | 
			
		|||
    return (char*) prop->value;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
int pa_proplist_get(pa_proplist *p, const char *key, const void **data, size_t *nbytes) {
 | 
			
		||||
int pa_proplist_get(const pa_proplist *p, const char *key, const void **data, size_t *nbytes) {
 | 
			
		||||
    struct property *prop;
 | 
			
		||||
 | 
			
		||||
    pa_assert(p);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -318,7 +318,7 @@ const char *pa_proplist_gets(pa_proplist *p, const char *key);
 | 
			
		|||
 * point to an internally allocated buffer. The caller should make a
 | 
			
		||||
 * copy of the data before the property list is accessed again.
 | 
			
		||||
 * Returns zero on success, negative on error. \since 0.9.11 */
 | 
			
		||||
int pa_proplist_get(pa_proplist *p, const char *key, const void **data, size_t *nbytes);
 | 
			
		||||
int pa_proplist_get(const pa_proplist *p, const char *key, const void **data, size_t *nbytes);
 | 
			
		||||
 | 
			
		||||
/** Update mode enum for pa_proplist_update(). \since 0.9.11 */
 | 
			
		||||
typedef enum pa_update_mode {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue