>>>>> On Sun, 15 Oct 2000 20:13:32 +0200, Jochen Eisinger <jochen.eisinger@gno.de> said:
Jochen> I had a look at it. I thought, we could define DBG like this
Jochen> #define DBG sanei_debug_set(DBG_LEVEL, STRINGIFY(BACKEND_NAME));
Jochen> but this fails on code like this
Jochen> if (...) DBG(...) else ...
Jochen> I also don't see an easy way arround this
#define DBG do {sanei_debug_set(DBG_LEVEL, STRINGIFY(BACKEND_NAME));} while (0)
--david
-- Source code, list archive, and docs: http://www.mostang.com/sane/ To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com
This archive was generated by hypermail 2b29 : Sun Oct 15 2000 - 16:16:41 PDT