X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/ad5365a072943b2b0bacc486fa504e93a99ea940..725184f3bce66a3eff87cc3a01e5d96477a5d28a:/src/xbt/ex_interface.h diff --git a/src/xbt/ex_interface.h b/src/xbt/ex_interface.h index ad82bd2a2a..3bcbf1fbf1 100644 --- a/src/xbt/ex_interface.h +++ b/src/xbt/ex_interface.h @@ -1,9 +1,10 @@ /* $Id$ */ /* ex -- exception handling */ -/* This file is not to be loaded from anywhere but ex.c */ +/* This file is to loaded in any location defining exception handlers */ +/* (such as context.c) or in gras transport layer, to exchange them. */ -/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved. */ +/* Copyright (c) 2003, 2004, 2007 Martin Quinson. 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. */ @@ -11,7 +12,11 @@ #ifndef _XBT_EX_INTERFACE_H_ #define _XBT_EX_INTERFACE_H_ -XBT_PUBLIC(void) xbt_ex_setup_backtrace(xbt_ex_t *e); +#include "xbt/ex.h" +/* The display made by an uncatched exception */ +void xbt_ex_display(xbt_ex_t * e); -#endif /* _XBT_EX_INTERFACE_H_ */ +/* Change raw libc symbols to file names and line numbers */ +void xbt_ex_setup_backtrace(xbt_ex_t * e); +#endif /* _XBT_EX_INTERFACE_H_ */