libtriple: improve lt_debug

* add current instance
* shorten lt_debug messages


Origin commit data
------------------
Branch: ni/coolstream
Commit: 9cbede9fec
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2011-10-02 (Sun, 02 Oct 2011)



------------------
This commit was generated by Migit
This commit is contained in:
Stefan Seyfried
2011-10-02 21:48:41 +02:00
parent 208c2a2b88
commit aae27e77cf
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;