diff options
| author | Lennart Poettering <lennart@poettering.net> | 2006-05-17 20:44:19 +0000 | 
|---|---|---|
| committer | Lennart Poettering <lennart@poettering.net> | 2006-05-17 20:44:19 +0000 | 
| commit | 40feedb8bf53fe656946f376c044dbe4a1741082 (patch) | |
| tree | bf210b3409a523576a482330403b42d57b0ef425 /src | |
| parent | ee4d6b064fe9c872e008a37b5b8daf60752a27ae (diff) | |
add C++ macros to utf8.h
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@922 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src')
| -rw-r--r-- | src/polyp/utf8.h | 6 | 
1 files changed, 6 insertions, 0 deletions
| diff --git a/src/polyp/utf8.h b/src/polyp/utf8.h index e9a51533..3cc3a7d0 100644 --- a/src/polyp/utf8.h +++ b/src/polyp/utf8.h @@ -22,14 +22,20 @@    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 | 
