X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mono%2Fsgen%2Fsgen-array-list.h;h=12e8bcdecf70f419c23c0cc65bcad7faac32e396;hb=5d80d08b8c2327752d9b68ba0c4723ce9a76a40e;hp=fb37009a67230fdd0c9d328cf300cb78fae3ce12;hpb=196497780f01da0d275fafa1524bc2100459ee27;p=mono.git diff --git a/mono/sgen/sgen-array-list.h b/mono/sgen/sgen-array-list.h index fb37009a672..12e8bcdecf7 100644 --- a/mono/sgen/sgen-array-list.h +++ b/mono/sgen/sgen-array-list.h @@ -1,5 +1,6 @@ -/* - * sgen-array-list.h: A pointer array that doesn't use reallocs. +/** + * \file + * A pointer array that doesn't use reallocs. * * Copyright (C) 2016 Xamarin Inc * @@ -129,8 +130,11 @@ sgen_array_list_get_slot (SgenArrayList *array, guint32 index) #define SGEN_ARRAY_LIST_END_FOREACH_SLOT_RANGE } } +guint32 sgen_array_list_alloc_block (SgenArrayList *array, guint32 slots_to_add); guint32 sgen_array_list_add (SgenArrayList *array, gpointer ptr, int data, gboolean increase_size_before_set); guint32 sgen_array_list_find (SgenArrayList *array, gpointer ptr); -void sgen_array_list_remove_nulls (SgenArrayList *array); +gboolean sgen_array_list_default_cas_setter (volatile gpointer *slot, gpointer ptr, int data); +gboolean sgen_array_list_default_is_slot_set (volatile gpointer *slot); + #endif