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
unique_ptr for dynar, automaton, swag, etc.
[simgrid.git]
/
include
/
xbt
/
parmap.h
diff --git
a/include/xbt/parmap.h
b/include/xbt/parmap.h
index
e3fa67a
..
8f80930
100644
(file)
--- a/
include/xbt/parmap.h
+++ b/
include/xbt/parmap.h
@@
-53,4
+53,16
@@
XBT_PUBLIC(int) xbt_parmap_mc_apply(xbt_parmap_t parmap, int_f_pvoid_pvoid_t fun
/** \} */
SG_END_DECL()
+
+#ifdef __cplusplus
+namespace simgrid {
+namespace xbt {
+ inline void destroy(xbt_parmap_t p)
+ {
+ xbt_parmap_destroy(p);
+ }
+}
+}
+#endif
+
#endif