From 8254b3fbdae7d6ca1acae74794011c9d70edf301 Mon Sep 17 00:00:00 2001 From: Christian Thaeter Date: Fri, 22 Jan 2010 23:21:48 +0100 Subject: [PATCH] updates for nobug 201001.2 dumping got a new api, surprisingly everything else works... --- configure.ac | 2 +- src/lib/mpool.c | 4 +--- src/lib/mpool.h | 5 ++--- 3 files changed, 4 insertions(+), 7 deletions(-) diff --git a/configure.ac b/configure.ac index 297b9c2cc..1916c6ede 100644 --- a/configure.ac +++ b/configure.ac @@ -188,7 +188,7 @@ AC_CHECK_HEADER([execinfo.h], AC_DEFINE(HAVE_EXECINFO_H)) PKG_CHECK_MODULES(VALGRIND, [valgrind], AC_DEFINE(HAVE_VALGRIND_H), AC_MSG_NOTICE([valgrind not found (optional)])) -PKG_CHECK_MODULES(NOBUGMT_LUMIERA, [nobugmt >= 201001.1], +PKG_CHECK_MODULES(NOBUGMT_LUMIERA, [nobugmt >= 201001.2], AC_DEFINE(HAVE_NOBUGMT_H), AC_MSG_ERROR([Missing required nobug version (http://www.lumiera.org/nobug_manual.html)]) ) diff --git a/src/lib/mpool.c b/src/lib/mpool.c index f9b3056c6..8c1d88a93 100644 --- a/src/lib/mpool.c +++ b/src/lib/mpool.c @@ -477,9 +477,7 @@ mpool_reserve (MPool self, unsigned nelements) void nobug_mpool_dump (const_MPool self, const int depth, - const char* file, - const int line, - const char* func) + const struct nobug_context dump_context) { if (self && depth) { diff --git a/src/lib/mpool.h b/src/lib/mpool.h index 18c34dca8..aa9b66562 100644 --- a/src/lib/mpool.h +++ b/src/lib/mpool.h @@ -234,9 +234,8 @@ mpool_free (MPool self, void* element); void nobug_mpool_dump (const_MPool self, const int depth, - const char* file, - const int line, - const char* func); + const struct nobug_context dump_context); + /* // Local Variables: