]> code.delx.au - pulseaudio/commitdiff
add C++ macros to utf8.h
authorLennart Poettering <lennart@poettering.net>
Wed, 17 May 2006 20:44:19 +0000 (20:44 +0000)
committerLennart Poettering <lennart@poettering.net>
Wed, 17 May 2006 20:44:19 +0000 (20:44 +0000)
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@922 fefdeb5f-60dc-0310-8127-8f9354f1896f

src/polyp/utf8.h

index e9a5153305d00ca9d8a1e64c3cbab6182b399b63..3cc3a7d08a103193f3bed6e9cb63a30593374459 100644 (file)
   USA.
 ***/
 
+#include <polyp/cdecl.h>
+
 /** \file
  * UTF8 Validation functions
  */
 
+PA_C_DECL_BEGIN
+
 /** Test if the specified strings qualifies as valid UTF8. Return the string if so, otherwise NULL */
 const char *pa_utf8_valid(const char *str);
 
 /** Filter all invalid UTF8 characters from the specified string, returning a new fully UTF8 valid string. Don't forget to free the returned string with pa_xfree() */
 char *pa_utf8_filter(const char *str);
 
+PA_C_DECL_END
+
 #endif