libtriple: improve lt_debug

* add current instance
* shorten lt_debug messages
This commit is contained in:
Stefan Seyfried
2011-10-02 21:48:41 +02:00
parent 7368fad7ba
commit 9cbede9fec
9 changed files with 29 additions and 27 deletions

View File

@@ -17,8 +17,8 @@ extern "C" {
}
#include "lt_debug.h"
#define lt_debug(args...) _lt_debug(TRIPLE_DEBUG_INIT, args)
#define lt_info(args...) _lt_info(TRIPLE_DEBUG_INIT, args)
#define lt_debug(args...) _lt_debug(TRIPLE_DEBUG_INIT, NULL, args)
#define lt_info(args...) _lt_info(TRIPLE_DEBUG_INIT, NULL, args)
static bool initialized = false;