[glib] goption: Mention type of G_OPTION_ARG_CALLBACK in documentation



commit c5c8bac69337f6a9e9d0311f5b9793cf6b15e41c
Author: Philip Withnall <philip withnall collabora co uk>
Date:   Fri Mar 13 09:10:01 2015 +0000

    goption: Mention type of G_OPTION_ARG_CALLBACK in documentation

 glib/goption.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/glib/goption.h b/glib/goption.h
index 8f3a92c..93b80e3 100644
--- a/glib/goption.h
+++ b/glib/goption.h
@@ -95,8 +95,8 @@ typedef enum
  * @G_OPTION_ARG_NONE: No extra argument. This is useful for simple flags.
  * @G_OPTION_ARG_STRING: The option takes a string argument.
  * @G_OPTION_ARG_INT: The option takes an integer argument.
- * @G_OPTION_ARG_CALLBACK: The option provides a callback to parse the
- *     extra argument.
+ * @G_OPTION_ARG_CALLBACK: The option provides a callback (of type
+ *     #GOptionArgFunc) to parse the extra argument.
  * @G_OPTION_ARG_FILENAME: The option takes a filename as argument.
  * @G_OPTION_ARG_STRING_ARRAY: The option takes a string argument, multiple
  *     uses of the option are collected into an array of strings.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]