Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
C++ needs love
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Fri, 14 Aug 2009 21:05:23 +0000 (21:05 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Fri, 14 Aug 2009 21:05:23 +0000 (21:05 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@6557 48e7efb5-ca39-0410-a469-dd3cf9ba447f

include/xbt/ex.h
include/xbt/sysdep.h

index a688f0d..af1c0a3 100644 (file)
@@ -18,6 +18,8 @@
 #include "xbt/misc.h"
 #include "xbt/virtu.h"
 
+SG_BEGIN_DECL()
+
 /*-*-* Emergency debuging: define this when the exceptions get crazy *-*-*/
 #undef __EX_MAYDAY
 
@@ -513,5 +515,7 @@ XBT_PUBLIC(void) xbt_backtrace_current(xbt_ex_t * e);
 /** @brief Display a previously captured backtrace */
 XBT_PUBLIC(void) xbt_backtrace_display(xbt_ex_t * e);
 
+SG_END_DECL()
+
 /** @} */
 #endif /* __XBT_EX_H__ */
index de2ef82..7ae2aee 100644 (file)
@@ -59,7 +59,7 @@ XBT_PUBLIC(char *) bprintf(const char *fmt, ...) _XBT_GNUC_PRINTF(1, 2);
   return res;
 }
 
-extern void xbt_backtrace_display_current(void);
+XBT_PUBLIC(void) xbt_backtrace_display_current(void);
 
 /** @brief Like malloc, but xbt_die() on error
     @hideinitializer */