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
[mc] Use std::equal_range in is_visited_state()
[simgrid.git]
/
include
/
xbt
/
dynar.h
diff --git
a/include/xbt/dynar.h
b/include/xbt/dynar.h
index
6dcebc9
..
8aa9d0d
100644
(file)
--- a/
include/xbt/dynar.h
+++ b/
include/xbt/dynar.h
@@
-256,6
+256,17
@@
xbt_dynar_foreach (dyn,cpt,str) {
(_cursor)++ )
#endif
/** @} */
-
SG_END_DECL()
+
+#ifdef __cplusplus
+namespace simgrid {
+namespace xbt {
+ inline void destroy(xbt_dynar_t s)
+ {
+ xbt_dynar_free(&s);
+ }
+}
+}
+#endif
+
#endif /* _XBT_DYNAR_H */