pa_debugprint.h File Reference

Go to the source code of this file.

Defines

#define PA_DEBUG(x)
#define PA_LOGAPI(x)

Typedefs

typedef void(*) PaUtilLogCallback (const char *log)

Functions

void PaUtil_DebugPrint (const char *format,...)
void PaUtil_SetDebugPrintFunction (PaUtilLogCallback cb)


Detailed Description


Define Documentation

#define PA_DEBUG (  ) 

PA_DEBUG() provides a simple debug message printing facility. The macro passes it's argument to a printf-like function called PaUtil_DebugPrint() which prints to stderr and always flushes the stream after printing. Because preprocessor macros cannot directly accept variable length argument lists, calls to the macro must include an additional set of parenthesis, eg: PA_DEBUG(("errorno: %d", 1001 ));

#define PA_LOGAPI (  ) 


Typedef Documentation

typedef void(*) PaUtilLogCallback(const char *log)


Function Documentation

void PaUtil_DebugPrint ( const char *  format,
  ... 
)

void PaUtil_SetDebugPrintFunction ( PaUtilLogCallback  cb  ) 

Install user provided log function


Generated on Wed Aug 22 15:36:44 2007 for PortAudio by  doxygen 1.5.2