cairo.ffi, core-foundation.strings: change some functions that don't really expect strings to use char* instead of c-string (reported by Blei)
parent
b45ec6397b
commit
125c680e2f
|
@ -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 ) ;
|
||||
|
|
|
@ -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
|
||||
) ;
|
||||
|
||||
|
|
Loading…
Reference in New Issue