Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
add more C types
authorFrederic Suter <frederic.suter@cc.in2p3.fr>
Mon, 3 Feb 2020 15:03:42 +0000 (16:03 +0100)
committerFrederic Suter <frederic.suter@cc.in2p3.fr>
Mon, 3 Feb 2020 15:03:42 +0000 (16:03 +0100)
* sg_comm_t => CommPtr
* sg_mailbox_t => Mailbox*

include/simgrid/forward.h

index 0690462..4c1db01 100644 (file)
@@ -192,10 +192,12 @@ class VirtualMachineImpl;
 
 typedef simgrid::s4u::Actor s4u_Actor;
 typedef simgrid::s4u::Barrier s4u_Barrier;
+typedef simgrid::s4u::CommPtr s4u_CommPtr;
 typedef simgrid::s4u::Host s4u_Host;
 typedef simgrid::s4u::Link s4u_Link;
 typedef simgrid::s4u::File s4u_File;
 typedef simgrid::s4u::ConditionVariable s4u_ConditionVariable;
+typedef simgrid::s4u::Mailbox s4u_Mailbox;
 typedef simgrid::s4u::Mutex s4u_Mutex;
 typedef simgrid::s4u::Semaphore s4u_Semaphore;
 typedef simgrid::s4u::Disk s4u_Disk;
@@ -215,10 +217,12 @@ typedef simgrid::kernel::activity::State e_smx_state_t;
 
 typedef struct s4u_Actor s4u_Actor;
 typedef struct s4u_Barrier s4u_Barrier;
+typedef struct s4u_Comm* s4u_CommPtr;
 typedef struct s4u_Host s4u_Host;
 typedef struct s4u_Link s4u_Link;
 typedef struct s4u_File s4u_File;
 typedef struct s4u_ConditionVariable s4u_ConditionVariable;
+typedef struct s4u_Mailbox s4u_Mailbox;
 typedef struct s4u_Mutex s4u_Mutex;
 typedef struct s4u_Semaphore s4u_Semaphore;
 typedef struct s4u_Disk s4u_Disk;
@@ -241,8 +245,12 @@ typedef struct s_smx_sem* smx_sem_t;
 typedef s4u_Barrier* sg_bar_t;
 /** Constant pointer to a SimGrid barrier object */
 typedef const s4u_Barrier* const_sg_bar_t;
+typedef s4u_CommPtr sg_comm_t;
+typedef const s4u_CommPtr const_sg_comm_t;
 typedef s4u_ConditionVariable* sg_cond_t;
 typedef const s4u_ConditionVariable* const_sg_cond_t;
+typedef s4u_Mailbox* sg_mailbox_t;
+typedef const s4u_Mailbox* const_sg_mailbox_t;
 typedef s4u_Mutex* sg_mutex_t;
 typedef const s4u_Mutex* const_sg_mutex_t;
 typedef s4u_Semaphore* sg_sem_t;