1 /* Copyright (c) 2014-2015. The SimGrid Team.
2 * All rights reserved. */
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. */
7 #ifndef SIMGRID_MC_XBT_HPP
8 #define SIMGRID_MC_XBT_HPP
10 #include "xbt/dynar.h"
12 #include "src/mc/AddressSpace.hpp"
13 #include "src/mc/remote/RemotePtr.hpp"
18 XBT_PRIVATE void read_element(AddressSpace const& as,
19 void* local, RemotePtr<s_xbt_dynar_t> addr, std::size_t i, std::size_t len);
20 XBT_PRIVATE std::size_t read_length(
21 AddressSpace const& as, RemotePtr<s_xbt_dynar_t> addr);