From 5247f12f3649726471080440de0d37b78c1cec33 Mon Sep 17 00:00:00 2001 From: Andrew Walton Date: Tue, 27 Nov 2007 14:00:13 +0000 Subject: Bumps documentation to 93% symbol coverage, touching most of the public files. Fixes broken function documentation prototypes. Fixes GCancellable inaccuracies. Removes unnecessary incomplete gtk-doc headers in private files. svn path=/trunk/; revision=5953 --- gio/gsimpleasyncresult.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'gio/gsimpleasyncresult.h') diff --git a/gio/gsimpleasyncresult.h b/gio/gsimpleasyncresult.h index 4c4ecf8e6..0607f8835 100644 --- a/gio/gsimpleasyncresult.h +++ b/gio/gsimpleasyncresult.h @@ -35,9 +35,23 @@ G_BEGIN_DECLS #define G_IS_SIMPLE_ASYNC_RESULT_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), G_TYPE_SIMPLE_ASYNC_RESULT)) #define G_SIMPLE_ASYNC_RESULT_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), G_TYPE_SIMPLE_ASYNC_RESULT, GSimpleAsyncResultClass)) +/** + * GSimpleAsyncResult: + * + * A simple implementation of #GAsyncResult. + **/ typedef struct _GSimpleAsyncResult GSimpleAsyncResult; typedef struct _GSimpleAsyncResultClass GSimpleAsyncResultClass; +/** + * GSimpleAsyncThreadFunc: + * @res: a #GSimpleAsyncResult. + * @object: a #GObject. + * @cancellable: optional #GCancellable object, %NULL to ignore. + * + * Simple thread function that runs an asynchronous operation and + * checks for cancellation. + **/ typedef void (*GSimpleAsyncThreadFunc) (GSimpleAsyncResult *res, GObject *object, GCancellable *cancellable); -- cgit v1.2.1