X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=glib%2Fglist.c;h=18e25da2d90d925ccbe777011349f56f03ad56d8;hb=aa0e8735c14ebb3cbfa38d441a6a05bb978e23b2;hp=85d1e1844015fc5428c20bb01d2b90f8a9f57c84;hpb=e7fd3de86d6004d8dba5f8448eb063c6731546e9;p=platform%2Fupstream%2Fglib.git diff --git a/glib/glist.c b/glib/glist.c index 85d1e18..18e25da 100644 --- a/glib/glist.c +++ b/glib/glist.c @@ -77,7 +77,7 @@ * GList *l; * for (l = list; l != NULL; l = l->next) * { - * /* do something with l->data */ + * // do something with l->data * } * ]| * @@ -92,7 +92,7 @@ * GList *next = l->next; * if (should_be_removed (l)) * { - * /* possibly free l->data */ + * // possibly free l->data * list = g_list_delete_link (list, l); * } * l = next; @@ -234,14 +234,14 @@ g_list_free_full (GList *list, * the list with g_list_reverse() when all elements have been added. * * |[ - * /* Notice that these are initialized to the empty list. */ + * // Notice that these are initialized to the empty list. * GList *string_list = NULL, *number_list = NULL; * - * /* This is a list of strings. */ + * // This is a list of strings. * string_list = g_list_append (string_list, "first"); * string_list = g_list_append (string_list, "second"); * - * /* This is a list of integers. */ + * // This is a list of integers. * number_list = g_list_append (number_list, GINT_TO_POINTER (27)); * number_list = g_list_append (number_list, GINT_TO_POINTER (14)); * ]| @@ -286,7 +286,7 @@ g_list_append (GList *list, * which will have changed, so make sure you store the new value. * * |[ - * /* Notice that it is initialized to the empty list. */ + * // Notice that it is initialized to the empty list. * GList *list = NULL; * * list = g_list_prepend (list, "last"); @@ -1195,7 +1195,7 @@ g_list_sort_real (GList *list, * value comes before the second, 0 if they are equal, or a positive * integer if the first value comes after the second. * - * Returns: negative value if @a < @b; zero if @a = @b; positive + * Returns: negative value if @a < @b; zero if @a = @b; positive * value if @a > @b */ GList * @@ -1227,7 +1227,7 @@ g_list_sort (GList *list, * value comes before the second, 0 if they are equal, or a positive * integer if the first value comes after the second. * - * Returns: negative value if @a < @b; zero if @a = @b; positive + * Returns: negative value if @a < @b; zero if @a = @b; positive * value if @a > @b */ GList *