Skip to content

Commit 3ea4181

Browse files
authored
convert C++ comments to C comments in pa_debugprint.c (common sources and headers should be C89) (#1133)
1 parent 5dcff94 commit 3ea4181

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

src/common/pa_debugprint.c

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -55,16 +55,16 @@
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 */
6565
static PaUtilLogCallback userCB = NULL;
6666

67-
// Sets user callback
67+
/* Sets user callback */
6868
void PaUtil_SetDebugPrintFunction(PaUtilLogCallback cb)
6969
{
7070
userCB = cb;
@@ -87,7 +87,7 @@ void PaUtil_SetDebugPrintFunction(PaUtilLogCallback cb)
8787

8888
void 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

Comments
 (0)