cairo.ffi, core-foundation.strings: change some functions that don't really expect strings to use char* instead of c-string (reported by Blei)

db4
Joe Groff 2010-02-23 12:53:09 -08:00
parent b45ec6397b
commit 125c680e2f
2 changed files with 3 additions and 3 deletions

View File

@ -786,7 +786,7 @@ FUNCTION: int
cairo_format_stride_for_width ( cairo_format_t format, int width ) ;
FUNCTION: cairo_surface_t*
cairo_image_surface_create_for_data ( c-string data, cairo_format_t format, int width, int height, int stride ) ;
cairo_image_surface_create_for_data ( char* data, cairo_format_t format, int width, int height, int stride ) ;
FUNCTION: c-string
cairo_image_surface_get_data ( cairo_surface_t* surface ) ;

View File

@ -37,7 +37,7 @@ FUNCTION: void CFStringGetCharacters ( void* theString, CFIndex start, CFIndex l
FUNCTION: Boolean CFStringGetCString (
CFStringRef theString,
c-string buffer,
UInt8* buffer,
CFIndex bufferSize,
CFStringEncoding encoding
) ;
@ -55,7 +55,7 @@ FUNCTION: CFIndex CFStringGetBytes (
FUNCTION: CFStringRef CFStringCreateWithCString (
CFAllocatorRef alloc,
c-string cStr,
UInt8* cStr,
CFStringEncoding encoding
) ;