5555
5656#include "pa_debugprint.h"
5757
58- // for OutputDebugStringA
58+ /* for OutputDebugStringA */
5959#if defined(_MSC_VER ) && defined(PA_ENABLE_MSVC_DEBUG_OUTPUT )
60- #define WIN32_LEAN_AND_MEAN // exclude rare headers
60+ #define WIN32_LEAN_AND_MEAN /* exclude rare headers */
6161 #include "windows.h"
6262#endif
6363
64- // User callback
64+ /* User callback */
6565static PaUtilLogCallback userCB = NULL ;
6666
67- // Sets user callback
67+ /* Sets user callback */
6868void PaUtil_SetDebugPrintFunction (PaUtilLogCallback cb )
6969{
7070 userCB = cb ;
@@ -87,7 +87,7 @@ void PaUtil_SetDebugPrintFunction(PaUtilLogCallback cb)
8787
8888void PaUtil_DebugPrint ( const char * format , ... )
8989{
90- // Optional logging into Output console of Visual Studio
90+ /* Optional logging into Output console of Visual Studio */
9191#if defined(_MSC_VER ) && defined(PA_ENABLE_MSVC_DEBUG_OUTPUT )
9292 {
9393 char buf [PA_LOG_BUF_SIZE ];
@@ -100,7 +100,7 @@ void PaUtil_DebugPrint( const char *format, ... )
100100 }
101101#endif
102102
103- // Output to User-Callback
103+ /* Output to User-Callback */
104104 if (userCB != NULL )
105105 {
106106 char strdump [PA_LOG_BUF_SIZE ];
@@ -112,7 +112,7 @@ void PaUtil_DebugPrint( const char *format, ... )
112112 va_end (ap );
113113 }
114114 else
115- // Standard output to stderr
115+ /* Standard output to stderr */
116116 {
117117 va_list ap ;
118118 va_start (ap , format );
0 commit comments