Commit fe2e948e authored by Committed by Sebastian Wilhelmi
Made GArray behave correct. Now zero_terminated really means, that the
2000-03-24 Sebastian Wilhelmi <email@example.com> * garray.c: Made GArray behave correct. Now zero_terminated really means, that the element array->data[array->len] exists and is zeroed, and clear means that any unassigned elements obtained through g_array_set_size (the only way to get unassigned elements AFAICT) are zeroed. Added some macors to mak the code more obvoius. Also made GPtrArray zero elements after g_ptr_array_set_size. This is done in a portbale way (assignment of NULL instead of just memsetting it to zero), though that might be more portability than we actually want.
Showing with 210 additions and 94 deletions