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
|
|
@ -81,6 +81,17 @@ struct wl_closure {
|
|||
uint32_t buffer[0];
|
||||
};
|
||||
|
||||
struct argument_details {
|
||||
char type;
|
||||
int nullable;
|
||||
};
|
||||
|
||||
const char *
|
||||
get_next_argument(const char *signature, struct argument_details *details);
|
||||
|
||||
int
|
||||
arg_count_for_signature(const char *signature);
|
||||
|
||||
struct wl_closure *
|
||||
wl_closure_vmarshal(struct wl_object *sender,
|
||||
uint32_t opcode, va_list ap,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue