Make wl_client_create() public

This commit is contained in:
Kristian Høgsberg 2011-04-11 09:15:09 -04:00
parent 4d33e802e0
commit 8f081748f9
2 changed files with 2 additions and 1 deletions

View file

@ -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;

View file

@ -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);