From: Matthias Clasen Date: Sun, 15 Jun 2008 01:50:24 +0000 (+0000) Subject: Additions X-Git-Tag: GLIB_2_17_3~85 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=666185a4fd04108eb7a7ab55cf27f28f6c49b758;p=platform%2Fupstream%2Fglib.git Additions svn path=/trunk/; revision=7042 --- diff --git a/docs/reference/ChangeLog b/docs/reference/ChangeLog index 64ed900..ce2e0a6 100644 --- a/docs/reference/ChangeLog +++ b/docs/reference/ChangeLog @@ -1,6 +1,8 @@ 2008-06-14 Matthias Clasen - * glib/tmpl/testing.sgml: Move docs around + * glib/tmpl/macros_misc.sgml: Document G_GNUC_MAY_ALIAS + + * glib/tmpl/testing.sgml: Move docs around, and add more * glib/tmpl/unicode.sgml: Document break types diff --git a/docs/reference/glib/tmpl/macros_misc.sgml b/docs/reference/glib/tmpl/macros_misc.sgml index 5ee1ee8..cbb7eea 100644 --- a/docs/reference/glib/tmpl/macros_misc.sgml +++ b/docs/reference/glib/tmpl/macros_misc.sgml @@ -362,9 +362,14 @@ Since: 2.6 - +Expands to the GNU C may_alias type attribute +if the compiler is gcc. Types with this attribute +will not be subjected to type-based alias analysis, but are assumed +to alias with any other type, just like char. +See the GNU C documentation for details. +Since: 2.14 diff --git a/docs/reference/glib/tmpl/testing.sgml b/docs/reference/glib/tmpl/testing.sgml index bb442b5..797fef4 100644 --- a/docs/reference/glib/tmpl/testing.sgml +++ b/docs/reference/glib/tmpl/testing.sgml @@ -245,10 +245,13 @@ Returns %TRUE if tests are run in quite mode. - +Enqueue an object to be released with g_object_unref() during +the next teardown phase. This is equivalent to calling g_test_queue_destroy() +with a destroy callback of g_object_unref(). -@gobject: +@gobject: the object to unref +@Since: 2.16 @@ -300,55 +303,67 @@ determine what traps to set. - +Assert that the last forked test passed. See g_test_trap_fork(). +@Since: 2.16 - +Assert that the last forked test failed. See g_test_trap_fork(). +@Since: 2.16 - +Assert that the stdout output of the last forked test matches @soutpattern. +See g_test_trap_fork(). -@soutpattern: +@soutpattern: a glob-style pattern +@Since: 2.16 - +Assert that the stdout output of the last forked test does not match +@soutpattern. See g_test_trap_fork(). -@soutpattern: +@soutpattern: a glob-style pattern +@Since: 2.16 - +Assert that the stderr output of the last forked test matches @serrpattern. +See g_test_trap_fork(). -@serrpattern: +@serrpattern: a glob-style pattern +@Since: 2.16 - +Assert that the stderr output of the last forked test does not match +@serrpattern. See g_test_trap_fork(). -@serrpattern: +@serrpattern: a glob-style pattern +@Since: 2.16 - +Get a reproducible random bit (0 or 1), +see g_test_rand_int() for details on test case random numbers. +@Since: 2.16 @@ -432,7 +447,7 @@ and @s2. @s1: a string (may be %NULL) @cmp: The comparsion operator to use. One of ==, !=, <, >, <=, >=. @s2: another string (may be %NULL) -Since: 2.16 +@Since: 2.16 @@ -450,7 +465,7 @@ and @n2. @n1: an integer @cmp: The comparsion operator to use. One of ==, !=, <, >, <=, >=. @n2: another integer -Since: 2.16 +@Since: 2.16 @@ -468,7 +483,7 @@ and @n2. @n1: an unsigned integer @cmp: The comparsion operator to use. One of ==, !=, <, >, <=, >=. @n2: another unsigned integer -Since: 2.16 +@Since: 2.16 @@ -482,7 +497,7 @@ in the message. @n1: an unsigned integer @cmp: The comparsion operator to use. One of ==, !=, <, >, <=, >=. @n2: another unsigned integer -Since: 2.16 +@Since: 2.16 @@ -500,7 +515,7 @@ and @n2. @n1: an floating point number @cmp: The comparsion operator to use. One of ==, !=, <, >, <=, >=. @n2: another floating point number -Since: 2.16 +@Since: 2.16