Changeset 3519:2662df894209 in roaraudio
- Timestamp:
- 02/16/10 20:38:47 (14 years ago)
- Branch:
- default
- Phase:
- public
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
configure
r3477 r3519 1391 1391 fi 1392 1392 1393 echo -n 'checking for type of pa_utf8_valid()... ' 1394 echo '#include <pulse/pulseaudio.h>' > $TF_C 1395 echo '#include <string.h>' >> $TF_C 1396 echo 'int main (void) { return 0; } const char *pa_utf8_valid(const char *str) { return NULL; }' >> $TF_C 1397 1398 if $CCTF 2> /dev/null; 1399 then 1400 echo '#define ROAR_HAVE_TYPE_PA_UTF8_VALID const char *' >&3 1401 echo 'const char *' 1402 else 1403 echo '#define ROAR_HAVE_TYPE_PA_UTF8_VALID char *' >&3 1404 echo 'char *' 1405 fi 1406 1393 1407 echo -n 'checking for safe 32 bit integer overflow... ' 1394 1408 -
libroarpulse/utf8.c
r3517 r3519 44 44 45 45 /** Test if the specified strings qualifies as valid UTF8. Return the string if so, otherwise NULL */ 46 const char *pa_utf8_valid(const char *str);46 ROAR_HAVE_TYPE_PA_UTF8_VALID pa_utf8_valid(const char *str); 47 47 48 48 /** 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() */
Note: See TracChangeset
for help on using the changeset viewer.