Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Change two dynars (maybe more).
[simgrid.git] / include / xbt / ex.h
index 3b5e166..c37ff47 100644 (file)
@@ -52,8 +52,6 @@ SG_BEGIN_DECL()
  */
 XBT_PUBLIC const char* xbt_ex_catname(xbt_errcat_t cat);
 
-typedef struct xbt_ex xbt_ex_t;
-
 /** Helper function used to throw exceptions in C */
 XBT_ATTRIB_NORETURN XBT_PUBLIC void _xbt_throw(char* message, xbt_errcat_t errcat, int value, const char* file,
                                                int line, const char* func);
@@ -79,7 +77,7 @@ XBT_ATTRIB_NORETURN void xbt_throw_impossible(const char* file, int line, const
 /** Throw an exception because something unimplemented stuff has been attempted
  *  @ingroup XBT_ex_c
  */
-XBT_ATTRIB_NORETURN void xbt_throw_unimplemented(const char* file, int line, const char* func);
+XBT_ATTRIB_NORETURN XBT_PUBLIC void xbt_throw_unimplemented(const char* file, int line, const char* func);
 #define THROW_UNIMPLEMENTED xbt_throw_unimplemented(__FILE__, __LINE__, __func__)
 
 /** Die because something impossible happened
@@ -87,9 +85,6 @@ XBT_ATTRIB_NORETURN void xbt_throw_unimplemented(const char* file, int line, con
  */
 #define DIE_IMPOSSIBLE xbt_die("The Impossible Did Happen (yet again)")
 
-/** Display an exception */
-XBT_PUBLIC void xbt_ex_display(xbt_ex_t* e);
-
 SG_END_DECL()
 
 /** @} */