mirror of
				https://gitlab.freedesktop.org/wayland/wayland.git
				synced 2025-11-03 09:01:42 -05:00 
			
		
		
		
	server: Add wl_resource_get_id()
This commit is contained in:
		
							parent
							
								
									57f74af278
								
							
						
					
					
						commit
						bca4124045
					
				
					 2 changed files with 8 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -440,6 +440,12 @@ wl_resource_destroy(struct wl_resource *resource)
 | 
			
		|||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
WL_EXPORT uint32_t
 | 
			
		||||
wl_resource_get_id(struct wl_resource *resource)
 | 
			
		||||
{
 | 
			
		||||
	return resource->object.id;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
WL_EXPORT struct wl_list *
 | 
			
		||||
wl_resource_get_link(struct wl_resource *resource)
 | 
			
		||||
{
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue