X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=glib%2Fglist.c;h=18e25da2d90d925ccbe777011349f56f03ad56d8;hb=0a4ee12c7a9dfc82443133dfb2b18fb411d79f48;hp=5a39b5f689854c3fe83c7967b5ff4427006e8a0e;hpb=35066ed6c6b51317f49069f2564c547aa309f9f1;p=platform%2Fupstream%2Fglib.git diff --git a/glib/glist.c b/glib/glist.c index 5a39b5f..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");