From: Matthias Clasen Date: Fri, 5 Aug 2005 20:40:52 +0000 (+0000) Subject: Small fixes X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=776c3a8bd85ca68499bb2a2fe26e1410c15efdd9;p=dana%2Fcg-glib.git Small fixes 2005-08-05 Matthias Clasen * gobject/tmpl/generic_values.sgml: Small fixes --- diff --git a/docs/reference/ChangeLog b/docs/reference/ChangeLog index 48e11a61..7bc271f5 100644 --- a/docs/reference/ChangeLog +++ b/docs/reference/ChangeLog @@ -1,3 +1,7 @@ +2005-08-05 Matthias Clasen + + * gobject/tmpl/generic_values.sgml: Small fixes + 2005-08-05 Matthias Clasen * === Released 2.7.7 === diff --git a/docs/reference/gobject/tmpl/generic_values.sgml b/docs/reference/gobject/tmpl/generic_values.sgml index 2839e3a9..31d13f5a 100644 --- a/docs/reference/gobject/tmpl/generic_values.sgml +++ b/docs/reference/gobject/tmpl/generic_values.sgml @@ -23,7 +23,9 @@ provided by this interface. The fundamental types which all support #GValue operations and thus can be used as a type initializer for g_value_init() are defined by -a separate interface. See the Standard Values API for details. +a separate interface. See the Standard Values +API for details. @@ -31,8 +33,8 @@ a separate interface. See the Standard Values API for details. -Returns #TRUE if @value holds (or contains) a value of @type. -This macro will also check for @value != #NULL and issue a +Returns %TRUE if @value holds (or contains) a value of @type. +This macro will also check for @value != %NULL and issue a warning if the check fails. @@ -79,7 +81,7 @@ used as an abstract base type for derived value types. -Returns #TRUE if @value is a valid and initialized #GValue structure. +Returns %TRUE if @value is a valid and initialized #GValue structure. @value: A #GValue structure. @@ -93,7 +95,7 @@ to functions within a #GTypeValueTable structure, or implementations of the g_value_*() API. That is, code portions which implement new fundamental types. #GValue users can not make any assumptions about how data is stored -within the 2 element #GValue.data[] union, and the g_type member should +within the 2 element @data union, and the @g_type member should only be accessed through the G_VALUE_TYPE() macro. @@ -161,18 +163,18 @@ This is an internal function introduced mainly for C marshallers. @value: An initialized #GValue structure. -@Returns: #TRUE if @value will fit inside a pointer value. +@Returns: %TRUE if @value will fit inside a pointer value. Return the value contents as pointer. This function asserts that -g_value_fits_pointer() returned #TRUE for the passed in value. +g_value_fits_pointer() returned %TRUE for the passed in value. This is an internal function introduced mainly for C marshallers. @value: An initialized #GValue structure. -@Returns: #TRUE if @value will fit inside a pointer value. +@Returns: %TRUE if @value will fit inside a pointer value. @@ -199,10 +201,10 @@ of type @src_type into values of type @dest_type. -Tries to cast the contents of @src_value into a type apropriate +Tries to cast the contents of @src_value into a type appropriate to store in @dest_value, e.g. to transform a %G_TYPE_INT value into a %G_TYPE_FLOAT value. Performing transformations between -value types might incour precision lossage. Especially +value types might incur precision lossage. Especially transformations into strings might reveal seemingly arbitrary results and shouldn't be relied upon for production code (such as rcfile value or object property serialization). @@ -240,9 +242,9 @@ will be replaced. Return a newly allocated string, which describes the contents of a #GValue. -The main purpose of this function is to describe #GValue contents for debugging -output, the way in which the contents are described may change between different -GLib versions. +The main purpose of this function is to describe #GValue contents for +debugging output, the way in which the contents are described may change +between different GLib versions. @value: #GValue which contents are to be described.