1 /**********************************************************************/
2 /* File generated by src/simix/simcalls.py from src/simix/simcalls.in */
4 /* DO NOT EVER CHANGE THIS FILE */
6 /* change simcalls specification in src/simix/simcalls.in */
7 /* Copyright (c) 2014-2022. The SimGrid Team. All rights reserved. */
8 /**********************************************************************/
11 * Note that the name comes from http://en.wikipedia.org/wiki/Popping
12 * Indeed, the control flow is doing a strange dance in there.
14 * That's not about http://en.wikipedia.org/wiki/Poop, despite the odor :)
17 #include "src/simix/popping_private.hpp"
18 static inline std::function<void()> const* simcall_run_kernel__get__code(smx_simcall_t simcall)
20 return simgrid::simix::unmarshal<std::function<void()> const*>(simcall->args_[0]);
22 static inline std::function<void()> const* simcall_run_kernel__getraw__code(smx_simcall_t simcall)
24 return simgrid::simix::unmarshal_raw<std::function<void()> const*>(simcall->args_[0]);
26 static inline void simcall_run_kernel__set__code(smx_simcall_t simcall, std::function<void()> const* arg)
28 simgrid::simix::marshal<std::function<void()> const*>(simcall->args_[0], arg);
31 static inline std::function<void()> const* simcall_run_blocking__get__code(smx_simcall_t simcall)
33 return simgrid::simix::unmarshal<std::function<void()> const*>(simcall->args_[0]);
35 static inline std::function<void()> const* simcall_run_blocking__getraw__code(smx_simcall_t simcall)
37 return simgrid::simix::unmarshal_raw<std::function<void()> const*>(simcall->args_[0]);
39 static inline void simcall_run_blocking__set__code(smx_simcall_t simcall, std::function<void()> const* arg)
41 simgrid::simix::marshal<std::function<void()> const*>(simcall->args_[0], arg);
44 /* The prototype of all simcall handlers, automatically generated for you */