glib r7042 - in trunk/docs/reference: . glib/tmpl



Author: matthiasc
Date: Sun Jun 15 01:50:24 2008
New Revision: 7042
URL: http://svn.gnome.org/viewvc/glib?rev=7042&view=rev

Log:
Additions


Modified:
   trunk/docs/reference/ChangeLog
   trunk/docs/reference/glib/tmpl/macros_misc.sgml
   trunk/docs/reference/glib/tmpl/testing.sgml

Modified: trunk/docs/reference/glib/tmpl/macros_misc.sgml
==============================================================================
--- trunk/docs/reference/glib/tmpl/macros_misc.sgml	(original)
+++ trunk/docs/reference/glib/tmpl/macros_misc.sgml	Sun Jun 15 01:50:24 2008
@@ -362,9 +362,14 @@
 
 <!-- ##### MACRO G_GNUC_MAY_ALIAS ##### -->
 <para>
-
+Expands to the GNU C <literal>may_alias</literal> type attribute 
+if the compiler is <command>gcc</command>. 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. 
 </para>
 
+Since: 2.14
 
 
 <!-- ##### FUNCTION G_LIKELY ##### -->

Modified: trunk/docs/reference/glib/tmpl/testing.sgml
==============================================================================
--- trunk/docs/reference/glib/tmpl/testing.sgml	(original)
+++ trunk/docs/reference/glib/tmpl/testing.sgml	Sun Jun 15 01:50:24 2008
@@ -245,10 +245,13 @@
 
 <!-- ##### MACRO g_test_queue_unref ##### -->
 <para>
-
+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().
 </para>
 
- gobject: 
+ gobject: the object to unref
+ Since: 2.16
 
 
 <!-- ##### ENUM GTestTrapFlags ##### -->
@@ -300,55 +303,67 @@
 
 <!-- ##### MACRO g_test_trap_assert_passed ##### -->
 <para>
-
+Assert that the last forked test passed. See g_test_trap_fork().
 </para>
 
+ Since: 2.16
 
 
 <!-- ##### MACRO g_test_trap_assert_failed ##### -->
 <para>
-
+Assert that the last forked test failed. See g_test_trap_fork().
 </para>
 
+ Since: 2.16
 
 
 <!-- ##### MACRO g_test_trap_assert_stdout ##### -->
 <para>
-
+Assert that the stdout output of the last forked test matches @soutpattern. 
+See g_test_trap_fork().
 </para>
 
- soutpattern: 
+ soutpattern: a glob-style <link linkend="glib-Glob-style-pattern-matching">pattern</link>
+ Since: 2.16
 
 
 <!-- ##### MACRO g_test_trap_assert_stdout_unmatched ##### -->
 <para>
-
+Assert that the stdout output of the last forked test does not match 
+ soutpattern   See g_test_trap_fork().
 </para>
 
- soutpattern: 
+ soutpattern: a glob-style <link linkend="glib-Glob-style-pattern-matching">pattern</link>
+ Since: 2.16
 
 
 <!-- ##### MACRO g_test_trap_assert_stderr ##### -->
 <para>
-
+Assert that the stderr output of the last forked test matches @serrpattern. 
+See g_test_trap_fork().
 </para>
 
- serrpattern: 
+ serrpattern: a glob-style <link linkend="glib-Glob-style-pattern-matching">pattern</link>
+ Since: 2.16
 
 
 <!-- ##### MACRO g_test_trap_assert_stderr_unmatched ##### -->
 <para>
-
+Assert that the stderr output of the last forked test does not match 
+ serrpattern   See g_test_trap_fork().
 </para>
 
- serrpattern: 
+ serrpattern: a glob-style <link linkend="glib-Glob-style-pattern-matching">pattern</link>
+ Since: 2.16
 
 
 <!-- ##### MACRO g_test_rand_bit ##### -->
 <para>
-
+Get a reproducible random bit (0 or 1),
+see g_test_rand_int() for details on test case random numbers.
 </para>
 
+ Since: 2.16
 
 
 <!-- ##### FUNCTION g_test_rand_int ##### -->
@@ -432,7 +447,7 @@
 @s1: a string (may be %NULL)
 @cmp: The comparsion operator to use. One of ==, !=, &lt;, &gt;, &lt;=, &gt;=.
 @s2: another string (may be %NULL)
-Since: 2.16
+ Since: 2.16
 
 
 <!-- ##### MACRO g_assert_cmpint ##### -->
@@ -450,7 +465,7 @@
 @n1: an integer
 @cmp: The comparsion operator to use. One of ==, !=, &lt;, &gt;, &lt;=, &gt;=.
 @n2: another integer
-Since: 2.16
+ Since: 2.16
 
 
 <!-- ##### MACRO g_assert_cmpuint ##### -->
@@ -468,7 +483,7 @@
 @n1: an unsigned integer
 @cmp: The comparsion operator to use. One of ==, !=, &lt;, &gt;, &lt;=, &gt;=.
 @n2: another unsigned integer
-Since: 2.16
+ Since: 2.16
 
 
 <!-- ##### MACRO g_assert_cmphex ##### -->
@@ -482,7 +497,7 @@
 @n1: an unsigned integer
 @cmp: The comparsion operator to use. One of ==, !=, &lt;, &gt;, &lt;=, &gt;=.
 @n2: another unsigned integer
-Since: 2.16
+ Since: 2.16
 
 
 <!-- ##### MACRO g_assert_cmpfloat ##### -->
@@ -500,7 +515,7 @@
 @n1: an floating point number
 @cmp: The comparsion operator to use. One of ==, !=, &lt;, &gt;, &lt;=, &gt;=.
 @n2: another floating point number
-Since: 2.16
+ Since: 2.16
 
 
 <!-- ##### FUNCTION g_strcmp0 ##### -->



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]