-/* $Id$ */
/* xbt/asserts.h -- assertion mecanism */
-/* Copyright (c) 2004,2005 Martin Quinson. All rights reserved. */
+/* Copyright (c) 2005, 2006, 2007, 2009, 2010. The SimGrid Team.
+ * All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
#include "xbt/misc.h"
#include "xbt/log.h"
#include "xbt/ex.h"
-
+
SG_BEGIN_DECL()
/**
*
* @{
*/
-XBT_PUBLIC void xbt_abort(void) _XBT_GNUC_NORETURN;
-XBT_PUBLIC void xbt_die(const char *msg) _XBT_GNUC_NORETURN;
-
#ifdef NDEBUG
#define xbt_assert(cond)
#define xbt_assert0(cond,msg)
/** @hideinitializer */
#define xbt_assert6(cond,msg,a,b,c,d,e,f) if (!(cond)) THROW6(0,0,msg,a,b,c,d,e,f)
#endif
-
-
-/** @} */
-
-SG_END_DECL()
-
+/** @} */
+ SG_END_DECL()
#endif /* _XBT_ASSERTS_H */