glib r6561 - in trunk: . glib
- From: matthiasc svn gnome org
- To: svn-commits-list gnome org
- Subject: glib r6561 - in trunk: . glib
- Date: Sat, 23 Feb 2008 05:06:19 +0000 (GMT)
Author: matthiasc
Date: Sat Feb 23 05:06:18 2008
New Revision: 6561
URL: http://svn.gnome.org/viewvc/glib?rev=6561&view=rev
Log:
Documentation updates
Modified:
trunk/ChangeLog
trunk/glib/gasyncqueue.c
trunk/glib/gtestutils.c
Modified: trunk/glib/gasyncqueue.c
==============================================================================
--- trunk/glib/gasyncqueue.c (original)
+++ trunk/glib/gasyncqueue.c Sat Feb 23 05:06:18 2008
@@ -67,6 +67,7 @@
/**
* g_async_queue_new_full:
+ * @item_free_func: function to free queue elements
*
* Creates a new asynchronous queue with an initial reference count of 1 and
* sets up a destroy notify function that is used to free any remaining
Modified: trunk/glib/gtestutils.c
==============================================================================
--- trunk/glib/gtestutils.c (original)
+++ trunk/glib/gtestutils.c Sat Feb 23 05:06:18 2008
@@ -366,6 +366,7 @@
* Changed if any arguments were handled.
* @argv: Address of the @argv parameter of main().
* Any parameters understood by g_test_init() stripped before return.
+ * @Varargs: Reserved for future extension. Currently, you must pass %NULL.
*
* Initialize the GLib testing framework, e.g. by seeding the
* test random number generator, the name for g_get_prgname()
@@ -520,7 +521,7 @@
* Get a reproducable random floating point number,
* see g_test_rand_int() for details on test case random numbers.
*
- * Return a random number from the seeded random number generator.
+ * Returns: a random number from the seeded random number generator.
*/
double
g_test_rand_double (void)
@@ -591,6 +592,7 @@
* g_test_minimized_result:
* @minimized_quantity: the reported value
* @format: the format string of the report message
+ * @Varargs: arguments to pass to the printf() function
*
* Report the result of a performance or measurement test.
* The test should generally strive to minimize the reported
@@ -617,6 +619,7 @@
* g_test_maximized_result:
* @maximized_quantity: the reported value
* @format: the format string of the report message
+ * @Varargs: arguments to pass to the printf() function
*
* Report the result of a performance or measurement test.
* The test should generally strive to maximize the reported
@@ -1229,6 +1232,8 @@
* @str2: another C string or %NULL
*
* Compares @str1 and @str2 like strcmp(). Handles %NULL strings gracefully.
+ *
+ * Returns: -1, 0 or 1, if @str1 is <, == or > than @str2.
*/
int
g_strcmp0 (const char *str1,
@@ -1822,6 +1827,7 @@
* g_test_add:
* @testpath: The test path for a new test case.
* @Fixture: The type of a fixture data structure.
+ * @tdata: Data argument for the test functions.
* @fsetup: The function to set up the fixture data.
* @ftest: The actual test function.
* @fteardown: The function to tear down the fixture data.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]