[pango/wip/ricotz/gi-fixes: 1/2] docs: out parameters which are enums are not caller-allocatable
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango/wip/ricotz/gi-fixes: 1/2] docs: out parameters which are enums are not caller-allocatable
- Date: Thu, 4 Apr 2019 06:59:15 +0000 (UTC)
commit a31d18f60490a8b5b24c646789102595cecc72e7
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Thu Apr 4 08:50:25 2019 +0200
docs: out parameters which are enums are not caller-allocatable
pango/fonts.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/pango/fonts.c b/pango/fonts.c
index 63e7c7b9..b46aef02 100644
--- a/pango/fonts.c
+++ b/pango/fonts.c
@@ -1527,7 +1527,7 @@ parse_field (const char *what,
/**
* pango_parse_style:
* @str: a string to parse.
- * @style: (out caller-allocates): a #PangoStyle to store the result
+ * @style: (out): a #PangoStyle to store the result
* in.
* @warn: if %TRUE, issue a g_warning() on bad input.
*
@@ -1548,7 +1548,7 @@ pango_parse_style (const char *str,
/**
* pango_parse_variant:
* @str: a string to parse.
- * @variant: (out caller-allocates): a #PangoVariant to store the
+ * @variant: (out): a #PangoVariant to store the
* result in.
* @warn: if %TRUE, issue a g_warning() on bad input.
*
@@ -1569,7 +1569,7 @@ pango_parse_variant (const char *str,
/**
* pango_parse_weight:
* @str: a string to parse.
- * @weight: (out caller-allocates): a #PangoWeight to store the result
+ * @weight: (out): a #PangoWeight to store the result
* in.
* @warn: if %TRUE, issue a g_warning() on bad input.
*
@@ -1590,7 +1590,7 @@ pango_parse_weight (const char *str,
/**
* pango_parse_stretch:
* @str: a string to parse.
- * @stretch: (out caller-allocates): a #PangoStretch to store the
+ * @stretch: (out): a #PangoStretch to store the
* result in.
* @warn: if %TRUE, issue a g_warning() on bad input.
*
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]