We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 48dd601 + 2fe22f8 commit 3f007d1Copy full SHA for 3f007d1
core-foundation-sys/src/string.rs
@@ -219,7 +219,11 @@ extern {
219
contentsDeallocator: CFAllocatorRef)
220
-> CFStringRef;
221
//fn CFStringCreateWithCharacters
222
- //fn CFStringCreateWithCharactersNoCopy
+ pub fn CFStringCreateWithCharactersNoCopy(alloc: CFAllocatorRef,
223
+ chars: *const UniChar,
224
+ numChars: CFIndex,
225
+ contentsDeallocator: CFAllocatorRef)
226
+ -> CFStringRef;
227
pub fn CFStringCreateWithCString(alloc: CFAllocatorRef,
228
cStr: *const c_char,
229
encoding: CFStringEncoding)
0 commit comments