Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add the possibility to remove an item in the middle of the list.
[simgrid.git] / src / xbt / fifo_private.h
index 26f5cc0..19d5fe1 100644 (file)
@@ -5,7 +5,7 @@
 
 #ifndef _XBT_FIFO_PRIVATE_H
 #define _XBT_FIFO_PRIVATE_H
-#include "xbt_fifo.h"
+#include "xbt/fifo.h"
 
 /* Bucket structure */
 typedef struct xbt_fifo_item {
@@ -26,6 +26,7 @@ typedef struct xbt_fifo {
 #define xbt_fifo_getNextitem(i) ((i)?(i)->next:NULL)
 #define xbt_fifo_getPrevitem(i) ((i)?(i)->prev:NULL)
 #define xbt_fifo_getItemcontent(i) ((i)?(i)->content:NULL)
+#define xbt_fifo_Itemcontent(i) ((i)->content)
 #define xbt_fifo_setItemcontent(i,v) (i->content=v)