Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Rename some activity/SynchroBlah into activity/BlahImpl (+clang-format)
[simgrid.git] / src / mc / mc_xbt.hpp
index 5303195..ed7ea0c 100644 (file)
@@ -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<s_xbt_dynar_t> addr, size_t i, size_t len);
-std::size_t read_length(AddressSpace const& as, remote_ptr<s_xbt_dynar_t> addr);
+XBT_PRIVATE void read_element(AddressSpace const& as,
+  void* local, RemotePtr<s_xbt_dynar_t> addr, std::size_t i, std::size_t len);
+XBT_PRIVATE std::size_t read_length(
+  AddressSpace const& as, RemotePtr<s_xbt_dynar_t> addr);
 
 }
 }