Changeset 3519:2662df894209 in roaraudio


Ignore:
Timestamp:
02/16/10 20:38:47 (14 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

f* pa devels changed a prototype again, this time pa_utf8_valid()

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • configure

    r3477 r3519  
    13911391fi 
    13921392 
     1393echo -n 'checking for type of pa_utf8_valid()... ' 
     1394echo '#include <pulse/pulseaudio.h>'  >  $TF_C 
     1395echo '#include <string.h>'           >> $TF_C 
     1396echo 'int main (void) { return 0; } const char *pa_utf8_valid(const char *str) { return NULL; }'  >> $TF_C 
     1397 
     1398if $CCTF 2> /dev/null; 
     1399then 
     1400 echo '#define ROAR_HAVE_TYPE_PA_UTF8_VALID const char *' >&3 
     1401 echo 'const char *' 
     1402else 
     1403 echo '#define ROAR_HAVE_TYPE_PA_UTF8_VALID char *' >&3 
     1404 echo 'char *' 
     1405fi 
     1406 
    13931407echo -n 'checking for safe 32 bit integer overflow... ' 
    13941408 
  • libroarpulse/utf8.c

    r3517 r3519  
    4444 
    4545/** 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); 
     46ROAR_HAVE_TYPE_PA_UTF8_VALID pa_utf8_valid(const char *str); 
    4747 
    4848/** 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.