Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
better to use a function that exists than dealing with the underlying
[simgrid.git] / src / mc / mc_checkpoint.c
index 0703b17..6f53924 100644 (file)
@@ -614,3 +614,9 @@ static void snapshot_stack_free(mc_snapshot_stack_t s){
 void snapshot_stack_free_voidp(void *s){
   snapshot_stack_free((mc_snapshot_stack_t) * (void **) s);
 }
+
+void *MC_snapshot(void){
+
+  return simcall_mc_snapshot();
+  
+}