+/* Functions passed to the mallocator constructor */
+static void* fifo_item_mallocator_new_f(void) {
+ return xbt_new(s_xbt_fifo_item_t, 1);
+}
+
+static void fifo_item_mallocator_free_f(void* item) {
+ xbt_free(item);
+}
+
+static void fifo_item_mallocator_reset_f(void* item) {
+ /* memset to zero like calloc */
+ memset(item, 0, sizeof(s_xbt_fifo_item_t));
+}
+