]> code.delx.au - pulseaudio/blobdiff - polyp/polyplib-error.h
implement proper refcounting in polyplib
[pulseaudio] / polyp / polyplib-error.h
index d76ce6ffa93c9a0e0e99c10839895a35785fbb3a..d7519af4af66fb7aee3ab54ced1e9a718c09328b 100644 (file)
 ***/
 
 #include <inttypes.h>
+#include "cdecl.h"
 
-#ifdef __cplusplus
-extern "C" {
-#endif
+PA_C_DECL_BEGIN;
 
+/** Return a human readable error message for the specified numeric error code */
 const char* pa_strerror(uint32_t error);
 
-#ifdef __cplusplus
-}
-#endif
-    
+PA_C_DECL_END;
+
 #endif