Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Update with newer flexml.
[simgrid.git] / src / xbt / backtrace_dummy.c
1 /* backtrace_dummy -- stubs of this module for non-supported archs          */
2
3 /* Copyright (c) 2008, 2009, 2010. The SimGrid Team.
4  * All rights reserved.                                                     */
5
6 /* This program is free software; you can redistribute it and/or modify it
7  * under the terms of the license (GNU LGPL) which comes with this package. */
8
9 #include "xbt/ex.h"
10 #include "xbt_modinter.h"
11
12 /* Module creation/destruction */
13 void xbt_backtrace_preinit(void)
14 {
15 }
16
17 void xbt_backtrace_postexit(void)
18 {
19 }
20
21 /* create a backtrace in the given exception */
22 void xbt_backtrace_current(xbt_ex_t * e)
23 {
24 }
25
26 /* prepare a backtrace for display */
27 void xbt_ex_setup_backtrace(xbt_ex_t * e)
28 {
29 }
30
31 int xbt_backtrace_no_malloc(void **array, int size) {
32   return 0;
33 }