mirror of
				https://gitlab.freedesktop.org/wlroots/wlroots.git
				synced 2025-11-03 09:01:40 -05:00 
			
		
		
		
	wlr_backend_init -> wlr_backend_start
Also renames create to init. We'll use create for anything that allocates and init for anything that takes a pointer and initializes it.
This commit is contained in:
		
							parent
							
								
									43fb40e949
								
							
						
					
					
						commit
						4386816889
					
				
					 8 changed files with 22 additions and 22 deletions
				
			
		| 
						 | 
				
			
			@ -6,12 +6,12 @@
 | 
			
		|||
#include <wlr/egl.h>
 | 
			
		||||
 | 
			
		||||
struct wlr_backend_impl {
 | 
			
		||||
	bool (*init)(struct wlr_backend *backend);
 | 
			
		||||
	bool (*start)(struct wlr_backend *backend);
 | 
			
		||||
	void (*destroy)(struct wlr_backend *backend);
 | 
			
		||||
	struct wlr_egl *(*get_egl)(struct wlr_backend *backend);
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
void wlr_backend_create(struct wlr_backend *backend,
 | 
			
		||||
void wlr_backend_init(struct wlr_backend *backend,
 | 
			
		||||
		const struct wlr_backend_impl *impl);
 | 
			
		||||
 | 
			
		||||
#endif
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue