summaryrefslogtreecommitdiff
path: root/telepathy-glib/gtypes.c
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2007-09-06 18:36:29 +0000
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2007-09-06 18:36:29 +0000
commit577ba25bbfcf9d496737908d2d5203faeee5bbfc (patch)
tree4dcedb6e9adc2020c159209c90ed701ca27e60e1 /telepathy-glib/gtypes.c
parentf38f4f9a12b2ebbb30ae2c2a9de1a270fa4be108 (diff)
downloadtelepathy-glib-577ba25bbfcf9d496737908d2d5203faeee5bbfc.tar.gz
Document gtypes.c
20070906183629-53eee-73aff929a324c2d861b6478873f6d2b883cfa043.gz
Diffstat (limited to 'telepathy-glib/gtypes.c')
-rw-r--r--telepathy-glib/gtypes.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/telepathy-glib/gtypes.c b/telepathy-glib/gtypes.c
index 95e634fa6..c40380956 100644
--- a/telepathy-glib/gtypes.c
+++ b/telepathy-glib/gtypes.c
@@ -22,6 +22,20 @@
#include <telepathy-glib/util.h>
/**
+ * SECTION:gtypes
+ * @title: GType factory functions
+ * @short_description: Macros using caching factory functions to get
+ * dbus-glib specialized GTypes
+ *
+ * dbus-glib's built-in factory functions for specialized GTypes need to do
+ * a fair amount of parsing on their arguments, so these macros are provided
+ * to avoid that. Each macro expands to a call to a function which caches
+ * the GType, so it only ever has to call into dbus-glib once.
+ *
+ * tp_dbus_specialized_value_slice_new() is also provided.
+ */
+
+/**
* tp_dbus_specialized_value_slice_new:
* @type: A D-Bus specialized type (i.e. probably a specialized GValueArray
* representing a D-Bus struct)