X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/6f48d1a65eeb69ebae17feb1d714db4a60764a51..528fa2ce6be027b5428d122666ffc37706155449:/include/xbt/automaton.h diff --git a/include/xbt/automaton.h b/include/xbt/automaton.h index cbf5f32d43..90af851f0b 100644 --- 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