Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'master' of git+ssh://scm.gforge.inria.fr/gitroot/simgrid/simgrid
[simgrid.git] / src / simix / popping_accessors.h
1 /**********************************************************************/
2 /* File generated by src/simix/simcalls.py from src/simix/simcalls.in */
3 /*                                                                    */
4 /*                    DO NOT EVER CHANGE THIS FILE                    */
5 /*                                                                    */
6 /* change simcalls specification in src/simix/simcalls.in             */
7 /**********************************************************************/
8
9 /*
10  * Note that the name comes from http://en.wikipedia.org/wiki/Popping
11  * Indeed, the control flow is doing a strange dance in there.
12  *
13  * That's not about http://en.wikipedia.org/wiki/Poop, despite the odor :)
14  */
15
16 #include "src/simix/popping_private.h"
17 static inline sg_host_t simcall_vm_suspend__get__ind_vm(smx_simcall_t simcall) {
18   return simgrid::simix::unmarshal<sg_host_t>(simcall->args[0]);
19 }
20 static inline void simcall_vm_suspend__set__ind_vm(smx_simcall_t simcall, sg_host_t arg) {
21     simgrid::simix::marshal<sg_host_t>(simcall->args[0], arg);
22 }
23
24 static inline sg_host_t simcall_vm_resume__get__ind_vm(smx_simcall_t simcall) {
25   return simgrid::simix::unmarshal<sg_host_t>(simcall->args[0]);
26 }
27 static inline void simcall_vm_resume__set__ind_vm(smx_simcall_t simcall, sg_host_t arg) {
28     simgrid::simix::marshal<sg_host_t>(simcall->args[0], arg);
29 }
30
31 static inline sg_host_t simcall_vm_shutdown__get__ind_vm(smx_simcall_t simcall) {
32   return simgrid::simix::unmarshal<sg_host_t>(simcall->args[0]);
33 }
34 static inline void simcall_vm_shutdown__set__ind_vm(smx_simcall_t simcall, sg_host_t arg) {
35     simgrid::simix::marshal<sg_host_t>(simcall->args[0], arg);
36 }
37
38 static inline sg_host_t simcall_vm_save__get__ind_vm(smx_simcall_t simcall) {
39   return simgrid::simix::unmarshal<sg_host_t>(simcall->args[0]);
40 }
41 static inline void simcall_vm_save__set__ind_vm(smx_simcall_t simcall, sg_host_t arg) {
42     simgrid::simix::marshal<sg_host_t>(simcall->args[0], arg);
43 }
44
45 static inline sg_host_t simcall_vm_restore__get__ind_vm(smx_simcall_t simcall) {
46   return simgrid::simix::unmarshal<sg_host_t>(simcall->args[0]);
47 }
48 static inline void simcall_vm_restore__set__ind_vm(smx_simcall_t simcall, sg_host_t arg) {
49     simgrid::simix::marshal<sg_host_t>(simcall->args[0], arg);
50 }
51
52 static inline smx_process_t simcall_process_kill__get__process(smx_simcall_t simcall) {
53   return simgrid::simix::unmarshal<smx_process_t>(simcall->args[0]);
54 }
55 static inline void simcall_process_kill__set__process(smx_simcall_t simcall, smx_process_t arg) {
56     simgrid::simix::marshal<smx_process_t>(simcall->args[0], arg);
57 }
58
59 static inline int simcall_process_killall__get__reset_pid(smx_simcall_t simcall) {
60   return simgrid::simix::unmarshal<int>(simcall->args[0]);
61 }
62 static inline void simcall_process_killall__set__reset_pid(smx_simcall_t simcall, int arg) {
63     simgrid::simix::marshal<int>(simcall->args[0], arg);
64 }
65
66 static inline smx_process_t simcall_process_cleanup__get__process(smx_simcall_t simcall) {
67   return simgrid::simix::unmarshal<smx_process_t>(simcall->args[0]);
68 }
69 static inline void simcall_process_cleanup__set__process(smx_simcall_t simcall, smx_process_t arg) {
70     simgrid::simix::marshal<smx_process_t>(simcall->args[0], arg);
71 }
72
73 static inline smx_process_t simcall_process_suspend__get__process(smx_simcall_t simcall) {
74   return simgrid::simix::unmarshal<smx_process_t>(simcall->args[0]);
75 }
76 static inline void simcall_process_suspend__set__process(smx_simcall_t simcall, smx_process_t arg) {
77     simgrid::simix::marshal<smx_process_t>(simcall->args[0], arg);
78 }
79
80 static inline smx_process_t simcall_process_resume__get__process(smx_simcall_t simcall) {
81   return simgrid::simix::unmarshal<smx_process_t>(simcall->args[0]);
82 }
83 static inline void simcall_process_resume__set__process(smx_simcall_t simcall, smx_process_t arg) {
84     simgrid::simix::marshal<smx_process_t>(simcall->args[0], arg);
85 }
86
87 static inline smx_process_t simcall_process_set_host__get__process(smx_simcall_t simcall) {
88   return simgrid::simix::unmarshal<smx_process_t>(simcall->args[0]);
89 }
90 static inline void simcall_process_set_host__set__process(smx_simcall_t simcall, smx_process_t arg) {
91     simgrid::simix::marshal<smx_process_t>(simcall->args[0], arg);
92 }
93 static inline sg_host_t simcall_process_set_host__get__dest(smx_simcall_t simcall) {
94   return simgrid::simix::unmarshal<sg_host_t>(simcall->args[1]);
95 }
96 static inline void simcall_process_set_host__set__dest(smx_simcall_t simcall, sg_host_t arg) {
97     simgrid::simix::marshal<sg_host_t>(simcall->args[1], arg);
98 }
99
100 static inline smx_process_t simcall_process_is_suspended__get__process(smx_simcall_t simcall) {
101   return simgrid::simix::unmarshal<smx_process_t>(simcall->args[0]);
102 }
103 static inline void simcall_process_is_suspended__set__process(smx_simcall_t simcall, smx_process_t arg) {
104     simgrid::simix::marshal<smx_process_t>(simcall->args[0], arg);
105 }
106 static inline int simcall_process_is_suspended__get__result(smx_simcall_t simcall){
107     return simgrid::simix::unmarshal<int>(simcall->result);
108 }
109 static inline void simcall_process_is_suspended__set__result(smx_simcall_t simcall, int result){
110     simgrid::simix::marshal<int>(simcall->result, result);
111 }
112
113 static inline smx_process_t simcall_process_join__get__process(smx_simcall_t simcall) {
114   return simgrid::simix::unmarshal<smx_process_t>(simcall->args[0]);
115 }
116 static inline void simcall_process_join__set__process(smx_simcall_t simcall, smx_process_t arg) {
117     simgrid::simix::marshal<smx_process_t>(simcall->args[0], arg);
118 }
119 static inline double simcall_process_join__get__timeout(smx_simcall_t simcall) {
120   return simgrid::simix::unmarshal<double>(simcall->args[1]);
121 }
122 static inline void simcall_process_join__set__timeout(smx_simcall_t simcall, double arg) {
123     simgrid::simix::marshal<double>(simcall->args[1], arg);
124 }
125 static inline int simcall_process_join__get__result(smx_simcall_t simcall){
126     return simgrid::simix::unmarshal<int>(simcall->result);
127 }
128 static inline void simcall_process_join__set__result(smx_simcall_t simcall, int result){
129     simgrid::simix::marshal<int>(simcall->result, result);
130 }
131
132 static inline double simcall_process_sleep__get__duration(smx_simcall_t simcall) {
133   return simgrid::simix::unmarshal<double>(simcall->args[0]);
134 }
135 static inline void simcall_process_sleep__set__duration(smx_simcall_t simcall, double arg) {
136     simgrid::simix::marshal<double>(simcall->args[0], arg);
137 }
138 static inline int simcall_process_sleep__get__result(smx_simcall_t simcall){
139     return simgrid::simix::unmarshal<int>(simcall->result);
140 }
141 static inline void simcall_process_sleep__set__result(smx_simcall_t simcall, int result){
142     simgrid::simix::marshal<int>(simcall->result, result);
143 }
144
145 static inline const char* simcall_execution_start__get__name(smx_simcall_t simcall) {
146   return simgrid::simix::unmarshal<const char*>(simcall->args[0]);
147 }
148 static inline void simcall_execution_start__set__name(smx_simcall_t simcall, const char* arg) {
149     simgrid::simix::marshal<const char*>(simcall->args[0], arg);
150 }
151 static inline double simcall_execution_start__get__flops_amount(smx_simcall_t simcall) {
152   return simgrid::simix::unmarshal<double>(simcall->args[1]);
153 }
154 static inline void simcall_execution_start__set__flops_amount(smx_simcall_t simcall, double arg) {
155     simgrid::simix::marshal<double>(simcall->args[1], arg);
156 }
157 static inline double simcall_execution_start__get__priority(smx_simcall_t simcall) {
158   return simgrid::simix::unmarshal<double>(simcall->args[2]);
159 }
160 static inline void simcall_execution_start__set__priority(smx_simcall_t simcall, double arg) {
161     simgrid::simix::marshal<double>(simcall->args[2], arg);
162 }
163 static inline double simcall_execution_start__get__bound(smx_simcall_t simcall) {
164   return simgrid::simix::unmarshal<double>(simcall->args[3]);
165 }
166 static inline void simcall_execution_start__set__bound(smx_simcall_t simcall, double arg) {
167     simgrid::simix::marshal<double>(simcall->args[3], arg);
168 }
169 static inline unsigned long simcall_execution_start__get__affinity_mask(smx_simcall_t simcall) {
170   return simgrid::simix::unmarshal<unsigned long>(simcall->args[4]);
171 }
172 static inline void simcall_execution_start__set__affinity_mask(smx_simcall_t simcall, unsigned long arg) {
173     simgrid::simix::marshal<unsigned long>(simcall->args[4], arg);
174 }
175 static inline smx_synchro_t simcall_execution_start__get__result(smx_simcall_t simcall){
176     return simgrid::simix::unmarshal<smx_synchro_t>(simcall->result);
177 }
178 static inline void simcall_execution_start__set__result(smx_simcall_t simcall, smx_synchro_t result){
179     simgrid::simix::marshal<smx_synchro_t>(simcall->result, result);
180 }
181
182 static inline const char* simcall_execution_parallel_start__get__name(smx_simcall_t simcall) {
183   return simgrid::simix::unmarshal<const char*>(simcall->args[0]);
184 }
185 static inline void simcall_execution_parallel_start__set__name(smx_simcall_t simcall, const char* arg) {
186     simgrid::simix::marshal<const char*>(simcall->args[0], arg);
187 }
188 static inline int simcall_execution_parallel_start__get__host_nb(smx_simcall_t simcall) {
189   return simgrid::simix::unmarshal<int>(simcall->args[1]);
190 }
191 static inline void simcall_execution_parallel_start__set__host_nb(smx_simcall_t simcall, int arg) {
192     simgrid::simix::marshal<int>(simcall->args[1], arg);
193 }
194 static inline sg_host_t* simcall_execution_parallel_start__get__host_list(smx_simcall_t simcall) {
195   return simgrid::simix::unmarshal<sg_host_t*>(simcall->args[2]);
196 }
197 static inline void simcall_execution_parallel_start__set__host_list(smx_simcall_t simcall, sg_host_t* arg) {
198     simgrid::simix::marshal<sg_host_t*>(simcall->args[2], arg);
199 }
200 static inline double* simcall_execution_parallel_start__get__flops_amount(smx_simcall_t simcall) {
201   return simgrid::simix::unmarshal<double*>(simcall->args[3]);
202 }
203 static inline void simcall_execution_parallel_start__set__flops_amount(smx_simcall_t simcall, double* arg) {
204     simgrid::simix::marshal<double*>(simcall->args[3], arg);
205 }
206 static inline double* simcall_execution_parallel_start__get__bytes_amount(smx_simcall_t simcall) {
207   return simgrid::simix::unmarshal<double*>(simcall->args[4]);
208 }
209 static inline void simcall_execution_parallel_start__set__bytes_amount(smx_simcall_t simcall, double* arg) {
210     simgrid::simix::marshal<double*>(simcall->args[4], arg);
211 }
212 static inline double simcall_execution_parallel_start__get__amount(smx_simcall_t simcall) {
213   return simgrid::simix::unmarshal<double>(simcall->args[5]);
214 }
215 static inline void simcall_execution_parallel_start__set__amount(smx_simcall_t simcall, double arg) {
216     simgrid::simix::marshal<double>(simcall->args[5], arg);
217 }
218 static inline double simcall_execution_parallel_start__get__rate(smx_simcall_t simcall) {
219   return simgrid::simix::unmarshal<double>(simcall->args[6]);
220 }
221 static inline void simcall_execution_parallel_start__set__rate(smx_simcall_t simcall, double arg) {
222     simgrid::simix::marshal<double>(simcall->args[6], arg);
223 }
224 static inline smx_synchro_t simcall_execution_parallel_start__get__result(smx_simcall_t simcall){
225     return simgrid::simix::unmarshal<smx_synchro_t>(simcall->result);
226 }
227 static inline void simcall_execution_parallel_start__set__result(smx_simcall_t simcall, smx_synchro_t result){
228     simgrid::simix::marshal<smx_synchro_t>(simcall->result, result);
229 }
230
231 static inline smx_synchro_t simcall_execution_cancel__get__execution(smx_simcall_t simcall) {
232   return simgrid::simix::unmarshal<smx_synchro_t>(simcall->args[0]);
233 }
234 static inline void simcall_execution_cancel__set__execution(smx_simcall_t simcall, smx_synchro_t arg) {
235     simgrid::simix::marshal<smx_synchro_t>(simcall->args[0], arg);
236 }
237
238 static inline smx_synchro_t simcall_execution_set_priority__get__execution(smx_simcall_t simcall) {
239   return simgrid::simix::unmarshal<smx_synchro_t>(simcall->args[0]);
240 }
241 static inline void simcall_execution_set_priority__set__execution(smx_simcall_t simcall, smx_synchro_t arg) {
242     simgrid::simix::marshal<smx_synchro_t>(simcall->args[0], arg);
243 }
244 static inline double simcall_execution_set_priority__get__priority(smx_simcall_t simcall) {
245   return simgrid::simix::unmarshal<double>(simcall->args[1]);
246 }
247 static inline void simcall_execution_set_priority__set__priority(smx_simcall_t simcall, double arg) {
248     simgrid::simix::marshal<double>(simcall->args[1], arg);
249 }
250
251 static inline smx_synchro_t simcall_execution_set_bound__get__execution(smx_simcall_t simcall) {
252   return simgrid::simix::unmarshal<smx_synchro_t>(simcall->args[0]);
253 }
254 static inline void simcall_execution_set_bound__set__execution(smx_simcall_t simcall, smx_synchro_t arg) {
255     simgrid::simix::marshal<smx_synchro_t>(simcall->args[0], arg);
256 }
257 static inline double simcall_execution_set_bound__get__bound(smx_simcall_t simcall) {
258   return simgrid::simix::unmarshal<double>(simcall->args[1]);
259 }
260 static inline void simcall_execution_set_bound__set__bound(smx_simcall_t simcall, double arg) {
261     simgrid::simix::marshal<double>(simcall->args[1], arg);
262 }
263
264 static inline smx_synchro_t simcall_execution_set_affinity__get__execution(smx_simcall_t simcall) {
265   return simgrid::simix::unmarshal<smx_synchro_t>(simcall->args[0]);
266 }
267 static inline void simcall_execution_set_affinity__set__execution(smx_simcall_t simcall, smx_synchro_t arg) {
268     simgrid::simix::marshal<smx_synchro_t>(simcall->args[0], arg);
269 }
270 static inline sg_host_t simcall_execution_set_affinity__get__ws(smx_simcall_t simcall) {
271   return simgrid::simix::unmarshal<sg_host_t>(simcall->args[1]);
272 }
273 static inline void simcall_execution_set_affinity__set__ws(smx_simcall_t simcall, sg_host_t arg) {
274     simgrid::simix::marshal<sg_host_t>(simcall->args[1], arg);
275 }
276 static inline unsigned long simcall_execution_set_affinity__get__mask(smx_simcall_t simcall) {
277   return simgrid::simix::unmarshal<unsigned long>(simcall->args[2]);
278 }
279 static inline void simcall_execution_set_affinity__set__mask(smx_simcall_t simcall, unsigned long arg) {
280     simgrid::simix::marshal<unsigned long>(simcall->args[2], arg);
281 }
282
283 static inline smx_synchro_t simcall_execution_wait__get__execution(smx_simcall_t simcall) {
284   return simgrid::simix::unmarshal<smx_synchro_t>(simcall->args[0]);
285 }
286 static inline void simcall_execution_wait__set__execution(smx_simcall_t simcall, smx_synchro_t arg) {
287     simgrid::simix::marshal<smx_synchro_t>(simcall->args[0], arg);
288 }
289 static inline int simcall_execution_wait__get__result(smx_simcall_t simcall){
290     return simgrid::simix::unmarshal<int>(simcall->result);
291 }
292 static inline void simcall_execution_wait__set__result(smx_simcall_t simcall, int result){
293     simgrid::simix::marshal<int>(simcall->result, result);
294 }
295
296 static inline smx_process_t simcall_process_on_exit__get__process(smx_simcall_t simcall) {
297   return simgrid::simix::unmarshal<smx_process_t>(simcall->args[0]);
298 }
299 static inline void simcall_process_on_exit__set__process(smx_simcall_t simcall, smx_process_t arg) {
300     simgrid::simix::marshal<smx_process_t>(simcall->args[0], arg);
301 }
302 static inline int_f_pvoid_pvoid_t simcall_process_on_exit__get__fun(smx_simcall_t simcall) {
303   return simgrid::simix::unmarshal<int_f_pvoid_pvoid_t>(simcall->args[1]);
304 }
305 static inline void simcall_process_on_exit__set__fun(smx_simcall_t simcall, int_f_pvoid_pvoid_t arg) {
306     simgrid::simix::marshal<int_f_pvoid_pvoid_t>(simcall->args[1], arg);
307 }
308 static inline void* simcall_process_on_exit__get__data(smx_simcall_t simcall) {
309   return simgrid::simix::unmarshal<void*>(simcall->args[2]);
310 }
311 static inline void simcall_process_on_exit__set__data(smx_simcall_t simcall, void* arg) {
312     simgrid::simix::marshal<void*>(simcall->args[2], arg);
313 }
314
315 static inline smx_process_t simcall_process_auto_restart_set__get__process(smx_simcall_t simcall) {
316   return simgrid::simix::unmarshal<smx_process_t>(simcall->args[0]);
317 }
318 static inline void simcall_process_auto_restart_set__set__process(smx_simcall_t simcall, smx_process_t arg) {
319     simgrid::simix::marshal<smx_process_t>(simcall->args[0], arg);
320 }
321 static inline int simcall_process_auto_restart_set__get__auto_restart(smx_simcall_t simcall) {
322   return simgrid::simix::unmarshal<int>(simcall->args[1]);
323 }
324 static inline void simcall_process_auto_restart_set__set__auto_restart(smx_simcall_t simcall, int arg) {
325     simgrid::simix::marshal<int>(simcall->args[1], arg);
326 }
327
328 static inline smx_process_t simcall_process_restart__get__process(smx_simcall_t simcall) {
329   return simgrid::simix::unmarshal<smx_process_t>(simcall->args[0]);
330 }
331 static inline void simcall_process_restart__set__process(smx_simcall_t simcall, smx_process_t arg) {
332     simgrid::simix::marshal<smx_process_t>(simcall->args[0], arg);
333 }
334 static inline smx_process_t simcall_process_restart__get__result(smx_simcall_t simcall){
335     return simgrid::simix::unmarshal<smx_process_t>(simcall->result);
336 }
337 static inline void simcall_process_restart__set__result(smx_simcall_t simcall, smx_process_t result){
338     simgrid::simix::marshal<smx_process_t>(simcall->result, result);
339 }
340
341 static inline const char* simcall_mbox_create__get__name(smx_simcall_t simcall) {
342   return simgrid::simix::unmarshal<const char*>(simcall->args[0]);
343 }
344 static inline void simcall_mbox_create__set__name(smx_simcall_t simcall, const char* arg) {
345     simgrid::simix::marshal<const char*>(simcall->args[0], arg);
346 }
347 static inline smx_mailbox_t simcall_mbox_create__get__result(smx_simcall_t simcall){
348     return simgrid::simix::unmarshal<smx_mailbox_t>(simcall->result);
349 }
350 static inline void simcall_mbox_create__set__result(smx_simcall_t simcall, smx_mailbox_t result){
351     simgrid::simix::marshal<smx_mailbox_t>(simcall->result, result);
352 }
353
354 static inline smx_mailbox_t simcall_mbox_set_receiver__get__mbox(smx_simcall_t simcall) {
355   return simgrid::simix::unmarshal<smx_mailbox_t>(simcall->args[0]);
356 }
357 static inline void simcall_mbox_set_receiver__set__mbox(smx_simcall_t simcall, smx_mailbox_t arg) {
358     simgrid::simix::marshal<smx_mailbox_t>(simcall->args[0], arg);
359 }
360 static inline smx_process_t simcall_mbox_set_receiver__get__receiver(smx_simcall_t simcall) {
361   return simgrid::simix::unmarshal<smx_process_t>(simcall->args[1]);
362 }
363 static inline void simcall_mbox_set_receiver__set__receiver(smx_simcall_t simcall, smx_process_t arg) {
364     simgrid::simix::marshal<smx_process_t>(simcall->args[1], arg);
365 }
366
367 static inline smx_mailbox_t simcall_comm_iprobe__get__mbox(smx_simcall_t simcall) {
368   return simgrid::simix::unmarshal<smx_mailbox_t>(simcall->args[0]);
369 }
370 static inline void simcall_comm_iprobe__set__mbox(smx_simcall_t simcall, smx_mailbox_t arg) {
371     simgrid::simix::marshal<smx_mailbox_t>(simcall->args[0], arg);
372 }
373 static inline int simcall_comm_iprobe__get__type(smx_simcall_t simcall) {
374   return simgrid::simix::unmarshal<int>(simcall->args[1]);
375 }
376 static inline void simcall_comm_iprobe__set__type(smx_simcall_t simcall, int arg) {
377     simgrid::simix::marshal<int>(simcall->args[1], arg);
378 }
379 static inline int simcall_comm_iprobe__get__src(smx_simcall_t simcall) {
380   return simgrid::simix::unmarshal<int>(simcall->args[2]);
381 }
382 static inline void simcall_comm_iprobe__set__src(smx_simcall_t simcall, int arg) {
383     simgrid::simix::marshal<int>(simcall->args[2], arg);
384 }
385 static inline int simcall_comm_iprobe__get__tag(smx_simcall_t simcall) {
386   return simgrid::simix::unmarshal<int>(simcall->args[3]);
387 }
388 static inline void simcall_comm_iprobe__set__tag(smx_simcall_t simcall, int arg) {
389     simgrid::simix::marshal<int>(simcall->args[3], arg);
390 }
391 static inline simix_match_func_t simcall_comm_iprobe__get__match_fun(smx_simcall_t simcall) {
392   return simgrid::simix::unmarshal<simix_match_func_t>(simcall->args[4]);
393 }
394 static inline void simcall_comm_iprobe__set__match_fun(smx_simcall_t simcall, simix_match_func_t arg) {
395     simgrid::simix::marshal<simix_match_func_t>(simcall->args[4], arg);
396 }
397 static inline void* simcall_comm_iprobe__get__data(smx_simcall_t simcall) {
398   return simgrid::simix::unmarshal<void*>(simcall->args[5]);
399 }
400 static inline void simcall_comm_iprobe__set__data(smx_simcall_t simcall, void* arg) {
401     simgrid::simix::marshal<void*>(simcall->args[5], arg);
402 }
403 static inline smx_synchro_t simcall_comm_iprobe__get__result(smx_simcall_t simcall){
404     return simgrid::simix::unmarshal<smx_synchro_t>(simcall->result);
405 }
406 static inline void simcall_comm_iprobe__set__result(smx_simcall_t simcall, smx_synchro_t result){
407     simgrid::simix::marshal<smx_synchro_t>(simcall->result, result);
408 }
409
410 static inline smx_process_t simcall_comm_send__get__sender(smx_simcall_t simcall) {
411   return simgrid::simix::unmarshal<smx_process_t>(simcall->args[0]);
412 }
413 static inline void simcall_comm_send__set__sender(smx_simcall_t simcall, smx_process_t arg) {
414     simgrid::simix::marshal<smx_process_t>(simcall->args[0], arg);
415 }
416 static inline smx_mailbox_t simcall_comm_send__get__mbox(smx_simcall_t simcall) {
417   return simgrid::simix::unmarshal<smx_mailbox_t>(simcall->args[1]);
418 }
419 static inline void simcall_comm_send__set__mbox(smx_simcall_t simcall, smx_mailbox_t arg) {
420     simgrid::simix::marshal<smx_mailbox_t>(simcall->args[1], arg);
421 }
422 static inline double simcall_comm_send__get__task_size(smx_simcall_t simcall) {
423   return simgrid::simix::unmarshal<double>(simcall->args[2]);
424 }
425 static inline void simcall_comm_send__set__task_size(smx_simcall_t simcall, double arg) {
426     simgrid::simix::marshal<double>(simcall->args[2], arg);
427 }
428 static inline double simcall_comm_send__get__rate(smx_simcall_t simcall) {
429   return simgrid::simix::unmarshal<double>(simcall->args[3]);
430 }
431 static inline void simcall_comm_send__set__rate(smx_simcall_t simcall, double arg) {
432     simgrid::simix::marshal<double>(simcall->args[3], arg);
433 }
434 static inline void* simcall_comm_send__get__src_buff(smx_simcall_t simcall) {
435   return simgrid::simix::unmarshal<void*>(simcall->args[4]);
436 }
437 static inline void simcall_comm_send__set__src_buff(smx_simcall_t simcall, void* arg) {
438     simgrid::simix::marshal<void*>(simcall->args[4], arg);
439 }
440 static inline size_t simcall_comm_send__get__src_buff_size(smx_simcall_t simcall) {
441   return simgrid::simix::unmarshal<size_t>(simcall->args[5]);
442 }
443 static inline void simcall_comm_send__set__src_buff_size(smx_simcall_t simcall, size_t arg) {
444     simgrid::simix::marshal<size_t>(simcall->args[5], arg);
445 }
446 static inline simix_match_func_t simcall_comm_send__get__match_fun(smx_simcall_t simcall) {
447   return simgrid::simix::unmarshal<simix_match_func_t>(simcall->args[6]);
448 }
449 static inline void simcall_comm_send__set__match_fun(smx_simcall_t simcall, simix_match_func_t arg) {
450     simgrid::simix::marshal<simix_match_func_t>(simcall->args[6], arg);
451 }
452 static inline simix_copy_data_func_t simcall_comm_send__get__copy_data_fun(smx_simcall_t simcall) {
453   return simgrid::simix::unmarshal<simix_copy_data_func_t>(simcall->args[7]);
454 }
455 static inline void simcall_comm_send__set__copy_data_fun(smx_simcall_t simcall, simix_copy_data_func_t arg) {
456     simgrid::simix::marshal<simix_copy_data_func_t>(simcall->args[7], arg);
457 }
458 static inline void* simcall_comm_send__get__data(smx_simcall_t simcall) {
459   return simgrid::simix::unmarshal<void*>(simcall->args[8]);
460 }
461 static inline void simcall_comm_send__set__data(smx_simcall_t simcall, void* arg) {
462     simgrid::simix::marshal<void*>(simcall->args[8], arg);
463 }
464 static inline double simcall_comm_send__get__timeout(smx_simcall_t simcall) {
465   return simgrid::simix::unmarshal<double>(simcall->args[9]);
466 }
467 static inline void simcall_comm_send__set__timeout(smx_simcall_t simcall, double arg) {
468     simgrid::simix::marshal<double>(simcall->args[9], arg);
469 }
470
471 static inline smx_process_t simcall_comm_isend__get__sender(smx_simcall_t simcall) {
472   return simgrid::simix::unmarshal<smx_process_t>(simcall->args[0]);
473 }
474 static inline void simcall_comm_isend__set__sender(smx_simcall_t simcall, smx_process_t arg) {
475     simgrid::simix::marshal<smx_process_t>(simcall->args[0], arg);
476 }
477 static inline smx_mailbox_t simcall_comm_isend__get__mbox(smx_simcall_t simcall) {
478   return simgrid::simix::unmarshal<smx_mailbox_t>(simcall->args[1]);
479 }
480 static inline void simcall_comm_isend__set__mbox(smx_simcall_t simcall, smx_mailbox_t arg) {
481     simgrid::simix::marshal<smx_mailbox_t>(simcall->args[1], arg);
482 }
483 static inline double simcall_comm_isend__get__task_size(smx_simcall_t simcall) {
484   return simgrid::simix::unmarshal<double>(simcall->args[2]);
485 }
486 static inline void simcall_comm_isend__set__task_size(smx_simcall_t simcall, double arg) {
487     simgrid::simix::marshal<double>(simcall->args[2], arg);
488 }
489 static inline double simcall_comm_isend__get__rate(smx_simcall_t simcall) {
490   return simgrid::simix::unmarshal<double>(simcall->args[3]);
491 }
492 static inline void simcall_comm_isend__set__rate(smx_simcall_t simcall, double arg) {
493     simgrid::simix::marshal<double>(simcall->args[3], arg);
494 }
495 static inline void* simcall_comm_isend__get__src_buff(smx_simcall_t simcall) {
496   return simgrid::simix::unmarshal<void*>(simcall->args[4]);
497 }
498 static inline void simcall_comm_isend__set__src_buff(smx_simcall_t simcall, void* arg) {
499     simgrid::simix::marshal<void*>(simcall->args[4], arg);
500 }
501 static inline size_t simcall_comm_isend__get__src_buff_size(smx_simcall_t simcall) {
502   return simgrid::simix::unmarshal<size_t>(simcall->args[5]);
503 }
504 static inline void simcall_comm_isend__set__src_buff_size(smx_simcall_t simcall, size_t arg) {
505     simgrid::simix::marshal<size_t>(simcall->args[5], arg);
506 }
507 static inline simix_match_func_t simcall_comm_isend__get__match_fun(smx_simcall_t simcall) {
508   return simgrid::simix::unmarshal<simix_match_func_t>(simcall->args[6]);
509 }
510 static inline void simcall_comm_isend__set__match_fun(smx_simcall_t simcall, simix_match_func_t arg) {
511     simgrid::simix::marshal<simix_match_func_t>(simcall->args[6], arg);
512 }
513 static inline simix_clean_func_t simcall_comm_isend__get__clean_fun(smx_simcall_t simcall) {
514   return simgrid::simix::unmarshal<simix_clean_func_t>(simcall->args[7]);
515 }
516 static inline void simcall_comm_isend__set__clean_fun(smx_simcall_t simcall, simix_clean_func_t arg) {
517     simgrid::simix::marshal<simix_clean_func_t>(simcall->args[7], arg);
518 }
519 static inline simix_copy_data_func_t simcall_comm_isend__get__copy_data_fun(smx_simcall_t simcall) {
520   return simgrid::simix::unmarshal<simix_copy_data_func_t>(simcall->args[8]);
521 }
522 static inline void simcall_comm_isend__set__copy_data_fun(smx_simcall_t simcall, simix_copy_data_func_t arg) {
523     simgrid::simix::marshal<simix_copy_data_func_t>(simcall->args[8], arg);
524 }
525 static inline void* simcall_comm_isend__get__data(smx_simcall_t simcall) {
526   return simgrid::simix::unmarshal<void*>(simcall->args[9]);
527 }
528 static inline void simcall_comm_isend__set__data(smx_simcall_t simcall, void* arg) {
529     simgrid::simix::marshal<void*>(simcall->args[9], arg);
530 }
531 static inline int simcall_comm_isend__get__detached(smx_simcall_t simcall) {
532   return simgrid::simix::unmarshal<int>(simcall->args[10]);
533 }
534 static inline void simcall_comm_isend__set__detached(smx_simcall_t simcall, int arg) {
535     simgrid::simix::marshal<int>(simcall->args[10], arg);
536 }
537 static inline smx_synchro_t simcall_comm_isend__get__result(smx_simcall_t simcall){
538     return simgrid::simix::unmarshal<smx_synchro_t>(simcall->result);
539 }
540 static inline void simcall_comm_isend__set__result(smx_simcall_t simcall, smx_synchro_t result){
541     simgrid::simix::marshal<smx_synchro_t>(simcall->result, result);
542 }
543
544 static inline smx_process_t simcall_comm_recv__get__receiver(smx_simcall_t simcall) {
545   return simgrid::simix::unmarshal<smx_process_t>(simcall->args[0]);
546 }
547 static inline void simcall_comm_recv__set__receiver(smx_simcall_t simcall, smx_process_t arg) {
548     simgrid::simix::marshal<smx_process_t>(simcall->args[0], arg);
549 }
550 static inline smx_mailbox_t simcall_comm_recv__get__mbox(smx_simcall_t simcall) {
551   return simgrid::simix::unmarshal<smx_mailbox_t>(simcall->args[1]);
552 }
553 static inline void simcall_comm_recv__set__mbox(smx_simcall_t simcall, smx_mailbox_t arg) {
554     simgrid::simix::marshal<smx_mailbox_t>(simcall->args[1], arg);
555 }
556 static inline void* simcall_comm_recv__get__dst_buff(smx_simcall_t simcall) {
557   return simgrid::simix::unmarshal<void*>(simcall->args[2]);
558 }
559 static inline void simcall_comm_recv__set__dst_buff(smx_simcall_t simcall, void* arg) {
560     simgrid::simix::marshal<void*>(simcall->args[2], arg);
561 }
562 static inline size_t* simcall_comm_recv__get__dst_buff_size(smx_simcall_t simcall) {
563   return simgrid::simix::unmarshal<size_t*>(simcall->args[3]);
564 }
565 static inline void simcall_comm_recv__set__dst_buff_size(smx_simcall_t simcall, size_t* arg) {
566     simgrid::simix::marshal<size_t*>(simcall->args[3], arg);
567 }
568 static inline simix_match_func_t simcall_comm_recv__get__match_fun(smx_simcall_t simcall) {
569   return simgrid::simix::unmarshal<simix_match_func_t>(simcall->args[4]);
570 }
571 static inline void simcall_comm_recv__set__match_fun(smx_simcall_t simcall, simix_match_func_t arg) {
572     simgrid::simix::marshal<simix_match_func_t>(simcall->args[4], arg);
573 }
574 static inline simix_copy_data_func_t simcall_comm_recv__get__copy_data_fun(smx_simcall_t simcall) {
575   return simgrid::simix::unmarshal<simix_copy_data_func_t>(simcall->args[5]);
576 }
577 static inline void simcall_comm_recv__set__copy_data_fun(smx_simcall_t simcall, simix_copy_data_func_t arg) {
578     simgrid::simix::marshal<simix_copy_data_func_t>(simcall->args[5], arg);
579 }
580 static inline void* simcall_comm_recv__get__data(smx_simcall_t simcall) {
581   return simgrid::simix::unmarshal<void*>(simcall->args[6]);
582 }
583 static inline void simcall_comm_recv__set__data(smx_simcall_t simcall, void* arg) {
584     simgrid::simix::marshal<void*>(simcall->args[6], arg);
585 }
586 static inline double simcall_comm_recv__get__timeout(smx_simcall_t simcall) {
587   return simgrid::simix::unmarshal<double>(simcall->args[7]);
588 }
589 static inline void simcall_comm_recv__set__timeout(smx_simcall_t simcall, double arg) {
590     simgrid::simix::marshal<double>(simcall->args[7], arg);
591 }
592 static inline double simcall_comm_recv__get__rate(smx_simcall_t simcall) {
593   return simgrid::simix::unmarshal<double>(simcall->args[8]);
594 }
595 static inline void simcall_comm_recv__set__rate(smx_simcall_t simcall, double arg) {
596     simgrid::simix::marshal<double>(simcall->args[8], arg);
597 }
598
599 static inline smx_process_t simcall_comm_irecv__get__receiver(smx_simcall_t simcall) {
600   return simgrid::simix::unmarshal<smx_process_t>(simcall->args[0]);
601 }
602 static inline void simcall_comm_irecv__set__receiver(smx_simcall_t simcall, smx_process_t arg) {
603     simgrid::simix::marshal<smx_process_t>(simcall->args[0], arg);
604 }
605 static inline smx_mailbox_t simcall_comm_irecv__get__mbox(smx_simcall_t simcall) {
606   return simgrid::simix::unmarshal<smx_mailbox_t>(simcall->args[1]);
607 }
608 static inline void simcall_comm_irecv__set__mbox(smx_simcall_t simcall, smx_mailbox_t arg) {
609     simgrid::simix::marshal<smx_mailbox_t>(simcall->args[1], arg);
610 }
611 static inline void* simcall_comm_irecv__get__dst_buff(smx_simcall_t simcall) {
612   return simgrid::simix::unmarshal<void*>(simcall->args[2]);
613 }
614 static inline void simcall_comm_irecv__set__dst_buff(smx_simcall_t simcall, void* arg) {
615     simgrid::simix::marshal<void*>(simcall->args[2], arg);
616 }
617 static inline size_t* simcall_comm_irecv__get__dst_buff_size(smx_simcall_t simcall) {
618   return simgrid::simix::unmarshal<size_t*>(simcall->args[3]);
619 }
620 static inline void simcall_comm_irecv__set__dst_buff_size(smx_simcall_t simcall, size_t* arg) {
621     simgrid::simix::marshal<size_t*>(simcall->args[3], arg);
622 }
623 static inline simix_match_func_t simcall_comm_irecv__get__match_fun(smx_simcall_t simcall) {
624   return simgrid::simix::unmarshal<simix_match_func_t>(simcall->args[4]);
625 }
626 static inline void simcall_comm_irecv__set__match_fun(smx_simcall_t simcall, simix_match_func_t arg) {
627     simgrid::simix::marshal<simix_match_func_t>(simcall->args[4], arg);
628 }
629 static inline simix_copy_data_func_t simcall_comm_irecv__get__copy_data_fun(smx_simcall_t simcall) {
630   return simgrid::simix::unmarshal<simix_copy_data_func_t>(simcall->args[5]);
631 }
632 static inline void simcall_comm_irecv__set__copy_data_fun(smx_simcall_t simcall, simix_copy_data_func_t arg) {
633     simgrid::simix::marshal<simix_copy_data_func_t>(simcall->args[5], arg);
634 }
635 static inline void* simcall_comm_irecv__get__data(smx_simcall_t simcall) {
636   return simgrid::simix::unmarshal<void*>(simcall->args[6]);
637 }
638 static inline void simcall_comm_irecv__set__data(smx_simcall_t simcall, void* arg) {
639     simgrid::simix::marshal<void*>(simcall->args[6], arg);
640 }
641 static inline double simcall_comm_irecv__get__rate(smx_simcall_t simcall) {
642   return simgrid::simix::unmarshal<double>(simcall->args[7]);
643 }
644 static inline void simcall_comm_irecv__set__rate(smx_simcall_t simcall, double arg) {
645     simgrid::simix::marshal<double>(simcall->args[7], arg);
646 }
647 static inline smx_synchro_t simcall_comm_irecv__get__result(smx_simcall_t simcall){
648     return simgrid::simix::unmarshal<smx_synchro_t>(simcall->result);
649 }
650 static inline void simcall_comm_irecv__set__result(smx_simcall_t simcall, smx_synchro_t result){
651     simgrid::simix::marshal<smx_synchro_t>(simcall->result, result);
652 }
653
654 static inline xbt_dynar_t simcall_comm_waitany__get__comms(smx_simcall_t simcall) {
655   return simgrid::simix::unmarshal<xbt_dynar_t>(simcall->args[0]);
656 }
657 static inline void simcall_comm_waitany__set__comms(smx_simcall_t simcall, xbt_dynar_t arg) {
658     simgrid::simix::marshal<xbt_dynar_t>(simcall->args[0], arg);
659 }
660 static inline double simcall_comm_waitany__get__timeout(smx_simcall_t simcall) {
661   return simgrid::simix::unmarshal<double>(simcall->args[1]);
662 }
663 static inline void simcall_comm_waitany__set__timeout(smx_simcall_t simcall, double arg) {
664     simgrid::simix::marshal<double>(simcall->args[1], arg);
665 }
666 static inline int simcall_comm_waitany__get__result(smx_simcall_t simcall){
667     return simgrid::simix::unmarshal<int>(simcall->result);
668 }
669 static inline void simcall_comm_waitany__set__result(smx_simcall_t simcall, int result){
670     simgrid::simix::marshal<int>(simcall->result, result);
671 }
672
673 static inline smx_synchro_t simcall_comm_wait__get__comm(smx_simcall_t simcall) {
674   return simgrid::simix::unmarshal<smx_synchro_t>(simcall->args[0]);
675 }
676 static inline void simcall_comm_wait__set__comm(smx_simcall_t simcall, smx_synchro_t arg) {
677     simgrid::simix::marshal<smx_synchro_t>(simcall->args[0], arg);
678 }
679 static inline double simcall_comm_wait__get__timeout(smx_simcall_t simcall) {
680   return simgrid::simix::unmarshal<double>(simcall->args[1]);
681 }
682 static inline void simcall_comm_wait__set__timeout(smx_simcall_t simcall, double arg) {
683     simgrid::simix::marshal<double>(simcall->args[1], arg);
684 }
685
686 static inline smx_synchro_t simcall_comm_test__get__comm(smx_simcall_t simcall) {
687   return simgrid::simix::unmarshal<smx_synchro_t>(simcall->args[0]);
688 }
689 static inline void simcall_comm_test__set__comm(smx_simcall_t simcall, smx_synchro_t arg) {
690     simgrid::simix::marshal<smx_synchro_t>(simcall->args[0], arg);
691 }
692 static inline int simcall_comm_test__get__result(smx_simcall_t simcall){
693     return simgrid::simix::unmarshal<int>(simcall->result);
694 }
695 static inline void simcall_comm_test__set__result(smx_simcall_t simcall, int result){
696     simgrid::simix::marshal<int>(simcall->result, result);
697 }
698
699 static inline smx_synchro_t* simcall_comm_testany__get__comms(smx_simcall_t simcall) {
700   return simgrid::simix::unmarshal<smx_synchro_t*>(simcall->args[0]);
701 }
702 static inline void simcall_comm_testany__set__comms(smx_simcall_t simcall, smx_synchro_t* arg) {
703     simgrid::simix::marshal<smx_synchro_t*>(simcall->args[0], arg);
704 }
705 static inline size_t simcall_comm_testany__get__count(smx_simcall_t simcall) {
706   return simgrid::simix::unmarshal<size_t>(simcall->args[1]);
707 }
708 static inline void simcall_comm_testany__set__count(smx_simcall_t simcall, size_t arg) {
709     simgrid::simix::marshal<size_t>(simcall->args[1], arg);
710 }
711 static inline int simcall_comm_testany__get__result(smx_simcall_t simcall){
712     return simgrid::simix::unmarshal<int>(simcall->result);
713 }
714 static inline void simcall_comm_testany__set__result(smx_simcall_t simcall, int result){
715     simgrid::simix::marshal<int>(simcall->result, result);
716 }
717
718 static inline smx_mutex_t simcall_mutex_init__get__result(smx_simcall_t simcall){
719     return simgrid::simix::unmarshal<smx_mutex_t>(simcall->result);
720 }
721 static inline void simcall_mutex_init__set__result(smx_simcall_t simcall, smx_mutex_t result){
722     simgrid::simix::marshal<smx_mutex_t>(simcall->result, result);
723 }
724
725 static inline smx_mutex_t simcall_mutex_lock__get__mutex(smx_simcall_t simcall) {
726   return simgrid::simix::unmarshal<smx_mutex_t>(simcall->args[0]);
727 }
728 static inline void simcall_mutex_lock__set__mutex(smx_simcall_t simcall, smx_mutex_t arg) {
729     simgrid::simix::marshal<smx_mutex_t>(simcall->args[0], arg);
730 }
731
732 static inline smx_mutex_t simcall_mutex_trylock__get__mutex(smx_simcall_t simcall) {
733   return simgrid::simix::unmarshal<smx_mutex_t>(simcall->args[0]);
734 }
735 static inline void simcall_mutex_trylock__set__mutex(smx_simcall_t simcall, smx_mutex_t arg) {
736     simgrid::simix::marshal<smx_mutex_t>(simcall->args[0], arg);
737 }
738 static inline int simcall_mutex_trylock__get__result(smx_simcall_t simcall){
739     return simgrid::simix::unmarshal<int>(simcall->result);
740 }
741 static inline void simcall_mutex_trylock__set__result(smx_simcall_t simcall, int result){
742     simgrid::simix::marshal<int>(simcall->result, result);
743 }
744
745 static inline smx_mutex_t simcall_mutex_unlock__get__mutex(smx_simcall_t simcall) {
746   return simgrid::simix::unmarshal<smx_mutex_t>(simcall->args[0]);
747 }
748 static inline void simcall_mutex_unlock__set__mutex(smx_simcall_t simcall, smx_mutex_t arg) {
749     simgrid::simix::marshal<smx_mutex_t>(simcall->args[0], arg);
750 }
751
752 static inline smx_cond_t simcall_cond_init__get__result(smx_simcall_t simcall){
753     return simgrid::simix::unmarshal<smx_cond_t>(simcall->result);
754 }
755 static inline void simcall_cond_init__set__result(smx_simcall_t simcall, smx_cond_t result){
756     simgrid::simix::marshal<smx_cond_t>(simcall->result, result);
757 }
758
759 static inline smx_cond_t simcall_cond_signal__get__cond(smx_simcall_t simcall) {
760   return simgrid::simix::unmarshal<smx_cond_t>(simcall->args[0]);
761 }
762 static inline void simcall_cond_signal__set__cond(smx_simcall_t simcall, smx_cond_t arg) {
763     simgrid::simix::marshal<smx_cond_t>(simcall->args[0], arg);
764 }
765
766 static inline smx_cond_t simcall_cond_wait__get__cond(smx_simcall_t simcall) {
767   return simgrid::simix::unmarshal<smx_cond_t>(simcall->args[0]);
768 }
769 static inline void simcall_cond_wait__set__cond(smx_simcall_t simcall, smx_cond_t arg) {
770     simgrid::simix::marshal<smx_cond_t>(simcall->args[0], arg);
771 }
772 static inline smx_mutex_t simcall_cond_wait__get__mutex(smx_simcall_t simcall) {
773   return simgrid::simix::unmarshal<smx_mutex_t>(simcall->args[1]);
774 }
775 static inline void simcall_cond_wait__set__mutex(smx_simcall_t simcall, smx_mutex_t arg) {
776     simgrid::simix::marshal<smx_mutex_t>(simcall->args[1], arg);
777 }
778
779 static inline smx_cond_t simcall_cond_wait_timeout__get__cond(smx_simcall_t simcall) {
780   return simgrid::simix::unmarshal<smx_cond_t>(simcall->args[0]);
781 }
782 static inline void simcall_cond_wait_timeout__set__cond(smx_simcall_t simcall, smx_cond_t arg) {
783     simgrid::simix::marshal<smx_cond_t>(simcall->args[0], arg);
784 }
785 static inline smx_mutex_t simcall_cond_wait_timeout__get__mutex(smx_simcall_t simcall) {
786   return simgrid::simix::unmarshal<smx_mutex_t>(simcall->args[1]);
787 }
788 static inline void simcall_cond_wait_timeout__set__mutex(smx_simcall_t simcall, smx_mutex_t arg) {
789     simgrid::simix::marshal<smx_mutex_t>(simcall->args[1], arg);
790 }
791 static inline double simcall_cond_wait_timeout__get__timeout(smx_simcall_t simcall) {
792   return simgrid::simix::unmarshal<double>(simcall->args[2]);
793 }
794 static inline void simcall_cond_wait_timeout__set__timeout(smx_simcall_t simcall, double arg) {
795     simgrid::simix::marshal<double>(simcall->args[2], arg);
796 }
797
798 static inline smx_cond_t simcall_cond_broadcast__get__cond(smx_simcall_t simcall) {
799   return simgrid::simix::unmarshal<smx_cond_t>(simcall->args[0]);
800 }
801 static inline void simcall_cond_broadcast__set__cond(smx_simcall_t simcall, smx_cond_t arg) {
802     simgrid::simix::marshal<smx_cond_t>(simcall->args[0], arg);
803 }
804
805 static inline unsigned int simcall_sem_init__get__capacity(smx_simcall_t simcall) {
806   return simgrid::simix::unmarshal<unsigned int>(simcall->args[0]);
807 }
808 static inline void simcall_sem_init__set__capacity(smx_simcall_t simcall, unsigned int arg) {
809     simgrid::simix::marshal<unsigned int>(simcall->args[0], arg);
810 }
811 static inline smx_sem_t simcall_sem_init__get__result(smx_simcall_t simcall){
812     return simgrid::simix::unmarshal<smx_sem_t>(simcall->result);
813 }
814 static inline void simcall_sem_init__set__result(smx_simcall_t simcall, smx_sem_t result){
815     simgrid::simix::marshal<smx_sem_t>(simcall->result, result);
816 }
817
818 static inline smx_sem_t simcall_sem_release__get__sem(smx_simcall_t simcall) {
819   return simgrid::simix::unmarshal<smx_sem_t>(simcall->args[0]);
820 }
821 static inline void simcall_sem_release__set__sem(smx_simcall_t simcall, smx_sem_t arg) {
822     simgrid::simix::marshal<smx_sem_t>(simcall->args[0], arg);
823 }
824
825 static inline smx_sem_t simcall_sem_would_block__get__sem(smx_simcall_t simcall) {
826   return simgrid::simix::unmarshal<smx_sem_t>(simcall->args[0]);
827 }
828 static inline void simcall_sem_would_block__set__sem(smx_simcall_t simcall, smx_sem_t arg) {
829     simgrid::simix::marshal<smx_sem_t>(simcall->args[0], arg);
830 }
831 static inline int simcall_sem_would_block__get__result(smx_simcall_t simcall){
832     return simgrid::simix::unmarshal<int>(simcall->result);
833 }
834 static inline void simcall_sem_would_block__set__result(smx_simcall_t simcall, int result){
835     simgrid::simix::marshal<int>(simcall->result, result);
836 }
837
838 static inline smx_sem_t simcall_sem_acquire__get__sem(smx_simcall_t simcall) {
839   return simgrid::simix::unmarshal<smx_sem_t>(simcall->args[0]);
840 }
841 static inline void simcall_sem_acquire__set__sem(smx_simcall_t simcall, smx_sem_t arg) {
842     simgrid::simix::marshal<smx_sem_t>(simcall->args[0], arg);
843 }
844
845 static inline smx_sem_t simcall_sem_acquire_timeout__get__sem(smx_simcall_t simcall) {
846   return simgrid::simix::unmarshal<smx_sem_t>(simcall->args[0]);
847 }
848 static inline void simcall_sem_acquire_timeout__set__sem(smx_simcall_t simcall, smx_sem_t arg) {
849     simgrid::simix::marshal<smx_sem_t>(simcall->args[0], arg);
850 }
851 static inline double simcall_sem_acquire_timeout__get__timeout(smx_simcall_t simcall) {
852   return simgrid::simix::unmarshal<double>(simcall->args[1]);
853 }
854 static inline void simcall_sem_acquire_timeout__set__timeout(smx_simcall_t simcall, double arg) {
855     simgrid::simix::marshal<double>(simcall->args[1], arg);
856 }
857
858 static inline smx_sem_t simcall_sem_get_capacity__get__sem(smx_simcall_t simcall) {
859   return simgrid::simix::unmarshal<smx_sem_t>(simcall->args[0]);
860 }
861 static inline void simcall_sem_get_capacity__set__sem(smx_simcall_t simcall, smx_sem_t arg) {
862     simgrid::simix::marshal<smx_sem_t>(simcall->args[0], arg);
863 }
864 static inline int simcall_sem_get_capacity__get__result(smx_simcall_t simcall){
865     return simgrid::simix::unmarshal<int>(simcall->result);
866 }
867 static inline void simcall_sem_get_capacity__set__result(smx_simcall_t simcall, int result){
868     simgrid::simix::marshal<int>(simcall->result, result);
869 }
870
871 static inline smx_file_t simcall_file_read__get__fd(smx_simcall_t simcall) {
872   return simgrid::simix::unmarshal<smx_file_t>(simcall->args[0]);
873 }
874 static inline void simcall_file_read__set__fd(smx_simcall_t simcall, smx_file_t arg) {
875     simgrid::simix::marshal<smx_file_t>(simcall->args[0], arg);
876 }
877 static inline sg_size_t simcall_file_read__get__size(smx_simcall_t simcall) {
878   return simgrid::simix::unmarshal<sg_size_t>(simcall->args[1]);
879 }
880 static inline void simcall_file_read__set__size(smx_simcall_t simcall, sg_size_t arg) {
881     simgrid::simix::marshal<sg_size_t>(simcall->args[1], arg);
882 }
883 static inline sg_host_t simcall_file_read__get__host(smx_simcall_t simcall) {
884   return simgrid::simix::unmarshal<sg_host_t>(simcall->args[2]);
885 }
886 static inline void simcall_file_read__set__host(smx_simcall_t simcall, sg_host_t arg) {
887     simgrid::simix::marshal<sg_host_t>(simcall->args[2], arg);
888 }
889 static inline sg_size_t simcall_file_read__get__result(smx_simcall_t simcall){
890     return simgrid::simix::unmarshal<sg_size_t>(simcall->result);
891 }
892 static inline void simcall_file_read__set__result(smx_simcall_t simcall, sg_size_t result){
893     simgrid::simix::marshal<sg_size_t>(simcall->result, result);
894 }
895
896 static inline smx_file_t simcall_file_write__get__fd(smx_simcall_t simcall) {
897   return simgrid::simix::unmarshal<smx_file_t>(simcall->args[0]);
898 }
899 static inline void simcall_file_write__set__fd(smx_simcall_t simcall, smx_file_t arg) {
900     simgrid::simix::marshal<smx_file_t>(simcall->args[0], arg);
901 }
902 static inline sg_size_t simcall_file_write__get__size(smx_simcall_t simcall) {
903   return simgrid::simix::unmarshal<sg_size_t>(simcall->args[1]);
904 }
905 static inline void simcall_file_write__set__size(smx_simcall_t simcall, sg_size_t arg) {
906     simgrid::simix::marshal<sg_size_t>(simcall->args[1], arg);
907 }
908 static inline sg_host_t simcall_file_write__get__host(smx_simcall_t simcall) {
909   return simgrid::simix::unmarshal<sg_host_t>(simcall->args[2]);
910 }
911 static inline void simcall_file_write__set__host(smx_simcall_t simcall, sg_host_t arg) {
912     simgrid::simix::marshal<sg_host_t>(simcall->args[2], arg);
913 }
914 static inline sg_size_t simcall_file_write__get__result(smx_simcall_t simcall){
915     return simgrid::simix::unmarshal<sg_size_t>(simcall->result);
916 }
917 static inline void simcall_file_write__set__result(smx_simcall_t simcall, sg_size_t result){
918     simgrid::simix::marshal<sg_size_t>(simcall->result, result);
919 }
920
921 static inline const char* simcall_file_open__get__fullpath(smx_simcall_t simcall) {
922   return simgrid::simix::unmarshal<const char*>(simcall->args[0]);
923 }
924 static inline void simcall_file_open__set__fullpath(smx_simcall_t simcall, const char* arg) {
925     simgrid::simix::marshal<const char*>(simcall->args[0], arg);
926 }
927 static inline sg_host_t simcall_file_open__get__host(smx_simcall_t simcall) {
928   return simgrid::simix::unmarshal<sg_host_t>(simcall->args[1]);
929 }
930 static inline void simcall_file_open__set__host(smx_simcall_t simcall, sg_host_t arg) {
931     simgrid::simix::marshal<sg_host_t>(simcall->args[1], arg);
932 }
933 static inline smx_file_t simcall_file_open__get__result(smx_simcall_t simcall){
934     return simgrid::simix::unmarshal<smx_file_t>(simcall->result);
935 }
936 static inline void simcall_file_open__set__result(smx_simcall_t simcall, smx_file_t result){
937     simgrid::simix::marshal<smx_file_t>(simcall->result, result);
938 }
939
940 static inline smx_file_t simcall_file_close__get__fd(smx_simcall_t simcall) {
941   return simgrid::simix::unmarshal<smx_file_t>(simcall->args[0]);
942 }
943 static inline void simcall_file_close__set__fd(smx_simcall_t simcall, smx_file_t arg) {
944     simgrid::simix::marshal<smx_file_t>(simcall->args[0], arg);
945 }
946 static inline sg_host_t simcall_file_close__get__host(smx_simcall_t simcall) {
947   return simgrid::simix::unmarshal<sg_host_t>(simcall->args[1]);
948 }
949 static inline void simcall_file_close__set__host(smx_simcall_t simcall, sg_host_t arg) {
950     simgrid::simix::marshal<sg_host_t>(simcall->args[1], arg);
951 }
952 static inline int simcall_file_close__get__result(smx_simcall_t simcall){
953     return simgrid::simix::unmarshal<int>(simcall->result);
954 }
955 static inline void simcall_file_close__set__result(smx_simcall_t simcall, int result){
956     simgrid::simix::marshal<int>(simcall->result, result);
957 }
958
959 static inline smx_file_t simcall_file_unlink__get__fd(smx_simcall_t simcall) {
960   return simgrid::simix::unmarshal<smx_file_t>(simcall->args[0]);
961 }
962 static inline void simcall_file_unlink__set__fd(smx_simcall_t simcall, smx_file_t arg) {
963     simgrid::simix::marshal<smx_file_t>(simcall->args[0], arg);
964 }
965 static inline sg_host_t simcall_file_unlink__get__host(smx_simcall_t simcall) {
966   return simgrid::simix::unmarshal<sg_host_t>(simcall->args[1]);
967 }
968 static inline void simcall_file_unlink__set__host(smx_simcall_t simcall, sg_host_t arg) {
969     simgrid::simix::marshal<sg_host_t>(simcall->args[1], arg);
970 }
971 static inline int simcall_file_unlink__get__result(smx_simcall_t simcall){
972     return simgrid::simix::unmarshal<int>(simcall->result);
973 }
974 static inline void simcall_file_unlink__set__result(smx_simcall_t simcall, int result){
975     simgrid::simix::marshal<int>(simcall->result, result);
976 }
977
978 static inline smx_file_t simcall_file_get_size__get__fd(smx_simcall_t simcall) {
979   return simgrid::simix::unmarshal<smx_file_t>(simcall->args[0]);
980 }
981 static inline void simcall_file_get_size__set__fd(smx_simcall_t simcall, smx_file_t arg) {
982     simgrid::simix::marshal<smx_file_t>(simcall->args[0], arg);
983 }
984 static inline sg_size_t simcall_file_get_size__get__result(smx_simcall_t simcall){
985     return simgrid::simix::unmarshal<sg_size_t>(simcall->result);
986 }
987 static inline void simcall_file_get_size__set__result(smx_simcall_t simcall, sg_size_t result){
988     simgrid::simix::marshal<sg_size_t>(simcall->result, result);
989 }
990
991 static inline smx_file_t simcall_file_tell__get__fd(smx_simcall_t simcall) {
992   return simgrid::simix::unmarshal<smx_file_t>(simcall->args[0]);
993 }
994 static inline void simcall_file_tell__set__fd(smx_simcall_t simcall, smx_file_t arg) {
995     simgrid::simix::marshal<smx_file_t>(simcall->args[0], arg);
996 }
997 static inline sg_size_t simcall_file_tell__get__result(smx_simcall_t simcall){
998     return simgrid::simix::unmarshal<sg_size_t>(simcall->result);
999 }
1000 static inline void simcall_file_tell__set__result(smx_simcall_t simcall, sg_size_t result){
1001     simgrid::simix::marshal<sg_size_t>(simcall->result, result);
1002 }
1003
1004 static inline smx_file_t simcall_file_seek__get__fd(smx_simcall_t simcall) {
1005   return simgrid::simix::unmarshal<smx_file_t>(simcall->args[0]);
1006 }
1007 static inline void simcall_file_seek__set__fd(smx_simcall_t simcall, smx_file_t arg) {
1008     simgrid::simix::marshal<smx_file_t>(simcall->args[0], arg);
1009 }
1010 static inline sg_offset_t simcall_file_seek__get__offset(smx_simcall_t simcall) {
1011   return simgrid::simix::unmarshal<sg_offset_t>(simcall->args[1]);
1012 }
1013 static inline void simcall_file_seek__set__offset(smx_simcall_t simcall, sg_offset_t arg) {
1014     simgrid::simix::marshal<sg_offset_t>(simcall->args[1], arg);
1015 }
1016 static inline int simcall_file_seek__get__origin(smx_simcall_t simcall) {
1017   return simgrid::simix::unmarshal<int>(simcall->args[2]);
1018 }
1019 static inline void simcall_file_seek__set__origin(smx_simcall_t simcall, int arg) {
1020     simgrid::simix::marshal<int>(simcall->args[2], arg);
1021 }
1022 static inline int simcall_file_seek__get__result(smx_simcall_t simcall){
1023     return simgrid::simix::unmarshal<int>(simcall->result);
1024 }
1025 static inline void simcall_file_seek__set__result(smx_simcall_t simcall, int result){
1026     simgrid::simix::marshal<int>(simcall->result, result);
1027 }
1028
1029 static inline smx_file_t simcall_file_get_info__get__fd(smx_simcall_t simcall) {
1030   return simgrid::simix::unmarshal<smx_file_t>(simcall->args[0]);
1031 }
1032 static inline void simcall_file_get_info__set__fd(smx_simcall_t simcall, smx_file_t arg) {
1033     simgrid::simix::marshal<smx_file_t>(simcall->args[0], arg);
1034 }
1035 static inline xbt_dynar_t simcall_file_get_info__get__result(smx_simcall_t simcall){
1036     return simgrid::simix::unmarshal<xbt_dynar_t>(simcall->result);
1037 }
1038 static inline void simcall_file_get_info__set__result(smx_simcall_t simcall, xbt_dynar_t result){
1039     simgrid::simix::marshal<xbt_dynar_t>(simcall->result, result);
1040 }
1041
1042 static inline smx_file_t simcall_file_move__get__fd(smx_simcall_t simcall) {
1043   return simgrid::simix::unmarshal<smx_file_t>(simcall->args[0]);
1044 }
1045 static inline void simcall_file_move__set__fd(smx_simcall_t simcall, smx_file_t arg) {
1046     simgrid::simix::marshal<smx_file_t>(simcall->args[0], arg);
1047 }
1048 static inline const char* simcall_file_move__get__fullpath(smx_simcall_t simcall) {
1049   return simgrid::simix::unmarshal<const char*>(simcall->args[1]);
1050 }
1051 static inline void simcall_file_move__set__fullpath(smx_simcall_t simcall, const char* arg) {
1052     simgrid::simix::marshal<const char*>(simcall->args[1], arg);
1053 }
1054 static inline int simcall_file_move__get__result(smx_simcall_t simcall){
1055     return simgrid::simix::unmarshal<int>(simcall->result);
1056 }
1057 static inline void simcall_file_move__set__result(smx_simcall_t simcall, int result){
1058     simgrid::simix::marshal<int>(simcall->result, result);
1059 }
1060
1061 static inline smx_storage_t simcall_storage_get_free_size__get__storage(smx_simcall_t simcall) {
1062   return simgrid::simix::unmarshal<smx_storage_t>(simcall->args[0]);
1063 }
1064 static inline void simcall_storage_get_free_size__set__storage(smx_simcall_t simcall, smx_storage_t arg) {
1065     simgrid::simix::marshal<smx_storage_t>(simcall->args[0], arg);
1066 }
1067 static inline sg_size_t simcall_storage_get_free_size__get__result(smx_simcall_t simcall){
1068     return simgrid::simix::unmarshal<sg_size_t>(simcall->result);
1069 }
1070 static inline void simcall_storage_get_free_size__set__result(smx_simcall_t simcall, sg_size_t result){
1071     simgrid::simix::marshal<sg_size_t>(simcall->result, result);
1072 }
1073
1074 static inline smx_storage_t simcall_storage_get_used_size__get__name(smx_simcall_t simcall) {
1075   return simgrid::simix::unmarshal<smx_storage_t>(simcall->args[0]);
1076 }
1077 static inline void simcall_storage_get_used_size__set__name(smx_simcall_t simcall, smx_storage_t arg) {
1078     simgrid::simix::marshal<smx_storage_t>(simcall->args[0], arg);
1079 }
1080 static inline sg_size_t simcall_storage_get_used_size__get__result(smx_simcall_t simcall){
1081     return simgrid::simix::unmarshal<sg_size_t>(simcall->result);
1082 }
1083 static inline void simcall_storage_get_used_size__set__result(smx_simcall_t simcall, sg_size_t result){
1084     simgrid::simix::marshal<sg_size_t>(simcall->result, result);
1085 }
1086
1087 static inline smx_storage_t simcall_storage_get_properties__get__storage(smx_simcall_t simcall) {
1088   return simgrid::simix::unmarshal<smx_storage_t>(simcall->args[0]);
1089 }
1090 static inline void simcall_storage_get_properties__set__storage(smx_simcall_t simcall, smx_storage_t arg) {
1091     simgrid::simix::marshal<smx_storage_t>(simcall->args[0], arg);
1092 }
1093 static inline xbt_dict_t simcall_storage_get_properties__get__result(smx_simcall_t simcall){
1094     return simgrid::simix::unmarshal<xbt_dict_t>(simcall->result);
1095 }
1096 static inline void simcall_storage_get_properties__set__result(smx_simcall_t simcall, xbt_dict_t result){
1097     simgrid::simix::marshal<xbt_dict_t>(simcall->result, result);
1098 }
1099
1100 static inline smx_storage_t simcall_storage_get_content__get__storage(smx_simcall_t simcall) {
1101   return simgrid::simix::unmarshal<smx_storage_t>(simcall->args[0]);
1102 }
1103 static inline void simcall_storage_get_content__set__storage(smx_simcall_t simcall, smx_storage_t arg) {
1104     simgrid::simix::marshal<smx_storage_t>(simcall->args[0], arg);
1105 }
1106 static inline xbt_dict_t simcall_storage_get_content__get__result(smx_simcall_t simcall){
1107     return simgrid::simix::unmarshal<xbt_dict_t>(simcall->result);
1108 }
1109 static inline void simcall_storage_get_content__set__result(smx_simcall_t simcall, xbt_dict_t result){
1110     simgrid::simix::marshal<xbt_dict_t>(simcall->result, result);
1111 }
1112
1113 static inline const char* simcall_asr_get_properties__get__name(smx_simcall_t simcall) {
1114   return simgrid::simix::unmarshal<const char*>(simcall->args[0]);
1115 }
1116 static inline void simcall_asr_get_properties__set__name(smx_simcall_t simcall, const char* arg) {
1117     simgrid::simix::marshal<const char*>(simcall->args[0], arg);
1118 }
1119 static inline xbt_dict_t simcall_asr_get_properties__get__result(smx_simcall_t simcall){
1120     return simgrid::simix::unmarshal<xbt_dict_t>(simcall->result);
1121 }
1122 static inline void simcall_asr_get_properties__set__result(smx_simcall_t simcall, xbt_dict_t result){
1123     simgrid::simix::marshal<xbt_dict_t>(simcall->result, result);
1124 }
1125
1126 static inline int simcall_mc_random__get__min(smx_simcall_t simcall) {
1127   return simgrid::simix::unmarshal<int>(simcall->args[0]);
1128 }
1129 static inline void simcall_mc_random__set__min(smx_simcall_t simcall, int arg) {
1130     simgrid::simix::marshal<int>(simcall->args[0], arg);
1131 }
1132 static inline int simcall_mc_random__get__max(smx_simcall_t simcall) {
1133   return simgrid::simix::unmarshal<int>(simcall->args[1]);
1134 }
1135 static inline void simcall_mc_random__set__max(smx_simcall_t simcall, int arg) {
1136     simgrid::simix::marshal<int>(simcall->args[1], arg);
1137 }
1138 static inline int simcall_mc_random__get__result(smx_simcall_t simcall){
1139     return simgrid::simix::unmarshal<int>(simcall->result);
1140 }
1141 static inline void simcall_mc_random__set__result(smx_simcall_t simcall, int result){
1142     simgrid::simix::marshal<int>(simcall->result, result);
1143 }
1144
1145 static inline smx_synchro_t simcall_set_category__get__synchro(smx_simcall_t simcall) {
1146   return simgrid::simix::unmarshal<smx_synchro_t>(simcall->args[0]);
1147 }
1148 static inline void simcall_set_category__set__synchro(smx_simcall_t simcall, smx_synchro_t arg) {
1149     simgrid::simix::marshal<smx_synchro_t>(simcall->args[0], arg);
1150 }
1151 static inline const char* simcall_set_category__get__category(smx_simcall_t simcall) {
1152   return simgrid::simix::unmarshal<const char*>(simcall->args[1]);
1153 }
1154 static inline void simcall_set_category__set__category(smx_simcall_t simcall, const char* arg) {
1155     simgrid::simix::marshal<const char*>(simcall->args[1], arg);
1156 }
1157
1158 static inline std::function<void()> const* simcall_run_kernel__get__code(smx_simcall_t simcall) {
1159   return simgrid::simix::unmarshal<std::function<void()> const*>(simcall->args[0]);
1160 }
1161 static inline void simcall_run_kernel__set__code(smx_simcall_t simcall, std::function<void()> const* arg) {
1162     simgrid::simix::marshal<std::function<void()> const*>(simcall->args[0], arg);
1163 }
1164
1165 static inline std::function<void()> const* simcall_run_blocking__get__code(smx_simcall_t simcall) {
1166   return simgrid::simix::unmarshal<std::function<void()> const*>(simcall->args[0]);
1167 }
1168 static inline void simcall_run_blocking__set__code(smx_simcall_t simcall, std::function<void()> const* arg) {
1169     simgrid::simix::marshal<std::function<void()> const*>(simcall->args[0], arg);
1170 }
1171
1172 /* The prototype of all simcall handlers, automatically generated for you */
1173
1174 XBT_PRIVATE void simcall_HANDLER_vm_suspend(smx_simcall_t simcall, sg_host_t ind_vm);
1175 XBT_PRIVATE void simcall_HANDLER_vm_resume(smx_simcall_t simcall, sg_host_t ind_vm);
1176 XBT_PRIVATE void simcall_HANDLER_vm_shutdown(smx_simcall_t simcall, sg_host_t ind_vm);
1177 XBT_PRIVATE void simcall_HANDLER_vm_save(smx_simcall_t simcall, sg_host_t ind_vm);
1178 XBT_PRIVATE void simcall_HANDLER_vm_restore(smx_simcall_t simcall, sg_host_t ind_vm);
1179 XBT_PRIVATE void simcall_HANDLER_process_kill(smx_simcall_t simcall, smx_process_t process);
1180 XBT_PRIVATE void simcall_HANDLER_process_killall(smx_simcall_t simcall, int reset_pid);
1181 XBT_PRIVATE void simcall_HANDLER_process_suspend(smx_simcall_t simcall, smx_process_t process);
1182 XBT_PRIVATE void simcall_HANDLER_process_resume(smx_simcall_t simcall, smx_process_t process);
1183 XBT_PRIVATE void simcall_HANDLER_process_set_host(smx_simcall_t simcall, smx_process_t process, sg_host_t dest);
1184 XBT_PRIVATE void simcall_HANDLER_process_join(smx_simcall_t simcall, smx_process_t process, double timeout);
1185 XBT_PRIVATE void simcall_HANDLER_process_sleep(smx_simcall_t simcall, double duration);
1186 XBT_PRIVATE smx_synchro_t simcall_HANDLER_execution_start(smx_simcall_t simcall, const char* name, double flops_amount, double priority, double bound, unsigned long affinity_mask);
1187 XBT_PRIVATE void simcall_HANDLER_execution_wait(smx_simcall_t simcall, smx_synchro_t execution);
1188 XBT_PRIVATE smx_process_t simcall_HANDLER_process_restart(smx_simcall_t simcall, smx_process_t process);
1189 XBT_PRIVATE smx_synchro_t simcall_HANDLER_comm_iprobe(smx_simcall_t simcall, smx_mailbox_t mbox, int type, int src, int tag, simix_match_func_t match_fun, void* data);
1190 XBT_PRIVATE void simcall_HANDLER_comm_send(smx_simcall_t simcall, smx_process_t sender, smx_mailbox_t mbox, double task_size, double rate, void* src_buff, size_t src_buff_size, simix_match_func_t match_fun, simix_copy_data_func_t copy_data_fun, void* data, double timeout);
1191 XBT_PRIVATE smx_synchro_t simcall_HANDLER_comm_isend(smx_simcall_t simcall, smx_process_t sender, smx_mailbox_t mbox, double task_size, double rate, void* src_buff, size_t src_buff_size, simix_match_func_t match_fun, simix_clean_func_t clean_fun, simix_copy_data_func_t copy_data_fun, void* data, int detached);
1192 XBT_PRIVATE void simcall_HANDLER_comm_recv(smx_simcall_t simcall, smx_process_t receiver, smx_mailbox_t mbox, void* dst_buff, size_t* dst_buff_size, simix_match_func_t match_fun, simix_copy_data_func_t copy_data_fun, void* data, double timeout, double rate);
1193 XBT_PRIVATE smx_synchro_t simcall_HANDLER_comm_irecv(smx_simcall_t simcall, smx_process_t receiver, smx_mailbox_t mbox, void* dst_buff, size_t* dst_buff_size, simix_match_func_t match_fun, simix_copy_data_func_t copy_data_fun, void* data, double rate);
1194 XBT_PRIVATE void simcall_HANDLER_comm_waitany(smx_simcall_t simcall, xbt_dynar_t comms, double timeout);
1195 XBT_PRIVATE void simcall_HANDLER_comm_wait(smx_simcall_t simcall, smx_synchro_t comm, double timeout);
1196 XBT_PRIVATE void simcall_HANDLER_comm_test(smx_simcall_t simcall, smx_synchro_t comm);
1197 XBT_PRIVATE void simcall_HANDLER_comm_testany(smx_simcall_t simcall, smx_synchro_t* comms, size_t count);
1198 XBT_PRIVATE smx_mutex_t simcall_HANDLER_mutex_init(smx_simcall_t simcall);
1199 XBT_PRIVATE void simcall_HANDLER_mutex_lock(smx_simcall_t simcall, smx_mutex_t mutex);
1200 XBT_PRIVATE int simcall_HANDLER_mutex_trylock(smx_simcall_t simcall, smx_mutex_t mutex);
1201 XBT_PRIVATE void simcall_HANDLER_mutex_unlock(smx_simcall_t simcall, smx_mutex_t mutex);
1202 XBT_PRIVATE void simcall_HANDLER_cond_wait(smx_simcall_t simcall, smx_cond_t cond, smx_mutex_t mutex);
1203 XBT_PRIVATE void simcall_HANDLER_cond_wait_timeout(smx_simcall_t simcall, smx_cond_t cond, smx_mutex_t mutex, double timeout);
1204 XBT_PRIVATE void simcall_HANDLER_sem_release(smx_simcall_t simcall, smx_sem_t sem);
1205 XBT_PRIVATE int simcall_HANDLER_sem_would_block(smx_simcall_t simcall, smx_sem_t sem);
1206 XBT_PRIVATE void simcall_HANDLER_sem_acquire(smx_simcall_t simcall, smx_sem_t sem);
1207 XBT_PRIVATE void simcall_HANDLER_sem_acquire_timeout(smx_simcall_t simcall, smx_sem_t sem, double timeout);
1208 XBT_PRIVATE int simcall_HANDLER_sem_get_capacity(smx_simcall_t simcall, smx_sem_t sem);
1209 XBT_PRIVATE void simcall_HANDLER_file_read(smx_simcall_t simcall, smx_file_t fd, sg_size_t size, sg_host_t host);
1210 XBT_PRIVATE void simcall_HANDLER_file_write(smx_simcall_t simcall, smx_file_t fd, sg_size_t size, sg_host_t host);
1211 XBT_PRIVATE void simcall_HANDLER_file_open(smx_simcall_t simcall, const char* fullpath, sg_host_t host);
1212 XBT_PRIVATE void simcall_HANDLER_file_close(smx_simcall_t simcall, smx_file_t fd, sg_host_t host);
1213 XBT_PRIVATE sg_size_t simcall_HANDLER_file_get_size(smx_simcall_t simcall, smx_file_t fd);
1214 XBT_PRIVATE sg_size_t simcall_HANDLER_file_tell(smx_simcall_t simcall, smx_file_t fd);
1215 XBT_PRIVATE int simcall_HANDLER_file_seek(smx_simcall_t simcall, smx_file_t fd, sg_offset_t offset, int origin);
1216 XBT_PRIVATE xbt_dynar_t simcall_HANDLER_file_get_info(smx_simcall_t simcall, smx_file_t fd);
1217 XBT_PRIVATE int simcall_HANDLER_file_move(smx_simcall_t simcall, smx_file_t fd, const char* fullpath);
1218 XBT_PRIVATE sg_size_t simcall_HANDLER_storage_get_free_size(smx_simcall_t simcall, smx_storage_t storage);
1219 XBT_PRIVATE sg_size_t simcall_HANDLER_storage_get_used_size(smx_simcall_t simcall, smx_storage_t name);
1220 XBT_PRIVATE xbt_dict_t simcall_HANDLER_asr_get_properties(smx_simcall_t simcall, const char* name);
1221 XBT_PRIVATE int simcall_HANDLER_mc_random(smx_simcall_t simcall, int min, int max);