mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-02 09:01:39 -05:00
connection: Export wl_connection_queue() so we can test it
This commit is contained in:
parent
e655059256
commit
ac80c54f18
2 changed files with 3 additions and 1 deletions
|
|
@ -349,7 +349,7 @@ wl_connection_write(struct wl_connection *connection,
|
|||
return 0;
|
||||
}
|
||||
|
||||
static int
|
||||
int
|
||||
wl_connection_queue(struct wl_connection *connection,
|
||||
const void *data, size_t count)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -66,6 +66,8 @@ void wl_connection_copy(struct wl_connection *connection, void *data, size_t siz
|
|||
void wl_connection_consume(struct wl_connection *connection, size_t size);
|
||||
int wl_connection_data(struct wl_connection *connection, uint32_t mask);
|
||||
int wl_connection_write(struct wl_connection *connection, const void *data, size_t count);
|
||||
int wl_connection_queue(struct wl_connection *connection,
|
||||
const void *data, size_t count);
|
||||
|
||||
struct wl_closure *
|
||||
wl_connection_vmarshal(struct wl_connection *connection,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue