diff options
author | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2009-07-30 20:34:23 +0000 |
---|---|---|
committer | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2009-07-30 20:34:23 +0000 |
commit | d72782347c2ba802cd030feeb23f7eacc4ae8a23 (patch) | |
tree | a729476323d0d551c2031b3a666193923ceb08a4 /navit/debug.h | |
parent | c297ef7f5928b0407ab67b9a76ccf166d0a1d3e0 (diff) | |
parent | 3b8435d744c504a88493f272068453023585837e (diff) | |
download | navit-svn-wince.tar.gz |
Updated wince branch to current versionwince
git-svn-id: http://svn.code.sf.net/p/navit/code/branches/wince/navit@2430 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/debug.h')
-rw-r--r-- | navit/debug.h | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/navit/debug.h b/navit/debug.h deleted file mode 100644 index 7e897129..00000000 --- a/navit/debug.h +++ /dev/null @@ -1,28 +0,0 @@ -#ifndef NAVIT_DEBUG_H -#define NAVIT_DEBUG_H - -#ifdef __cplusplus -extern "C" { -#endif - -#include <stdarg.h> -extern int debug_level; -#define dbg_str2(x) #x -#define dbg_str1(x) dbg_str2(x) -#define dbg_module dbg_str1(MODULE) -#define dbg(level,fmt...) ({ if (debug_level >= level) debug_printf(level,dbg_module,strlen(dbg_module),__PRETTY_FUNCTION__, strlen(__PRETTY_FUNCTION__),1,fmt); }) - -/* prototypes */ -void debug_init(const char *program_name); -void debug_level_set(const char *name, int level); -int debug_level_get(const char *name); -void debug_vprintf(int level, const char *module, const int mlen, const char *function, const int flen, int prefix, const char *fmt, va_list ap); -void debug_printf(int level, const char *module, const int mlen, const char *function, const int flen, int prefix, const char *fmt, ...); -/* end of prototypes */ - -#ifdef __cplusplus -} -#endif - -#endif - |