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
[.gitignore] Ignore more s4u binaries
[simgrid.git]
/
include
/
xbt
/
dict.h
diff --git
a/include/xbt/dict.h
b/include/xbt/dict.h
index
4a03727
..
6a5e912
100644
(file)
--- a/
include/xbt/dict.h
+++ b/
include/xbt/dict.h
@@
-173,4
+173,16
@@
xbt_dict_foreach(head, cursor, key, data) {
/** @} */
SG_END_DECL()
+
+#ifdef __cplusplus
+namespace simgrid {
+namespace xbt {
+ inline void destroy(xbt_dict_t d)
+ {
+ xbt_dict_free(&d);
+ }
+}
+}
+#endif
+
#endif /* _XBT_DICT_H */