public class CoreFoundation extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
CoreFoundation.CFDictionaryRef |
static interface |
CoreFoundation.CFMutableStringRef |
static interface |
CoreFoundation.CFStringRef |
Constructor and Description |
---|
CoreFoundation() |
Modifier and Type | Method and Description |
---|---|
static CoreFoundation.CFDictionaryRef |
_CFCopyServerVersionDictionary() |
static CoreFoundation.CFDictionaryRef |
_CFCopySystemVersionDictionary() |
static CoreFoundation.CFStringRef |
CFDictionaryGetValue(CoreFoundation.CFDictionaryRef theDict,
CoreFoundation.CFStringRef key) |
static void |
CFRelease(org.graalvm.word.PointerBase cf) |
static org.graalvm.word.PointerBase |
CFRetain(org.graalvm.word.PointerBase cf) |
static void |
CFStringAppendCharacters(CoreFoundation.CFMutableStringRef theString,
org.graalvm.word.PointerBase chars,
org.graalvm.word.SignedWord numChars) |
static CoreFoundation.CFMutableStringRef |
CFStringCreateMutable(org.graalvm.word.PointerBase alloc,
org.graalvm.word.SignedWord maxLength)
Functions to create mutable strings.
|
static char |
CFStringGetCharacterAtIndex(CoreFoundation.CFStringRef theString,
long idx) |
static long |
CFStringGetLength(CoreFoundation.CFStringRef theString)
Number of 16-bit Unicode characters in the string.
|
static void |
CFStringNormalize(CoreFoundation.CFMutableStringRef theString,
org.graalvm.word.SignedWord theForm)
Normalizes the string into the specified form as described in Unicode Technical Report #15.
|
public static CoreFoundation.CFMutableStringRef CFStringCreateMutable(org.graalvm.word.PointerBase alloc, org.graalvm.word.SignedWord maxLength)
public static void CFStringAppendCharacters(CoreFoundation.CFMutableStringRef theString, org.graalvm.word.PointerBase chars, org.graalvm.word.SignedWord numChars)
public static void CFStringNormalize(CoreFoundation.CFMutableStringRef theString, org.graalvm.word.SignedWord theForm)
theString
- The string which is to be normalized. If this parameter is not a valid
mutable CFString, the behavior is undefined.theForm
- The form into which the string is to be normalized. If this parameter is not a
valid CFStringNormalizationForm value, the behavior is undefined.public static long CFStringGetLength(CoreFoundation.CFStringRef theString)
public static void CFRelease(org.graalvm.word.PointerBase cf)
public static org.graalvm.word.PointerBase CFRetain(org.graalvm.word.PointerBase cf)
public static CoreFoundation.CFDictionaryRef _CFCopyServerVersionDictionary()
public static CoreFoundation.CFDictionaryRef _CFCopySystemVersionDictionary()
public static CoreFoundation.CFStringRef CFDictionaryGetValue(CoreFoundation.CFDictionaryRef theDict, CoreFoundation.CFStringRef key)
public static char CFStringGetCharacterAtIndex(CoreFoundation.CFStringRef theString, long idx)