summaryrefslogtreecommitdiffstats
path: root/wayland-util.h
diff options
context:
space:
mode:
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 {