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:
Daniel Stone 2012-07-23 19:54:40 +01:00 committed by Kristian Høgsberg
parent a2c79b14a1
commit efe23443d8
2 changed files with 13 additions and 7 deletions

View file

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