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
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
[simgrid.git]
/
include
/
xbt
/
automaton.h
diff --git
a/include/xbt/automaton.h
b/include/xbt/automaton.h
index
cbf5f32
..
90af851
100644
(file)
--- a/
include/xbt/automaton.h
+++ b/
include/xbt/automaton.h
@@
-114,4
+114,16
@@
XBT_PUBLIC(void) xbt_automaton_propositional_symbol_free_voidp(void *ps);
XBT_PUBLIC(void) xbt_automaton_free(xbt_automaton_t a);
SG_END_DECL()
+
+#ifdef __cplusplus
+namespace simgrid {
+namespace xbt {
+ inline void destroy(xbt_automaton_t a)
+ {
+ xbt_automaton_free(a);
+ }
+}
+}
+#endif
+
#endif