[glib] Clarify documentation of GValueTransform
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] Clarify documentation of GValueTransform
- Date: Thu, 26 Oct 2017 11:11:22 +0000 (UTC)
commit 7641aedd5bd70f1cff8e0bab02be57d58b625c20
Author: Stef Walter <stef thewalter net>
Date: Sat Oct 23 03:50:12 2010 +0000
Clarify documentation of GValueTransform
Note in documentation of GValueTransform that dest_value
is already initialized.
https://bugzilla.gnome.org/show_bug.cgi?id=632953
gobject/gvalue.h | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gobject/gvalue.h b/gobject/gvalue.h
index e4760f4..9d8f034 100644
--- a/gobject/gvalue.h
+++ b/gobject/gvalue.h
@@ -88,6 +88,8 @@ G_BEGIN_DECLS
*
* The type of value transformation functions which can be registered with
* g_value_register_transform_func().
+ *
+ * @dest_value will be initialized to the correct destination type.
*/
typedef void (*GValueTransform) (const GValue *src_value,
GValue *dest_value);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]