summaryrefslogtreecommitdiffstats
path: root/wayland-util.h
diff options
context:
space:
mode:
authorCasey Dahlin <cdahlin@redhat.com>2010-06-03 00:33:18 -0400
committerCasey Dahlin <cdahlin@redhat.com>2010-06-03 00:33:18 -0400
commitd6bc8f48b7ba38b5aabdf8502e776e2da4534449 (patch)
tree036dd69e27218e2833e5f38eb867d0500c2f466d /wayland-util.h
parentac55bf56b1aaf343e23b0a0235aa7777f227cb03 (diff)
downloadwayland-master.tar.gz
wayland-master.tar.xz
wayland-master.zip
More comments for connection.c/h and wayland-util.hHEADmaster
Diffstat (limited to 'wayland-util.h')
-rw-r--r--wayland-util.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/wayland-util.h b/wayland-util.h
index 18891ec..09ad6bc 100644
--- a/wayland-util.h
+++ b/wayland-util.h
@@ -79,8 +79,17 @@ struct wl_argument {
/**
* A name and signature for a method or event in a wl_interface.
*
+ * The signature is a string with each character representing one argument and
+ * denoting type:
+ * u: Unsigned 32-bit int.
+ * i: Signed 32-bit int.
+ * s: String.
+ * o: Object (by ID).
+ * n: New object. (TODO: Clarify this. Its not quite right.)
+ * a: Array.
+ *
* name: Name of this message.
- * signature: What arguments this message comes with, in DBus style.
+ * signature: What arguments this message comes with.
* types: FIXME: This appears to be unused.
**/
struct wl_message {