Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
xbt_fifo are no longer used, remove the code
[simgrid.git] / src / xbt / backtrace_dummy.cpp
index 81a53d4..439686c 100644 (file)
@@ -8,15 +8,9 @@
 
 #include "xbt/ex.h"
 #include "src/xbt_modinter.h"
+#include "src/xbt/ex_interface.h"
 
-/* Module creation/destruction */
-void xbt_backtrace_preinit(void)
-{
-}
-
-void xbt_backtrace_postexit(void)
-{
-}
+#include <xbt/backtrace.hpp>
 
 /* create a backtrace in the given exception */
 size_t xbt_backtrace_current(xbt_backtrace_location_t* loc, size_t count)
@@ -32,10 +26,10 @@ namespace simgrid {
 namespace xbt {
 
 std::vector<std::string> resolveBacktrace(
-  xbt_backtrace_location_t* loc, std::size_t count)
+  xbt_backtrace_location_t const* loc, std::size_t count)
 {
   return std::vector<std::string>();
 }
 
 }
-}
\ No newline at end of file
+}