Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge pull request #65 from fabienchaix/master
[simgrid.git] / src / mc / mc_xbt.hpp
1 /* Copyright (c) 2014-2015. The SimGrid Team.
2  * All rights reserved.                                                     */
3
4 /* This program is free software; you can redistribute it and/or modify it
5  * under the terms of the license (GNU LGPL) which comes with this package. */
6
7 #ifndef SIMGRID_MC_XBT_HPP
8 #define SIMGRID_MC_XBT_HPP
9
10 #include <cstddef>
11
12 #include <xbt/dynar.h>
13
14 #include "src/mc/remote_ptr.hpp"
15 #include "src/mc/AddressSpace.hpp"
16
17 namespace simgrid {
18 namespace mc {
19
20 XBT_PRIVATE void read_element(AddressSpace const& as,
21   void* local, remote_ptr<s_xbt_dynar_t> addr, std::size_t i, std::size_t len);
22 XBT_PRIVATE std::size_t read_length(
23   AddressSpace const& as, remote_ptr<s_xbt_dynar_t> addr);
24
25 }
26 }
27
28 #endif