mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2026-04-14 08:22:20 -04:00
Make wl_client_create() public
This commit is contained in:
parent
4d33e802e0
commit
8f081748f9
2 changed files with 2 additions and 1 deletions
|
|
@ -209,7 +209,7 @@ wl_display_post_range(struct wl_display *display, struct wl_client *client)
|
||||||
client->id_count += 256;
|
client->id_count += 256;
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct wl_client *
|
WL_EXPORT struct wl_client *
|
||||||
wl_client_create(struct wl_display *display, int fd)
|
wl_client_create(struct wl_display *display, int fd)
|
||||||
{
|
{
|
||||||
struct wl_client *client;
|
struct wl_client *client;
|
||||||
|
|
|
||||||
|
|
@ -87,6 +87,7 @@ typedef void (*wl_client_connect_func_t)(struct wl_client *client, struct wl_obj
|
||||||
|
|
||||||
int wl_display_add_global(struct wl_display *display, struct wl_object *object, wl_client_connect_func_t func);
|
int wl_display_add_global(struct wl_display *display, struct wl_object *object, wl_client_connect_func_t func);
|
||||||
|
|
||||||
|
struct wl_client *wl_client_create(struct wl_display *display, int fd);
|
||||||
void wl_client_destroy(struct wl_client *client);
|
void wl_client_destroy(struct wl_client *client);
|
||||||
void wl_client_post_no_memory(struct wl_client *client);
|
void wl_client_post_no_memory(struct wl_client *client);
|
||||||
void wl_client_post_global(struct wl_client *client, struct wl_object *object);
|
void wl_client_post_global(struct wl_client *client, struct wl_object *object);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue