mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-02 09:01:39 -05:00
Unstatic arg_count_for_signature and get_next_argument
Expose these to other files using wayland-private.h, so wayland-client.c can walk NULLables properly. Signed-off-by: Daniel Stone <daniel@fooishbar.org>
This commit is contained in:
parent
a2c79b14a1
commit
efe23443d8
2 changed files with 13 additions and 7 deletions
|
|
@ -404,12 +404,7 @@ wl_connection_put_fd(struct wl_connection *connection, int32_t fd)
|
|||
return 0;
|
||||
}
|
||||
|
||||
struct argument_details {
|
||||
char type;
|
||||
int nullable;
|
||||
};
|
||||
|
||||
static const char *
|
||||
const char *
|
||||
get_next_argument(const char *signature, struct argument_details *details)
|
||||
{
|
||||
if (*signature == '?') {
|
||||
|
|
@ -422,7 +417,7 @@ get_next_argument(const char *signature, struct argument_details *details)
|
|||
return signature + 1;
|
||||
}
|
||||
|
||||
static int
|
||||
int
|
||||
arg_count_for_signature(const char *signature)
|
||||
{
|
||||
int count = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue