A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
better to use a function that exists than dealing with the underlying
[simgrid.git]
/
src
/
mc
/
mc_checkpoint.c
diff --git
a/src/mc/mc_checkpoint.c
b/src/mc/mc_checkpoint.c
index
0703b17
..
6f53924
100644
(file)
--- a/
src/mc/mc_checkpoint.c
+++ b/
src/mc/mc_checkpoint.c
@@
-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();
+
+}