1 #ifndef __MONO_METADATA_MONO_MLIST_H__
2 #define __MONO_METADATA_MONO_MLIST_H__
5 * mono-mlist.h: Managed object list implementation
8 #include <mono/metadata/object.h>
10 typedef struct _MonoMList MonoMList
;
11 MonoMList
* mono_mlist_alloc (MonoObject
*data
);
12 MonoObject
* mono_mlist_get_data (MonoMList
* list
);
13 void mono_mlist_set_data (MonoMList
* list
, MonoObject
*data
);
14 MonoMList
* mono_mlist_set_next (MonoMList
* list
, MonoMList
*next
);
15 int mono_mlist_length (MonoMList
* list
);
16 MonoMList
* mono_mlist_next (MonoMList
* list
);
17 MonoMList
* mono_mlist_last (MonoMList
* list
);
18 MonoMList
* mono_mlist_prepend (MonoMList
* list
, MonoObject
*data
);
19 MonoMList
* mono_mlist_append (MonoMList
* list
, MonoObject
*data
);
20 MonoMList
* mono_mlist_remove_item (MonoMList
* list
, MonoMList
*item
);
22 #endif /* __MONO_METADATA_MONO_MLIST_H__ */