mirror of
				https://gitlab.freedesktop.org/wayland/wayland.git
				synced 2025-11-03 09:01:42 -05:00 
			
		
		
		
	wayland-server: Finally remove deprecated struct wl_buffer definition
commit d94a8722cb
warned this was coming, back in 2013.
I've seen libraries that have wayland client and server using functions
in the same file.  Since struct wl_buffer still exists as an opaque
entity in client code, the vestigial deprecated wl_buffer from the
server include will generate warnings when not building with
WL_HIDE_DEPRECATED.
Signed-off-by: Derek Foreman <derekf@osg.samsung.com>
Acked-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Reviewed-by: Daniel Stone <daniels@collabora.com>
			
			
This commit is contained in:
		
							parent
							
								
									504db9d8e5
								
							
						
					
					
						commit
						e614d79b65
					
				
					 1 changed files with 0 additions and 6 deletions
				
			
		| 
						 | 
					@ -70,12 +70,6 @@ struct wl_resource {
 | 
				
			||||||
	void *data;
 | 
						void *data;
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
struct wl_buffer {
 | 
					 | 
				
			||||||
	struct wl_resource resource;
 | 
					 | 
				
			||||||
	int32_t width, height;
 | 
					 | 
				
			||||||
	uint32_t busy_count;
 | 
					 | 
				
			||||||
} WL_DEPRECATED;
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
uint32_t
 | 
					uint32_t
 | 
				
			||||||
wl_client_add_resource(struct wl_client *client,
 | 
					wl_client_add_resource(struct wl_client *client,
 | 
				
			||||||
		       struct wl_resource *resource) WL_DEPRECATED;
 | 
							       struct wl_resource *resource) WL_DEPRECATED;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue