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
12 #include <xbt/dynar.h>
14 #include "src/mc/RemotePtr.hpp"
15 #include "src/mc/AddressSpace.hpp"
20 XBT_PRIVATE void read_element(AddressSpace const& as,
21 void* local, RemotePtr<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, RemotePtr<s_xbt_dynar_t> addr);