Represent event and method metadata with struct wl_message.

This commit is contained in:
Kristian Høgsberg 2008-12-21 21:54:51 -05:00
parent fe831a7494
commit fb6d68ddbe
4 changed files with 11 additions and 16 deletions

View file

@ -70,7 +70,7 @@ static void
wl_client_vmarshal(struct wl_client *client, struct wl_object *sender,
uint32_t opcode, va_list ap)
{
const struct wl_event *event;
const struct wl_message *event;
struct wl_object *object;
uint32_t args[32], length, *p, size;
const char *s;
@ -125,7 +125,7 @@ static void
wl_client_demarshal(struct wl_client *client, struct wl_object *target,
uint32_t opcode, size_t size)
{
const struct wl_method *method;
const struct wl_message *method;
ffi_type *types[20];
ffi_cif cif;
uint32_t *p, result;