[telepathy-gabble/master] capabilities: feature_handles: comment that the TpHandleRepoIface is just a string pool

Simon McVittie simon.mcvittie at collabora.co.uk
Tue Sep 8 04:19:31 PDT 2009


As per albanc's review
---
 src/capabilities.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/src/capabilities.c b/src/capabilities.c
index 7a40929..e57d43a 100644
--- a/src/capabilities.c
+++ b/src/capabilities.c
@@ -193,6 +193,11 @@ omits_content_creators (LmMessageNode *identity)
 }
 
 gsize feature_handles_refcount = 0;
+/* The handles in this repository are not really handles in the tp-spec sense
+ * of the word; we're just using it as a convenient implementation of a
+ * refcounted string pool. Their string values are either XMPP namespaces,
+ * or "quirk" pseudo-namespaces starting with QUIRK_PREFIX_CHAR (like
+ * QUIRK_OMITS_CONTENT_CREATORS). */
 static TpHandleRepoIface *feature_handles = NULL;
 
 void
-- 
1.5.6.5




More information about the telepathy-commits mailing list