[Xcb-commit] src

Ian Osgood iano at kemper.freedesktop.org
Sat Oct 7 14:09:41 PDT 2006


 src/xcb.h |    8 ++++++++
 1 files changed, 8 insertions(+)

New commits:
diff-tree 7b84d8b650a611d4d76083340e50cb7ea815014d (from 9e10819a678970928c9f9a1fffb4ba00f5ac7c57)
Author: Ian Osgood <iano at quirkster.com>
Date:   Sat Oct 7 14:09:29 2006 -0700

    Document xcb_generate_id.

diff --git a/src/xcb.h b/src/xcb.h
index eaab47f..751bf70 100644
--- a/src/xcb.h
+++ b/src/xcb.h
@@ -410,6 +410,14 @@ xcb_connection_t *xcb_connect_to_display
 
 /* xcb_xid.c */
 
+/**
+ * @brief Allocates an XID for a new object.
+ * @param c: The connection.
+ * @return A newly allocated XID.
+ *
+ * Allocates an XID for a new object. Typically used just prior to
+ * various object creation functions, such as xcb_create_window.
+ */
 uint32_t xcb_generate_id(xcb_connection_t *c);
 
 


More information about the xcb-commit mailing list