X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/30a925489c6e4d4a92042ef80de375c56ccb562b..f9df6a0ce7023e4e22d83bb6c50f27bd21fab329:/include/xbt/automaton.h?ds=sidebyside diff --git a/include/xbt/automaton.h b/include/xbt/automaton.h index 90af851f0b..424cf49cb9 100644 --- a/include/xbt/automaton.h +++ b/include/xbt/automaton.h @@ -61,7 +61,7 @@ typedef struct xbt_automaton_propositional_symbol* xbt_automaton_propositional_s typedef int (*xbt_automaton_propositional_symbol_callback_type)(void*); typedef void (*xbt_automaton_propositional_symbol_free_function_type)(void*); -XBT_PUBLIC(xbt_automaton_t) xbt_automaton_new(void); +XBT_PUBLIC(xbt_automaton_t) xbt_automaton_new(); XBT_PUBLIC(void) xbt_automaton_load(xbt_automaton_t automaton, const char *file); XBT_PUBLIC(xbt_automaton_state_t) xbt_automaton_state_new(xbt_automaton_t a, int type, char* id); XBT_PUBLIC(xbt_automaton_transition_t) @@ -115,15 +115,4 @@ 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