mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-10-29 05:40:16 -04:00
cursor: add forward declaration for struct wl_buffer
This makes the header self-contained, since the struct is considered opaque from waylad-cursor POV. As we're here move the wl_shm fwd. declaration alongside the others. Making it easier to read and track. Signed-off-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Yong Bakos <ybakos@humanoriented.com>
This commit is contained in:
parent
4c920f0f5e
commit
2f392daadb
1 changed files with 2 additions and 2 deletions
|
|
@ -33,6 +33,8 @@ extern "C" {
|
|||
#endif
|
||||
|
||||
struct wl_cursor_theme;
|
||||
struct wl_buffer;
|
||||
struct wl_shm;
|
||||
|
||||
struct wl_cursor_image {
|
||||
uint32_t width; /* actual width */
|
||||
|
|
@ -48,8 +50,6 @@ struct wl_cursor {
|
|||
char *name;
|
||||
};
|
||||
|
||||
struct wl_shm;
|
||||
|
||||
struct wl_cursor_theme *
|
||||
wl_cursor_theme_load(const char *name, int size, struct wl_shm *shm);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue