Commit Graph

5 Commits

Author SHA1 Message Date
Manish Singh
89a5c21c07 The list sort functions compared things backwards. Fixed.
The list iterator macros now check for NULL args

-Yosh
1998-01-29 08:00:28 +00:00
Manish Singh
82da232b12 Added g_list_insert_sorted and g_slist_insert_sorted to glib.
-Yosh
1998-01-07 07:37:36 +00:00
Tim Janik
d55ed5449d minor optimizations: (g_list_append): `if' optimized for common code path,
Mon Dec 15 19:33:58 1997  Tim Janik  <timj@psynet.net>

        * glist.c: minor optimizations:
        (g_list_append): `if' optimized for common code path, commented out
        unneccessary `assert', saved one variable assignment.
        (g_list_prepend): saved two (conditioned) variable assignment.
        (g_list_insert): saved one  (conditioned) variable assignment,
        saved one variable assignment.
        (g_list_remove): `if' optimized for common code path, saved two
        variable assignments by using `g_list_free_1' (which is even
        faster) instead of `g_list_free'.
        (g_list_reverse): saved allocation of one variable, saved one
        variable assignment.
1997-12-15 19:08:53 +00:00
Gnome CVS User
aedb8717f1 Moved list concatenation code from gtkmain.c into its proper
place in glib/glist.c, added corresponding g_slist_concat.
1997-11-26 01:52:50 +00:00
Elliot Lee
9508b76bd2 Initial revision 1997-11-24 22:37:52 +00:00