X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/b08e93079ce626559903d763ea5c79d3de220a24..f3888952ca20becaa8130ae2d59c4d1576ebf4e6:/src/mc/mc_xbt.hpp diff --git a/src/mc/mc_xbt.hpp b/src/mc/mc_xbt.hpp index 530319516e..f3191b9058 100644 --- a/src/mc/mc_xbt.hpp +++ b/src/mc/mc_xbt.hpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2014-2015. The SimGrid Team. +/* Copyright (c) 2014-2018. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -7,14 +7,18 @@ #ifndef SIMGRID_MC_XBT_HPP #define SIMGRID_MC_XBT_HPP -#include "mc/AddressSpace.hpp" +#include "xbt/dynar.h" + +#include "src/mc/AddressSpace.hpp" +#include "src/mc/remote/RemotePtr.hpp" namespace simgrid { namespace mc { -void read_element(AddressSpace const& as, - void* local, remote_ptr addr, size_t i, size_t len); -std::size_t read_length(AddressSpace const& as, remote_ptr addr); +XBT_PRIVATE void read_element(AddressSpace const& as, + void* local, RemotePtr addr, std::size_t i, std::size_t len); +XBT_PRIVATE std::size_t read_length( + AddressSpace const& as, RemotePtr addr); } }