[pango] adding allow-none introspection metadata to pango_parse_enum
- From: Alberto Ruiz <aruiz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango] adding allow-none introspection metadata to pango_parse_enum
- Date: Mon, 25 Apr 2011 17:49:59 +0000 (UTC)
commit 50d7ad6f2073742c7b0423f578171b380b8196f5
Author: Alberto Ruiz <aruiz gnome org>
Date: Mon Apr 25 18:13:13 2011 +0100
adding allow-none introspection metadata to pango_parse_enum
pango/pango-utils.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/pango/pango-utils.c b/pango/pango-utils.c
index 6633289..00c55c3 100644
--- a/pango/pango-utils.c
+++ b/pango/pango-utils.c
@@ -773,10 +773,10 @@ parse_int (const char *word,
/**
* pango_parse_enum:
* @type: enum type to parse, eg. %PANGO_TYPE_ELLIPSIZE_MODE.
- * @str: string to parse. May be %NULL.
- * @value: integer to store the result in, or %NULL.
+ * @str: (allow-none): string to parse. May be %NULL.
+ * @value: (allow-none): integer to store the result in, or %NULL.
* @warn: if %TRUE, issue a g_warning() on bad input.
- * @possible_values: place to store list of possible values on failure, or %NULL.
+ * @possible_values: (allow-none): place to store list of possible values on failure, or %NULL.
*
* Parses an enum type and stores the result in @value.
*
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]