X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/9f6cbb176d4301cae36a945dfa57e6b6a9cbafef..7b6d9a992f6c0c59eff98ba72868b5b9b93afa38:/include/xbt/automaton.h?ds=sidebyside 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