winprefs 0.4.1
Dump a registry path to a series of 'reg add' commands.
Loading...
Searching...
No Matches
debug.h File Reference
#include "macros.h"
Include dependency graph for debug.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void debug_print (const wchar_t *format,...)
 Print only when debug logging is enabled.
DLL_EXPORT void set_debug_print_enabled (bool enabled)
 Enable or disable debug printing.

Variables

bool debug_print_enabled

Function Documentation

◆ debug_print()

void debug_print ( const wchar_t * format,
... )

Print only when debug logging is enabled.

Parameters
formatFormat string.

◆ set_debug_print_enabled()

DLL_EXPORT void set_debug_print_enabled ( bool enabled)

Enable or disable debug printing.

Parameters
enabledFlag.