In what cases do I need to declare a debugging channel? As I see some debugging channels are declared with WINE_DECLARE_DEBUG_CHANNEL (e.g. channels cursor, icon, resource).
Some other channels are used and not declared anywhere, e.g. (e.g. channels in comctl32.dll - animate, comtl, comboex).
Documentation in DEVELOPER-HINTS seems obsolete regarding this.
Andriy
__________________________________________________ Do You Yahoo!? HotJobs - Search Thousands of New Jobs http://www.hotjobs.com
On August 22, 2002 11:36 am, Andriy Palamarchuk wrote:
In what cases do I need to declare a debugging channel? As I see some debugging channels are declared with WINE_DECLARE_DEBUG_CHANNEL (e.g. channels cursor, icon, resource).
You normally need to just declare a default one with WINE_DEFAULT_DEBUG_CHANNEL
Normally, if the source is nicely partitioned in files, there is no need to use more than one channel per file, and hence no need to use WINE_DEFAULT_DEBUG_CHANNEL. This is needed only when you want to use in one file more then the default channel.
Some other channels are used and not declared anywhere, e.g. (e.g. channels in comctl32.dll - animate, comtl, comboex).
Eh???
[dimi@dimi wine]$ grep -n DEBUG dlls/comctl32/animate.c 38:WINE_DEFAULT_DEBUG_CHANNEL(animate); [dimi@dimi wine]$ grep -n DEBUG dlls/comctl32/comboex.c 36:WINE_DEFAULT_DEBUG_CHANNEL(comboex);
Documentation in DEVELOPER-HINTS seems obsolete regarding this.
Indeed. I will prepare a patch.