Documentation
¶
Overview ¶
Package corefoundation provides a fluent Go API over the macOS CoreFoundation framework.
Construction ¶
New… functions create objects; each With… method sets one property and returns its receiver, so configuration calls chain. A <Type>FromID constructor adopts an Objective-C object obtained elsewhere.
Lifecycle ¶
A wrapper releases its Objective-C object automatically once the garbage collector finds it unreachable. Call Release to relinquish the reference deterministically (for objects holding scarce resources); Release is idempotent, and afterwards the wrapper's methods are no-ops returning zero values.
Index ¶
- Constants
- func BuiltinConstantP() int
- func CFAbsoluteTimeAddGregorianUnits(at float64, tz CFTimeZoneRef, units CFGregorianUnits) float64
- func CFAbsoluteTimeGetCurrent() float64
- func CFAbsoluteTimeGetDayOfWeek(at float64, tz CFTimeZoneRef) int
- func CFAbsoluteTimeGetDayOfYear(at float64, tz CFTimeZoneRef) int
- func CFAbsoluteTimeGetWeekOfYear(at float64, tz CFTimeZoneRef) int
- func CFAllocatorAllocate(allocator CFAllocatorRef, size int, hint int) unsafe.Pointer
- func CFAllocatorAllocateBytes(allocator CFAllocatorRef, size int, hint int) unsafe.Pointer
- func CFAllocatorAllocateTyped(allocator CFAllocatorRef, size int, descriptor uint64, hint int) unsafe.Pointer
- func CFAllocatorDeallocate(allocator CFAllocatorRef, ptr unsafe.Pointer)
- func CFAllocatorGetContext(allocator CFAllocatorRef, context_ unsafe.Pointer)
- func CFAllocatorGetPreferredSizeForSize(allocator CFAllocatorRef, size int, hint int) int
- func CFAllocatorGetTypeID() int
- func CFAllocatorReallocate(allocator CFAllocatorRef, ptr unsafe.Pointer, newsize int, hint int) unsafe.Pointer
- func CFAllocatorReallocateBytes(allocator CFAllocatorRef, ptr unsafe.Pointer, newsize int, hint int) unsafe.Pointer
- func CFAllocatorReallocateTyped(allocator CFAllocatorRef, ptr unsafe.Pointer, newsize int, descriptor uint64, ...) unsafe.Pointer
- func CFAllocatorSetDefault(allocator CFAllocatorRef)
- func CFArrayAppendArray(theArray CFMutableArrayRef, otherArray CFArrayRef, otherRange CFRange)
- func CFArrayAppendValue(theArray CFMutableArrayRef, value unsafe.Pointer)
- func CFArrayApplyFunction(theArray CFArrayRef, range_ CFRange, applier unsafe.Pointer, ...)
- func CFArrayBSearchValues(theArray CFArrayRef, range_ CFRange, value unsafe.Pointer, ...) int
- func CFArrayContainsValue(theArray CFArrayRef, range_ CFRange, value unsafe.Pointer) uint8
- func CFArrayExchangeValuesAtIndices(theArray CFMutableArrayRef, idx1 int, idx2 int)
- func CFArrayGetCount(theArray CFArrayRef) int
- func CFArrayGetCountOfValue(theArray CFArrayRef, range_ CFRange, value unsafe.Pointer) int
- func CFArrayGetFirstIndexOfValue(theArray CFArrayRef, range_ CFRange, value unsafe.Pointer) int
- func CFArrayGetLastIndexOfValue(theArray CFArrayRef, range_ CFRange, value unsafe.Pointer) int
- func CFArrayGetTypeID() int
- func CFArrayGetValueAtIndex(theArray CFArrayRef, idx int) unsafe.Pointer
- func CFArrayGetValues(theArray CFArrayRef, range_ CFRange, values unsafe.Pointer)
- func CFArrayInsertValueAtIndex(theArray CFMutableArrayRef, idx int, value unsafe.Pointer)
- func CFArrayRemoveAllValues(theArray CFMutableArrayRef)
- func CFArrayRemoveValueAtIndex(theArray CFMutableArrayRef, idx int)
- func CFArrayReplaceValues(theArray CFMutableArrayRef, range_ CFRange, newValues unsafe.Pointer, ...)
- func CFArraySetValueAtIndex(theArray CFMutableArrayRef, idx int, value unsafe.Pointer)
- func CFArraySortValues(theArray CFMutableArrayRef, range_ CFRange, comparator unsafe.Pointer, ...)
- func CFAttributedStringBeginEditing(aStr CFMutableAttributedStringRef)
- func CFAttributedStringEndEditing(aStr CFMutableAttributedStringRef)
- func CFAttributedStringGetAttributes(aStr CFAttributedStringRef, loc int) (result CFDictionaryRef, effectiveRange CFRange)
- func CFAttributedStringGetAttributesAndLongestEffectiveRange(aStr CFAttributedStringRef, loc int, inRange CFRange) (result CFDictionaryRef, longestEffectiveRange CFRange)
- func CFAttributedStringGetBidiLevelsAndResolvedDirections(attributedString CFAttributedStringRef, range_ CFRange, baseDirection int8) (ok bool, bidiLevels uint8, baseDirections uint8)
- func CFAttributedStringGetLength(aStr CFAttributedStringRef) int
- func CFAttributedStringGetStatisticalWritingDirections(attributedString CFAttributedStringRef, range_ CFRange, baseDirection int8) (ok bool, bidiLevels uint8, baseDirections uint8)
- func CFAttributedStringGetTypeID() int
- func CFAttributedStringRemoveAttribute(aStr CFMutableAttributedStringRef, range_ CFRange, attrName CFStringRef)
- func CFAttributedStringReplaceAttributedString(aStr CFMutableAttributedStringRef, range_ CFRange, ...)
- func CFAttributedStringReplaceString(aStr CFMutableAttributedStringRef, range_ CFRange, replacement CFStringRef)
- func CFAttributedStringSetAttribute(aStr CFMutableAttributedStringRef, range_ CFRange, attrName CFStringRef, ...)
- func CFAttributedStringSetAttributes(aStr CFMutableAttributedStringRef, range_ CFRange, replacement CFDictionaryRef, ...)
- func CFAutorelease(arg obj.Object) obj.Object
- func CFBagAddValue(theBag CFMutableBagRef, value unsafe.Pointer)
- func CFBagApplyFunction(theBag CFBagRef, applier unsafe.Pointer, context_ unsafe.Pointer)
- func CFBagContainsValue(theBag CFBagRef, value unsafe.Pointer) uint8
- func CFBagGetCount(theBag CFBagRef) int
- func CFBagGetCountOfValue(theBag CFBagRef, value unsafe.Pointer) int
- func CFBagGetTypeID() int
- func CFBagGetValue(theBag CFBagRef, value unsafe.Pointer) unsafe.Pointer
- func CFBagGetValueIfPresent(theBag CFBagRef, candidate unsafe.Pointer, value unsafe.Pointer) uint8
- func CFBagGetValues(theBag CFBagRef, values unsafe.Pointer)
- func CFBagRemoveAllValues(theBag CFMutableBagRef)
- func CFBagRemoveValue(theBag CFMutableBagRef, value unsafe.Pointer)
- func CFBagReplaceValue(theBag CFMutableBagRef, value unsafe.Pointer)
- func CFBagSetValue(theBag CFMutableBagRef, value unsafe.Pointer)
- func CFBinaryHeapAddValue(heap CFBinaryHeapRef, value unsafe.Pointer)
- func CFBinaryHeapApplyFunction(heap CFBinaryHeapRef, applier unsafe.Pointer, context_ unsafe.Pointer)
- func CFBinaryHeapContainsValue(heap CFBinaryHeapRef, value unsafe.Pointer) uint8
- func CFBinaryHeapGetCount(heap CFBinaryHeapRef) int
- func CFBinaryHeapGetCountOfValue(heap CFBinaryHeapRef, value unsafe.Pointer) int
- func CFBinaryHeapGetMinimum(heap CFBinaryHeapRef) unsafe.Pointer
- func CFBinaryHeapGetMinimumIfPresent(heap CFBinaryHeapRef, value unsafe.Pointer) uint8
- func CFBinaryHeapGetTypeID() int
- func CFBinaryHeapGetValues(heap CFBinaryHeapRef, values unsafe.Pointer)
- func CFBinaryHeapRemoveAllValues(heap CFBinaryHeapRef)
- func CFBinaryHeapRemoveMinimumValue(heap CFBinaryHeapRef)
- func CFBitVectorContainsBit(bv CFBitVectorRef, range_ CFRange, value int) uint8
- func CFBitVectorFlipBitAtIndex(bv CFMutableBitVectorRef, idx int)
- func CFBitVectorFlipBits(bv CFMutableBitVectorRef, range_ CFRange)
- func CFBitVectorGetBitAtIndex(bv CFBitVectorRef, idx int) int
- func CFBitVectorGetBits(bv CFBitVectorRef, range_ CFRange) (data uint8)
- func CFBitVectorGetCount(bv CFBitVectorRef) int
- func CFBitVectorGetCountOfBit(bv CFBitVectorRef, range_ CFRange, value int) int
- func CFBitVectorGetFirstIndexOfBit(bv CFBitVectorRef, range_ CFRange, value int) int
- func CFBitVectorGetLastIndexOfBit(bv CFBitVectorRef, range_ CFRange, value int) int
- func CFBitVectorGetTypeID() int
- func CFBitVectorSetAllBits(bv CFMutableBitVectorRef, value int)
- func CFBitVectorSetBitAtIndex(bv CFMutableBitVectorRef, idx int, value int)
- func CFBitVectorSetBits(bv CFMutableBitVectorRef, range_ CFRange, value int)
- func CFBitVectorSetCount(bv CFMutableBitVectorRef, count int)
- func CFBooleanGetTypeID() int
- func CFBooleanGetValue(boolean CFBooleanRef) uint8
- func CFBundleCloseBundleResourceMap(bundle CFBundleRef, refNum int)
- func CFBundleGetDataPointerForName(bundle CFBundleRef, symbolName CFStringRef) unsafe.Pointer
- func CFBundleGetDataPointersForNames(bundle CFBundleRef, symbolNames CFArrayRef, stbl unsafe.Pointer)
- func CFBundleGetFunctionPointerForName(bundle CFBundleRef, functionName CFStringRef) unsafe.Pointer
- func CFBundleGetFunctionPointersForNames(bundle CFBundleRef, functionNames CFArrayRef, ftbl unsafe.Pointer)
- func CFBundleGetPackageInfo(bundle CFBundleRef) (packageType int, packageCreator int)
- func CFBundleGetPackageInfoInDirectory(url CFURLRef) (result uint8, packageType int, packageCreator int)
- func CFBundleGetTypeID() int
- func CFBundleGetValueForInfoDictionaryKey(bundle CFBundleRef, key CFStringRef) obj.Object
- func CFBundleGetVersionNumber(bundle CFBundleRef) int
- func CFBundleIsArchitectureLoadable(arch int) uint8
- func CFBundleIsExecutableLoadable(bundle CFBundleRef) uint8
- func CFBundleIsExecutableLoadableForURL(url CFURLRef) uint8
- func CFBundleIsExecutableLoaded(bundle CFBundleRef) uint8
- func CFBundleLoadExecutable(bundle CFBundleRef) uint8
- func CFBundleLoadExecutableAndReturnError(bundle CFBundleRef) error
- func CFBundleOpenBundleResourceFiles(bundle CFBundleRef) (result int, refNum int, localizedRefNum int)
- func CFBundleOpenBundleResourceMap(bundle CFBundleRef) int
- func CFBundlePreflightExecutable(bundle CFBundleRef) error
- func CFBundleUnloadExecutable(bundle CFBundleRef)
- func CFByteOrderGetCurrent() int
- func CFCalendarGetFirstWeekday(calendar CFCalendarRef) int
- func CFCalendarGetIdentifier(calendar CFCalendarRef) unsafe.Pointer
- func CFCalendarGetMinimumDaysInFirstWeek(calendar CFCalendarRef) int
- func CFCalendarGetOrdinalityOfUnit(calendar CFCalendarRef, smallerUnit CFCalendarUnit, biggerUnit CFCalendarUnit, ...) int
- func CFCalendarGetTimeRangeOfUnit(calendar CFCalendarRef, unit CFCalendarUnit, at float64) (result uint8, startp float64, tip float64)
- func CFCalendarGetTypeID() int
- func CFCalendarSetFirstWeekday(calendar CFCalendarRef, wkdy int)
- func CFCalendarSetLocale(calendar CFCalendarRef, locale CFLocaleRef)
- func CFCalendarSetMinimumDaysInFirstWeek(calendar CFCalendarRef, mwd int)
- func CFCalendarSetTimeZone(calendar CFCalendarRef, tz CFTimeZoneRef)
- func CFCharacterSetAddCharactersInRange(theSet CFMutableCharacterSetRef, theRange CFRange)
- func CFCharacterSetAddCharactersInString(theSet CFMutableCharacterSetRef, theString CFStringRef)
- func CFCharacterSetGetTypeID() int
- func CFCharacterSetHasMemberInPlane(theSet CFCharacterSetRef, thePlane int) uint8
- func CFCharacterSetIntersect(theSet CFMutableCharacterSetRef, theOtherSet CFCharacterSetRef)
- func CFCharacterSetInvert(theSet CFMutableCharacterSetRef)
- func CFCharacterSetIsCharacterMember(theSet CFCharacterSetRef, theChar uint16) uint8
- func CFCharacterSetIsLongCharacterMember(theSet CFCharacterSetRef, theChar int) uint8
- func CFCharacterSetIsSupersetOfSet(theSet CFCharacterSetRef, theOtherset CFCharacterSetRef) uint8
- func CFCharacterSetRemoveCharactersInRange(theSet CFMutableCharacterSetRef, theRange CFRange)
- func CFCharacterSetRemoveCharactersInString(theSet CFMutableCharacterSetRef, theString CFStringRef)
- func CFCharacterSetUnion(theSet CFMutableCharacterSetRef, theOtherSet CFCharacterSetRef)
- func CFConvertDoubleSwappedToHost(arg CFSwappedFloat64) float64
- func CFConvertFloat32SwappedToHost(arg CFSwappedFloat32) float32
- func CFConvertFloat64SwappedToHost(arg CFSwappedFloat64) float64
- func CFConvertFloatSwappedToHost(arg CFSwappedFloat32) float32
- func CFDataAppendBytes(theData CFMutableDataRef, data unsafe.Pointer, length int)
- func CFDataDeleteBytes(theData CFMutableDataRef, range_ CFRange)
- func CFDataGetBytePtr(theData CFDataRef) unsafe.Pointer
- func CFDataGetBytes(theData CFDataRef, range_ CFRange) (buffer uint8)
- func CFDataGetLength(theData CFDataRef) int
- func CFDataGetMutableBytePtr(theData CFMutableDataRef) unsafe.Pointer
- func CFDataGetTypeID() int
- func CFDataIncreaseLength(theData CFMutableDataRef, extraLength int)
- func CFDataReplaceBytes(theData CFMutableDataRef, range_ CFRange, newBytes unsafe.Pointer, ...)
- func CFDataSetLength(theData CFMutableDataRef, length int)
- func CFDateFormatterCopyProperty(formatter CFDateFormatterRef, key unsafe.Pointer) obj.Object
- func CFDateFormatterCreateDateFromString(allocator CFAllocatorRef, formatter CFDateFormatterRef, str CFStringRef) (result CFDateRef, rangep CFRange)
- func CFDateFormatterGetTypeID() int
- func CFDateFormatterSetFormat(formatter CFDateFormatterRef, formatString CFStringRef)
- func CFDateFormatterSetProperty(formatter CFDateFormatterRef, key CFStringRef, value obj.Object)
- func CFDateGetAbsoluteTime(theDate CFDateRef) float64
- func CFDateGetTimeIntervalSinceDate(theDate CFDateRef, otherDate CFDateRef) float64
- func CFDateGetTypeID() int
- func CFDictionaryAddValue(theDict CFMutableDictionaryRef, key unsafe.Pointer, value unsafe.Pointer)
- func CFDictionaryApplyFunction(theDict CFDictionaryRef, applier unsafe.Pointer, context_ unsafe.Pointer)
- func CFDictionaryContainsKey(theDict CFDictionaryRef, key unsafe.Pointer) uint8
- func CFDictionaryContainsValue(theDict CFDictionaryRef, value unsafe.Pointer) uint8
- func CFDictionaryGetCount(theDict CFDictionaryRef) int
- func CFDictionaryGetCountOfKey(theDict CFDictionaryRef, key unsafe.Pointer) int
- func CFDictionaryGetCountOfValue(theDict CFDictionaryRef, value unsafe.Pointer) int
- func CFDictionaryGetKeysAndValues(theDict CFDictionaryRef, keys unsafe.Pointer, values unsafe.Pointer)
- func CFDictionaryGetTypeID() int
- func CFDictionaryGetValue(theDict CFDictionaryRef, key unsafe.Pointer) unsafe.Pointer
- func CFDictionaryGetValueIfPresent(theDict CFDictionaryRef, key unsafe.Pointer, value unsafe.Pointer) uint8
- func CFDictionaryRemoveAllValues(theDict CFMutableDictionaryRef)
- func CFDictionaryRemoveValue(theDict CFMutableDictionaryRef, key unsafe.Pointer)
- func CFDictionaryReplaceValue(theDict CFMutableDictionaryRef, key unsafe.Pointer, value unsafe.Pointer)
- func CFDictionarySetValue(theDict CFMutableDictionaryRef, key unsafe.Pointer, value unsafe.Pointer)
- func CFEqual(cf1 obj.Object, cf2 obj.Object) uint8
- func CFErrorGetCode(err CFErrorRef) int
- func CFErrorGetDomain(err CFErrorRef) unsafe.Pointer
- func CFErrorGetTypeID() int
- func CFFileDescriptorDisableCallBacks(f CFFileDescriptorRef, callBackTypes int)
- func CFFileDescriptorEnableCallBacks(f CFFileDescriptorRef, callBackTypes int)
- func CFFileDescriptorGetContext(f CFFileDescriptorRef, context_ unsafe.Pointer)
- func CFFileDescriptorGetNativeDescriptor(f CFFileDescriptorRef) int
- func CFFileDescriptorGetTypeID() int
- func CFFileDescriptorInvalidate(f CFFileDescriptorRef)
- func CFFileDescriptorIsValid(f CFFileDescriptorRef) uint8
- func CFFileSecurityClearProperties(fileSec CFFileSecurityRef, clearPropertyMask CFFileSecurityClearOptions) uint8
- func CFFileSecurityCopyAccessControlList(fileSec CFFileSecurityRef, accessControlList unsafe.Pointer) uint8
- func CFFileSecurityCopyGroupUUID(fileSec CFFileSecurityRef, groupUUID unsafe.Pointer) uint8
- func CFFileSecurityCopyOwnerUUID(fileSec CFFileSecurityRef, ownerUUID unsafe.Pointer) uint8
- func CFFileSecurityGetGroup(fileSec CFFileSecurityRef) (result uint8, group int)
- func CFFileSecurityGetMode(fileSec CFFileSecurityRef) (result uint8, mode uint16)
- func CFFileSecurityGetOwner(fileSec CFFileSecurityRef) (result uint8, owner int)
- func CFFileSecurityGetTypeID() int
- func CFFileSecuritySetAccessControlList(fileSec CFFileSecurityRef, accessControlList unsafe.Pointer) uint8
- func CFFileSecuritySetGroup(fileSec CFFileSecurityRef, group int) uint8
- func CFFileSecuritySetGroupUUID(fileSec CFFileSecurityRef, groupUUID CFUUIDRef) uint8
- func CFFileSecuritySetMode(fileSec CFFileSecurityRef, mode uint16) uint8
- func CFFileSecuritySetOwner(fileSec CFFileSecurityRef, owner int) uint8
- func CFFileSecuritySetOwnerUUID(fileSec CFFileSecurityRef, ownerUUID CFUUIDRef) uint8
- func CFGetRetainCount(cf obj.Object) int
- func CFGetTypeID(cf obj.Object) int
- func CFGregorianDateGetAbsoluteTime(gdate CFGregorianDate, tz CFTimeZoneRef) float64
- func CFGregorianDateIsValid(gdate CFGregorianDate, unitFlags int) uint8
- func CFHash(cf obj.Object) int
- func CFLocaleCreateCanonicalLanguageIdentifierFromString(allocator CFAllocatorRef, localeIdentifier CFStringRef) unsafe.Pointer
- func CFLocaleCreateCanonicalLocaleIdentifierFromScriptManagerCodes(allocator CFAllocatorRef, lcode int16, rcode int16) unsafe.Pointer
- func CFLocaleCreateCanonicalLocaleIdentifierFromString(allocator CFAllocatorRef, localeIdentifier CFStringRef) unsafe.Pointer
- func CFLocaleCreateLocaleIdentifierFromComponents(allocator CFAllocatorRef, dictionary CFDictionaryRef) unsafe.Pointer
- func CFLocaleCreateLocaleIdentifierFromWindowsLocaleCode(allocator CFAllocatorRef, lcid uint32) unsafe.Pointer
- func CFLocaleGetIdentifier(locale CFLocaleRef) unsafe.Pointer
- func CFLocaleGetTypeID() int
- func CFLocaleGetValue(locale CFLocaleRef, key unsafe.Pointer) obj.Object
- func CFLocaleGetWindowsLocaleCodeFromLocaleIdentifier(localeIdentifier unsafe.Pointer) uint32
- func CFMachPortGetContext(port CFMachPortRef, context_ unsafe.Pointer)
- func CFMachPortGetInvalidationCallBack(port CFMachPortRef) unsafe.Pointer
- func CFMachPortGetPort(port CFMachPortRef) int
- func CFMachPortGetTypeID() int
- func CFMachPortInvalidate(port CFMachPortRef)
- func CFMachPortIsValid(port CFMachPortRef) uint8
- func CFMachPortSetInvalidationCallBack(port CFMachPortRef, callout unsafe.Pointer)
- func CFMakeCollectable(cf obj.Object) obj.Object
- func CFMessagePortGetContext(ms CFMessagePortRef, context_ unsafe.Pointer)
- func CFMessagePortGetInvalidationCallBack(ms CFMessagePortRef) unsafe.Pointer
- func CFMessagePortGetTypeID() int
- func CFMessagePortInvalidate(ms CFMessagePortRef)
- func CFMessagePortIsRemote(ms CFMessagePortRef) uint8
- func CFMessagePortIsValid(ms CFMessagePortRef) uint8
- func CFMessagePortSendRequest(remote CFMessagePortRef, msgid int, data CFDataRef, sendTimeout float64, ...) int
- func CFMessagePortSetDispatchQueue(ms CFMessagePortRef, queue dispatch.Queue)
- func CFMessagePortSetInvalidationCallBack(ms CFMessagePortRef, callout unsafe.Pointer)
- func CFMessagePortSetName(ms CFMessagePortRef, newName CFStringRef) uint8
- func CFNotificationCenterAddObserver(center CFNotificationCenterRef, observer unsafe.Pointer, ...)
- func CFNotificationCenterGetTypeID() int
- func CFNotificationCenterPostNotification(center CFNotificationCenterRef, name unsafe.Pointer, object unsafe.Pointer, ...)
- func CFNotificationCenterPostNotificationWithOptions(center CFNotificationCenterRef, name unsafe.Pointer, object unsafe.Pointer, ...)
- func CFNotificationCenterRemoveEveryObserver(center CFNotificationCenterRef, observer unsafe.Pointer)
- func CFNotificationCenterRemoveObserver(center CFNotificationCenterRef, observer unsafe.Pointer, name unsafe.Pointer, ...)
- func CFNullGetTypeID() int
- func CFNumberFormatterCopyProperty(formatter CFNumberFormatterRef, key unsafe.Pointer) obj.Object
- func CFNumberFormatterCreateNumberFromString(allocator CFAllocatorRef, formatter CFNumberFormatterRef, str CFStringRef, ...) (result CFNumberRef, rangep CFRange)
- func CFNumberFormatterGetDecimalInfoForCurrencyCode(currencyCode CFStringRef) (result uint8, defaultFractionDigits int32, roundingIncrement float64)
- func CFNumberFormatterGetTypeID() int
- func CFNumberFormatterSetFormat(formatter CFNumberFormatterRef, formatString CFStringRef)
- func CFNumberFormatterSetProperty(formatter CFNumberFormatterRef, key unsafe.Pointer, value obj.Object)
- func CFNumberGetByteSize(number CFNumberRef) int
- func CFNumberGetTypeID() int
- func CFNumberGetValue(number CFNumberRef, theType CFNumberType, valuePtr unsafe.Pointer) uint8
- func CFNumberIsFloatType(number CFNumberRef) uint8
- func CFPlugInAddInstanceForFactory(factoryID CFUUIDRef)
- func CFPlugInGetTypeID() int
- func CFPlugInInstanceCreate(allocator CFAllocatorRef, factoryUUID CFUUIDRef, typeUUID CFUUIDRef) unsafe.Pointer
- func CFPlugInInstanceGetInstanceData(instance CFPlugInInstanceRef) unsafe.Pointer
- func CFPlugInInstanceGetInterfaceFunctionTable(instance CFPlugInInstanceRef, interfaceName CFStringRef, ftbl unsafe.Pointer) uint8
- func CFPlugInInstanceGetTypeID() int
- func CFPlugInIsLoadOnDemand(plugIn CFPlugInRef) uint8
- func CFPlugInRegisterFactoryFunction(factoryUUID CFUUIDRef, func_ unsafe.Pointer) uint8
- func CFPlugInRegisterFactoryFunctionByName(factoryUUID CFUUIDRef, plugIn CFPlugInRef, functionName CFStringRef) uint8
- func CFPlugInRegisterPlugInType(factoryUUID CFUUIDRef, typeUUID CFUUIDRef) uint8
- func CFPlugInRemoveInstanceForFactory(factoryID CFUUIDRef)
- func CFPlugInSetLoadOnDemand(plugIn CFPlugInRef, flag uint8)
- func CFPlugInUnregisterFactory(factoryUUID CFUUIDRef) uint8
- func CFPlugInUnregisterPlugInType(factoryUUID CFUUIDRef, typeUUID CFUUIDRef) uint8
- func CFPreferencesAddSuitePreferencesToApp(applicationID CFStringRef, suiteID CFStringRef)
- func CFPreferencesAppSynchronize(applicationID CFStringRef) uint8
- func CFPreferencesAppValueIsForced(key CFStringRef, applicationID CFStringRef) uint8
- func CFPreferencesGetAppBooleanValue(key CFStringRef, applicationID CFStringRef) (result uint8, keyExistsAndHasValidFormat uint8)
- func CFPreferencesGetAppIntegerValue(key CFStringRef, applicationID CFStringRef) (result int, keyExistsAndHasValidFormat uint8)
- func CFPreferencesRemoveSuitePreferencesFromApp(applicationID CFStringRef, suiteID CFStringRef)
- func CFPreferencesSetAppValue(key CFStringRef, value CFPropertyListRef, applicationID CFStringRef)
- func CFPreferencesSetMultiple(keysToSet CFDictionaryRef, keysToRemove CFArrayRef, applicationID CFStringRef, ...)
- func CFPreferencesSetValue(key CFStringRef, value CFPropertyListRef, applicationID CFStringRef, ...)
- func CFPreferencesSynchronize(applicationID CFStringRef, userName CFStringRef, hostName CFStringRef) uint8
- func CFPropertyListCreateData(allocator CFAllocatorRef, propertyList CFPropertyListRef, ...) (obj.Object, error)
- func CFPropertyListCreateFromStream(allocator CFAllocatorRef, stream CFReadStreamRef, streamLength int, ...) (result CFPropertyListRef, format CFPropertyListFormat)
- func CFPropertyListCreateWithData(allocator CFAllocatorRef, data CFDataRef, options int, err unsafe.Pointer) (result CFPropertyListRef, format CFPropertyListFormat)
- func CFPropertyListCreateWithStream(allocator CFAllocatorRef, stream CFReadStreamRef, streamLength int, ...) (result CFPropertyListRef, format CFPropertyListFormat)
- func CFPropertyListIsValid(plist CFPropertyListRef, format CFPropertyListFormat) uint8
- func CFPropertyListWrite(propertyList CFPropertyListRef, stream CFWriteStreamRef, ...) (obj.Object, error)
- func CFPropertyListWriteToStream(propertyList CFPropertyListRef, stream CFWriteStreamRef, ...) int
- func CFReadStreamClose(stream CFReadStreamRef)
- func CFReadStreamCopyDispatchQueue(stream CFReadStreamRef) unsafe.Pointer
- func CFReadStreamCopyProperty(stream CFReadStreamRef, propertyName unsafe.Pointer) obj.Object
- func CFReadStreamGetBuffer(stream CFReadStreamRef, maxBytesToRead int) (result unsafe.Pointer, numBytesRead int)
- func CFReadStreamGetTypeID() int
- func CFReadStreamHasBytesAvailable(stream CFReadStreamRef) uint8
- func CFReadStreamOpen(stream CFReadStreamRef) uint8
- func CFReadStreamRead(stream CFReadStreamRef, bufferLength int) (result int, buffer uint8)
- func CFReadStreamScheduleWithRunLoop(stream CFReadStreamRef, runLoop CFRunLoopRef, runLoopMode unsafe.Pointer)
- func CFReadStreamSetClient(stream CFReadStreamRef, streamEvents int, clientCB unsafe.Pointer, ...) uint8
- func CFReadStreamSetDispatchQueue(stream CFReadStreamRef, q dispatch.Queue)
- func CFReadStreamSetProperty(stream CFReadStreamRef, propertyName unsafe.Pointer, propertyValue obj.Object) uint8
- func CFReadStreamUnscheduleFromRunLoop(stream CFReadStreamRef, runLoop CFRunLoopRef, runLoopMode unsafe.Pointer)
- func CFRelease(cf obj.Object)
- func CFRetain(cf obj.Object) obj.Object
- func CFRunLoopAddCommonMode(rl CFRunLoopRef, mode unsafe.Pointer)
- func CFRunLoopAddObserver(rl CFRunLoopRef, observer CFRunLoopObserverRef, mode unsafe.Pointer)
- func CFRunLoopAddSource(rl CFRunLoopRef, source CFRunLoopSourceRef, mode unsafe.Pointer)
- func CFRunLoopAddTimer(rl CFRunLoopRef, timer CFRunLoopTimerRef, mode unsafe.Pointer)
- func CFRunLoopContainsObserver(rl CFRunLoopRef, observer CFRunLoopObserverRef, mode unsafe.Pointer) uint8
- func CFRunLoopContainsSource(rl CFRunLoopRef, source CFRunLoopSourceRef, mode unsafe.Pointer) uint8
- func CFRunLoopContainsTimer(rl CFRunLoopRef, timer CFRunLoopTimerRef, mode unsafe.Pointer) uint8
- func CFRunLoopCopyCurrentMode(rl CFRunLoopRef) unsafe.Pointer
- func CFRunLoopGetNextTimerFireDate(rl CFRunLoopRef, mode unsafe.Pointer) float64
- func CFRunLoopGetTypeID() int
- func CFRunLoopIsWaiting(rl CFRunLoopRef) uint8
- func CFRunLoopObserverDoesRepeat(observer CFRunLoopObserverRef) uint8
- func CFRunLoopObserverGetActivities(observer CFRunLoopObserverRef) int
- func CFRunLoopObserverGetContext(observer CFRunLoopObserverRef, context_ unsafe.Pointer)
- func CFRunLoopObserverGetOrder(observer CFRunLoopObserverRef) int
- func CFRunLoopObserverGetTypeID() int
- func CFRunLoopObserverInvalidate(observer CFRunLoopObserverRef)
- func CFRunLoopObserverIsValid(observer CFRunLoopObserverRef) uint8
- func CFRunLoopPerformBlock(rl CFRunLoopRef, mode obj.Object, block func())
- func CFRunLoopRemoveObserver(rl CFRunLoopRef, observer CFRunLoopObserverRef, mode unsafe.Pointer)
- func CFRunLoopRemoveSource(rl CFRunLoopRef, source CFRunLoopSourceRef, mode unsafe.Pointer)
- func CFRunLoopRemoveTimer(rl CFRunLoopRef, timer CFRunLoopTimerRef, mode unsafe.Pointer)
- func CFRunLoopRun()
- func CFRunLoopSourceGetContext(source CFRunLoopSourceRef, context_ unsafe.Pointer)
- func CFRunLoopSourceGetOrder(source CFRunLoopSourceRef) int
- func CFRunLoopSourceGetTypeID() int
- func CFRunLoopSourceInvalidate(source CFRunLoopSourceRef)
- func CFRunLoopSourceIsValid(source CFRunLoopSourceRef) uint8
- func CFRunLoopSourceSignal(source CFRunLoopSourceRef)
- func CFRunLoopStop(rl CFRunLoopRef)
- func CFRunLoopTimerDoesRepeat(timer CFRunLoopTimerRef) uint8
- func CFRunLoopTimerGetContext(timer CFRunLoopTimerRef, context_ unsafe.Pointer)
- func CFRunLoopTimerGetInterval(timer CFRunLoopTimerRef) float64
- func CFRunLoopTimerGetNextFireDate(timer CFRunLoopTimerRef) float64
- func CFRunLoopTimerGetOrder(timer CFRunLoopTimerRef) int
- func CFRunLoopTimerGetTolerance(timer CFRunLoopTimerRef) float64
- func CFRunLoopTimerGetTypeID() int
- func CFRunLoopTimerInvalidate(timer CFRunLoopTimerRef)
- func CFRunLoopTimerIsValid(timer CFRunLoopTimerRef) uint8
- func CFRunLoopTimerSetNextFireDate(timer CFRunLoopTimerRef, fireDate float64)
- func CFRunLoopTimerSetTolerance(timer CFRunLoopTimerRef, tolerance float64)
- func CFRunLoopWakeUp(rl CFRunLoopRef)
- func CFSetAddValue(theSet CFMutableSetRef, value unsafe.Pointer)
- func CFSetApplyFunction(theSet CFSetRef, applier unsafe.Pointer, context_ unsafe.Pointer)
- func CFSetContainsValue(theSet CFSetRef, value unsafe.Pointer) uint8
- func CFSetGetCount(theSet CFSetRef) int
- func CFSetGetCountOfValue(theSet CFSetRef, value unsafe.Pointer) int
- func CFSetGetTypeID() int
- func CFSetGetValue(theSet CFSetRef, value unsafe.Pointer) unsafe.Pointer
- func CFSetGetValueIfPresent(theSet CFSetRef, candidate unsafe.Pointer, value unsafe.Pointer) uint8
- func CFSetGetValues(theSet CFSetRef, values unsafe.Pointer)
- func CFSetRemoveAllValues(theSet CFMutableSetRef)
- func CFSetRemoveValue(theSet CFMutableSetRef, value unsafe.Pointer)
- func CFSetReplaceValue(theSet CFMutableSetRef, value unsafe.Pointer)
- func CFSetSetValue(theSet CFMutableSetRef, value unsafe.Pointer)
- func CFShow(object obj.Object)
- func CFShowStr(str CFStringRef)
- func CFSocketDisableCallBacks(s CFSocketRef, callBackTypes int)
- func CFSocketEnableCallBacks(s CFSocketRef, callBackTypes int)
- func CFSocketGetContext(s CFSocketRef, context_ unsafe.Pointer)
- func CFSocketGetDefaultNameRegistryPortNumber() uint16
- func CFSocketGetNative(s CFSocketRef) int
- func CFSocketGetSocketFlags(s CFSocketRef) int
- func CFSocketGetTypeID() int
- func CFSocketInvalidate(s CFSocketRef)
- func CFSocketIsValid(s CFSocketRef) uint8
- func CFSocketSetDefaultNameRegistryPortNumber(port uint16)
- func CFSocketSetSocketFlags(s CFSocketRef, flags int)
- func CFStreamCreateBoundPair(alloc CFAllocatorRef, readStream unsafe.Pointer, writeStream unsafe.Pointer, ...)
- func CFStreamCreatePairWithPeerSocketSignature(alloc CFAllocatorRef, signature unsafe.Pointer, readStream unsafe.Pointer, ...)
- func CFStreamCreatePairWithSocket(alloc CFAllocatorRef, sock int, readStream unsafe.Pointer, ...)
- func CFStreamCreatePairWithSocketToHost(alloc CFAllocatorRef, host CFStringRef, port int, readStream unsafe.Pointer, ...)
- func CFStringAppend(theString CFMutableStringRef, appendedString CFStringRef)
- func CFStringAppendCString(theString CFMutableStringRef, cStr string, encoding int)
- func CFStringAppendCharacters(theString CFMutableStringRef, chars unsafe.Pointer, numChars int)
- func CFStringAppendFormat(theString CFMutableStringRef, formatOptions CFDictionaryRef, ...)
- func CFStringAppendFormatAndArguments(theString CFMutableStringRef, formatOptions CFDictionaryRef, ...)
- func CFStringAppendPascalString(theString CFMutableStringRef, encoding int) (pStr uint8)
- func CFStringCapitalize(theString CFMutableStringRef, locale CFLocaleRef)
- func CFStringConvertEncodingToNSStringEncoding(encoding int) int
- func CFStringConvertEncodingToWindowsCodepage(encoding int) int
- func CFStringConvertIANACharSetNameToEncoding(theString CFStringRef) int
- func CFStringConvertNSStringEncodingToEncoding(encoding int) int
- func CFStringConvertWindowsCodepageToEncoding(codepage int) int
- func CFStringCreateStringWithValidatedFormat(alloc CFAllocatorRef, formatOptions CFDictionaryRef, ...) (obj.Object, error)
- func CFStringCreateStringWithValidatedFormatAndArguments(alloc CFAllocatorRef, formatOptions CFDictionaryRef, ...) (obj.Object, error)
- func CFStringDelete(theString CFMutableStringRef, range_ CFRange)
- func CFStringFindAndReplace(theString CFMutableStringRef, stringToFind CFStringRef, ...) int
- func CFStringFold(theString CFMutableStringRef, theFlags CFStringCompareFlags, ...)
- func CFStringGetBytes(theString CFStringRef, range_ CFRange, encoding int, lossByte uint8, ...) (result int, buffer uint8, usedBufLen int)
- func CFStringGetCString(theString CFStringRef, buffer string, bufferSize int, encoding int) uint8
- func CFStringGetCStringPtr(theString CFStringRef, encoding int) string
- func CFStringGetCharacterAtIndex(theString CFStringRef, idx int) uint16
- func CFStringGetCharacterFromInlineBuffer(buf unsafe.Pointer, idx int) uint16
- func CFStringGetCharacters(theString CFStringRef, range_ CFRange) (buffer uint16)
- func CFStringGetCharactersPtr(theString CFStringRef) unsafe.Pointer
- func CFStringGetDoubleValue(str CFStringRef) float64
- func CFStringGetFastestEncoding(theString CFStringRef) int
- func CFStringGetFileSystemRepresentation(str CFStringRef, buffer string, maxBufLen int) uint8
- func CFStringGetHyphenationLocationBeforeIndex(str CFStringRef, location int, limitRange CFRange, options int, ...) (result int, character int)
- func CFStringGetIntValue(str CFStringRef) int
- func CFStringGetLength(theString CFStringRef) int
- func CFStringGetLineBounds(theString CFStringRef, range_ CFRange) (lineBeginIndex int, lineEndIndex int, contentsEndIndex int)
- func CFStringGetListOfAvailableEncodings() unsafe.Pointer
- func CFStringGetLongCharacterForSurrogatePair(surrogateHigh uint16, surrogateLow uint16) int
- func CFStringGetMaximumSizeForEncoding(length int, encoding int) int
- func CFStringGetMaximumSizeOfFileSystemRepresentation(str CFStringRef) int
- func CFStringGetMostCompatibleMacStringEncoding(encoding int) int
- func CFStringGetParagraphBounds(str CFStringRef, range_ CFRange) (parBeginIndex int, parEndIndex int, contentsEndIndex int)
- func CFStringGetPascalString(theString CFStringRef, bufferSize int, encoding int) (result uint8, buffer uint8)
- func CFStringGetPascalStringPtr(theString CFStringRef, encoding int) unsafe.Pointer
- func CFStringGetSmallestEncoding(theString CFStringRef) int
- func CFStringGetSurrogatePairForLongCharacter(character int) (result uint8, surrogates uint16)
- func CFStringGetSystemEncoding() int
- func CFStringGetTypeID() int
- func CFStringHasPrefix(theString CFStringRef, prefix CFStringRef) uint8
- func CFStringHasSuffix(theString CFStringRef, suffix CFStringRef) uint8
- func CFStringInitInlineBuffer(str CFStringRef, buf unsafe.Pointer, range_ CFRange)
- func CFStringInsert(str CFMutableStringRef, idx int, insertedStr CFStringRef)
- func CFStringIsEncodingAvailable(encoding int) uint8
- func CFStringIsHyphenationAvailableForLocale(locale CFLocaleRef) uint8
- func CFStringIsSurrogateHighCharacter(character uint16) uint8
- func CFStringIsSurrogateLowCharacter(character uint16) uint8
- func CFStringLowercase(theString CFMutableStringRef, locale CFLocaleRef)
- func CFStringNormalize(theString CFMutableStringRef, theForm CFStringNormalizationForm)
- func CFStringPad(theString CFMutableStringRef, padString CFStringRef, length int, ...)
- func CFStringReplace(theString CFMutableStringRef, range_ CFRange, replacement CFStringRef)
- func CFStringReplaceAll(theString CFMutableStringRef, replacement CFStringRef)
- func CFStringSetExternalCharactersNoCopy(theString CFMutableStringRef, chars unsafe.Pointer, length int, capacity int)
- func CFStringTokenizerCopyCurrentTokenAttribute(tokenizer CFStringTokenizerRef, attribute int) obj.Object
- func CFStringTokenizerGetTypeID() int
- func CFStringTokenizerSetString(tokenizer CFStringTokenizerRef, str CFStringRef, range_ CFRange)
- func CFStringTrim(theString CFMutableStringRef, trimString CFStringRef)
- func CFStringTrimWhitespace(theString CFMutableStringRef)
- func CFStringUppercase(theString CFMutableStringRef, locale CFLocaleRef)
- func CFSwapInt16(arg uint16) uint16
- func CFSwapInt16BigToHost(arg uint16) uint16
- func CFSwapInt16HostToBig(arg uint16) uint16
- func CFSwapInt16HostToLittle(arg uint16) uint16
- func CFSwapInt16LittleToHost(arg uint16) uint16
- func CFSwapInt32(arg uint32) uint32
- func CFSwapInt32BigToHost(arg uint32) uint32
- func CFSwapInt32HostToBig(arg uint32) uint32
- func CFSwapInt32HostToLittle(arg uint32) uint32
- func CFSwapInt32LittleToHost(arg uint32) uint32
- func CFSwapInt64(arg uint64) uint64
- func CFSwapInt64BigToHost(arg uint64) uint64
- func CFSwapInt64HostToBig(arg uint64) uint64
- func CFSwapInt64HostToLittle(arg uint64) uint64
- func CFSwapInt64LittleToHost(arg uint64) uint64
- func CFTimeZoneGetDaylightSavingTimeOffset(tz CFTimeZoneRef, at float64) float64
- func CFTimeZoneGetNextDaylightSavingTimeTransition(tz CFTimeZoneRef, at float64) float64
- func CFTimeZoneGetSecondsFromGMT(tz CFTimeZoneRef, at float64) float64
- func CFTimeZoneGetTypeID() int
- func CFTimeZoneIsDaylightSavingTime(tz CFTimeZoneRef, at float64) uint8
- func CFTimeZoneResetSystem()
- func CFTimeZoneSetAbbreviationDictionary(dict CFDictionaryRef)
- func CFTimeZoneSetDefault(tz CFTimeZoneRef)
- func CFTreeAppendChild(tree CFTreeRef, newChild CFTreeRef)
- func CFTreeApplyFunctionToChildren(tree CFTreeRef, applier unsafe.Pointer, context_ unsafe.Pointer)
- func CFTreeGetChildCount(tree CFTreeRef) int
- func CFTreeGetChildren(tree CFTreeRef, children unsafe.Pointer)
- func CFTreeGetContext(tree CFTreeRef, context_ unsafe.Pointer)
- func CFTreeGetTypeID() int
- func CFTreeInsertSibling(tree CFTreeRef, newSibling CFTreeRef)
- func CFTreePrependChild(tree CFTreeRef, newChild CFTreeRef)
- func CFTreeRemove(tree CFTreeRef)
- func CFTreeRemoveAllChildren(tree CFTreeRef)
- func CFTreeSetContext(tree CFTreeRef, context_ unsafe.Pointer)
- func CFTreeSortChildren(tree CFTreeRef, comparator unsafe.Pointer, context_ unsafe.Pointer)
- func CFURLCanBeDecomposed(anURL CFURLRef) uint8
- func CFURLClearResourcePropertyCache(url CFURLRef)
- func CFURLClearResourcePropertyCacheForKey(url CFURLRef, key CFStringRef)
- func CFURLCopyResourcePropertiesForKeys(url CFURLRef, keys CFArrayRef) (obj.Object, error)
- func CFURLCopyResourcePropertyForKey(url CFURLRef, key CFStringRef, propertyValueTypeRefPtr unsafe.Pointer) error
- func CFURLCreateBookmarkData(allocator CFAllocatorRef, url CFURLRef, options CFURLBookmarkCreationOptions, ...) (obj.Object, error)
- func CFURLCreateBookmarkDataFromFile(allocator CFAllocatorRef, fileURL CFURLRef) (obj.Object, error)
- func CFURLCreateDataAndPropertiesFromResource(alloc CFAllocatorRef, url CFURLRef, resourceData unsafe.Pointer, ...) (result uint8, errorCode int)
- func CFURLCreateFilePathURL(allocator CFAllocatorRef, url CFURLRef) (obj.Object, error)
- func CFURLCreateFileReferenceURL(allocator CFAllocatorRef, url CFURLRef) (obj.Object, error)
- func CFURLCreatePropertyFromResource(alloc CFAllocatorRef, url CFURLRef, property CFStringRef) (result obj.Object, errorCode int)
- func CFURLCreateResourcePropertyForKeyFromBookmarkData(allocator CFAllocatorRef, resourcePropertyKey CFStringRef, bookmark CFDataRef) obj.Object
- func CFURLDestroyResource(url CFURLRef) (result uint8, errorCode int)
- func CFURLEnumeratorGetDescendentLevel(enumerator CFURLEnumeratorRef) int
- func CFURLEnumeratorGetNextURL(enumerator CFURLEnumeratorRef, url unsafe.Pointer) (obj.Object, error)
- func CFURLEnumeratorGetSourceDidChange(enumerator CFURLEnumeratorRef) uint8
- func CFURLEnumeratorGetTypeID() int
- func CFURLEnumeratorSkipDescendents(enumerator CFURLEnumeratorRef)
- func CFURLGetByteRangeForComponent(url CFURLRef, component CFURLComponentType) (result CFRange, rangeIncludingSeparators CFRange)
- func CFURLGetBytes(url CFURLRef, bufferLength int) (result int, buffer uint8)
- func CFURLGetFSRef(url CFURLRef, fsRef obj.Object) uint8
- func CFURLGetFileSystemRepresentation(url CFURLRef, resolveAgainstBase uint8, maxBufLen int) (result uint8, buffer uint8)
- func CFURLGetPortNumber(anURL CFURLRef) int
- func CFURLGetTypeID() int
- func CFURLHasDirectoryPath(anURL CFURLRef) uint8
- func CFURLIsFileReferenceURL(url CFURLRef) uint8
- func CFURLResourceIsReachable(url CFURLRef) error
- func CFURLSetResourcePropertiesForKeys(url CFURLRef, keyedPropertyValues CFDictionaryRef) error
- func CFURLSetResourcePropertyForKey(url CFURLRef, key CFStringRef, propertyValue obj.Object) error
- func CFURLSetTemporaryResourcePropertyForKey(url CFURLRef, key CFStringRef, propertyValue obj.Object)
- func CFURLStartAccessingSecurityScopedResource(url CFURLRef) uint8
- func CFURLStopAccessingSecurityScopedResource(url CFURLRef)
- func CFURLWriteBookmarkDataToFile(bookmarkRef CFDataRef, fileURL CFURLRef, options int) error
- func CFURLWriteDataAndPropertiesToResource(url CFURLRef, dataToWrite CFDataRef, propertiesToWrite CFDictionaryRef) (result uint8, errorCode int)
- func CFUUIDGetTypeID() int
- func CFUserNotificationCancel(userNotification CFUserNotificationRef) int
- func CFUserNotificationCheckBoxChecked(i int) int
- func CFUserNotificationDisplayAlert(timeout float64, flags int, iconURL CFURLRef, soundURL CFURLRef, ...) (result int, responseFlags int)
- func CFUserNotificationDisplayNotice(timeout float64, flags int, iconURL CFURLRef, soundURL CFURLRef, ...) int
- func CFUserNotificationGetTypeID() int
- func CFUserNotificationPopUpSelection(n int) int
- func CFUserNotificationReceiveResponse(userNotification CFUserNotificationRef, timeout float64) (result int, responseFlags int)
- func CFUserNotificationSecureTextField(i int) int
- func CFUserNotificationUpdate(userNotification CFUserNotificationRef, timeout float64, flags int, ...) int
- func CFWriteStreamCanAcceptBytes(stream CFWriteStreamRef) uint8
- func CFWriteStreamClose(stream CFWriteStreamRef)
- func CFWriteStreamCopyDispatchQueue(stream CFWriteStreamRef) unsafe.Pointer
- func CFWriteStreamCopyProperty(stream CFWriteStreamRef, propertyName unsafe.Pointer) obj.Object
- func CFWriteStreamGetTypeID() int
- func CFWriteStreamOpen(stream CFWriteStreamRef) uint8
- func CFWriteStreamScheduleWithRunLoop(stream CFWriteStreamRef, runLoop CFRunLoopRef, runLoopMode unsafe.Pointer)
- func CFWriteStreamSetClient(stream CFWriteStreamRef, streamEvents int, clientCB unsafe.Pointer, ...) uint8
- func CFWriteStreamSetDispatchQueue(stream CFWriteStreamRef, q dispatch.Queue)
- func CFWriteStreamSetProperty(stream CFWriteStreamRef, propertyName unsafe.Pointer, propertyValue obj.Object) uint8
- func CFWriteStreamUnscheduleFromRunLoop(stream CFWriteStreamRef, runLoop CFRunLoopRef, runLoopMode unsafe.Pointer)
- func CFWriteStreamWrite(stream CFWriteStreamRef, buffer unsafe.Pointer, bufferLength int) int
- func CFXMLNodeGetInfoPtr(node CFXMLNodeRef) unsafe.Pointer
- func CFXMLNodeGetTypeID() int
- func CFXMLNodeGetVersion(node CFXMLNodeRef) int
- func CFXMLParserAbort(parser CFXMLParserRef, errorCode CFXMLParserStatusCode, ...)
- func CFXMLParserGetCallBacks(parser CFXMLParserRef, callBacks unsafe.Pointer)
- func CFXMLParserGetContext(parser CFXMLParserRef, context_ unsafe.Pointer)
- func CFXMLParserGetDocument(parser CFXMLParserRef) unsafe.Pointer
- func CFXMLParserGetLineNumber(parser CFXMLParserRef) int
- func CFXMLParserGetLocation(parser CFXMLParserRef) int
- func CFXMLParserGetTypeID() int
- func CFXMLParserParse(parser CFXMLParserRef) uint8
- func KCFAbsoluteTimeIntervalSince1904() float64
- func KCFAbsoluteTimeIntervalSince1970() float64
- func KCFAllocatorDefault() obj.Object
- func KCFAllocatorMalloc() obj.Object
- func KCFAllocatorMallocZone() obj.Object
- func KCFAllocatorNull() obj.Object
- func KCFAllocatorSystemDefault() obj.Object
- func KCFAllocatorUseContext() obj.Object
- func KCFBanglaCalendar() uintptr
- func KCFBooleanFalse() obj.Object
- func KCFBooleanTrue() obj.Object
- func KCFBuddhistCalendar() uintptr
- func KCFBundleDevelopmentRegionKey() obj.Object
- func KCFBundleExecutableKey() obj.Object
- func KCFBundleIdentifierKey() obj.Object
- func KCFBundleInfoDictionaryVersionKey() obj.Object
- func KCFBundleLocalizationsKey() obj.Object
- func KCFBundleNameKey() obj.Object
- func KCFBundleVersionKey() obj.Object
- func KCFChineseCalendar() uintptr
- func KCFCopyStringBagCallBacks() uintptr
- func KCFCopyStringDictionaryKeyCallBacks() uintptr
- func KCFCopyStringSetCallBacks() uintptr
- func KCFCoreFoundationVersionNumber() float64
- func KCFDangiCalendar() uintptr
- func KCFDateFormatterAMSymbol() uintptr
- func KCFDateFormatterCalendar() uintptr
- func KCFDateFormatterCalendarName() uintptr
- func KCFDateFormatterDefaultDate() uintptr
- func KCFDateFormatterDefaultFormat() uintptr
- func KCFDateFormatterDoesRelativeDateFormattingKey() uintptr
- func KCFDateFormatterEraSymbols() uintptr
- func KCFDateFormatterGregorianStartDate() uintptr
- func KCFDateFormatterIsLenient() uintptr
- func KCFDateFormatterLongEraSymbols() uintptr
- func KCFDateFormatterMonthSymbols() uintptr
- func KCFDateFormatterPMSymbol() uintptr
- func KCFDateFormatterQuarterSymbols() uintptr
- func KCFDateFormatterShortMonthSymbols() uintptr
- func KCFDateFormatterShortQuarterSymbols() uintptr
- func KCFDateFormatterShortStandaloneMonthSymbols() uintptr
- func KCFDateFormatterShortStandaloneQuarterSymbols() uintptr
- func KCFDateFormatterShortStandaloneWeekdaySymbols() uintptr
- func KCFDateFormatterShortWeekdaySymbols() uintptr
- func KCFDateFormatterStandaloneMonthSymbols() uintptr
- func KCFDateFormatterStandaloneQuarterSymbols() uintptr
- func KCFDateFormatterStandaloneWeekdaySymbols() uintptr
- func KCFDateFormatterTimeZone() uintptr
- func KCFDateFormatterTwoDigitStartDate() uintptr
- func KCFDateFormatterVeryShortMonthSymbols() uintptr
- func KCFDateFormatterVeryShortStandaloneMonthSymbols() uintptr
- func KCFDateFormatterVeryShortStandaloneWeekdaySymbols() uintptr
- func KCFDateFormatterVeryShortWeekdaySymbols() uintptr
- func KCFDateFormatterWeekdaySymbols() uintptr
- func KCFErrorDescriptionKey() obj.Object
- func KCFErrorDomainCocoa() uintptr
- func KCFErrorDomainMach() uintptr
- func KCFErrorDomainOSStatus() uintptr
- func KCFErrorDomainPOSIX() uintptr
- func KCFErrorFilePathKey() obj.Object
- func KCFErrorLocalizedDescriptionKey() obj.Object
- func KCFErrorLocalizedFailureKey() obj.Object
- func KCFErrorLocalizedFailureReasonKey() obj.Object
- func KCFErrorLocalizedRecoverySuggestionKey() obj.Object
- func KCFErrorURLKey() obj.Object
- func KCFErrorUnderlyingErrorKey() obj.Object
- func KCFGregorianCalendar() uintptr
- func KCFGujaratiCalendar() uintptr
- func KCFHebrewCalendar() uintptr
- func KCFISO8601Calendar() uintptr
- func KCFIndianCalendar() uintptr
- func KCFIslamicCalendar() uintptr
- func KCFIslamicCivilCalendar() uintptr
- func KCFIslamicTabularCalendar() uintptr
- func KCFIslamicUmmAlQuraCalendar() uintptr
- func KCFJapaneseCalendar() uintptr
- func KCFKannadaCalendar() uintptr
- func KCFLocaleAlternateQuotationBeginDelimiterKey() uintptr
- func KCFLocaleAlternateQuotationEndDelimiterKey() uintptr
- func KCFLocaleCalendar() uintptr
- func KCFLocaleCalendarIdentifier() uintptr
- func KCFLocaleCollationIdentifier() uintptr
- func KCFLocaleCollatorIdentifier() uintptr
- func KCFLocaleCountryCode() uintptr
- func KCFLocaleCurrencyCode() uintptr
- func KCFLocaleCurrencySymbol() uintptr
- func KCFLocaleCurrentLocaleDidChangeNotification() uintptr
- func KCFLocaleDecimalSeparator() uintptr
- func KCFLocaleExemplarCharacterSet() uintptr
- func KCFLocaleGroupingSeparator() uintptr
- func KCFLocaleIdentifier() uintptr
- func KCFLocaleLanguageCode() uintptr
- func KCFLocaleMeasurementSystem() uintptr
- func KCFLocaleQuotationBeginDelimiterKey() uintptr
- func KCFLocaleQuotationEndDelimiterKey() uintptr
- func KCFLocaleScriptCode() uintptr
- func KCFLocaleUsesMetricSystem() uintptr
- func KCFLocaleVariantCode() uintptr
- func KCFMalayalamCalendar() uintptr
- func KCFMarathiCalendar() uintptr
- func KCFNull() obj.Object
- func KCFNumberFormatterAlwaysShowDecimalSeparator() uintptr
- func KCFNumberFormatterCurrencyCode() uintptr
- func KCFNumberFormatterCurrencyDecimalSeparator() uintptr
- func KCFNumberFormatterCurrencyGroupingSeparator() uintptr
- func KCFNumberFormatterCurrencySymbol() uintptr
- func KCFNumberFormatterDecimalSeparator() uintptr
- func KCFNumberFormatterDefaultFormat() uintptr
- func KCFNumberFormatterExponentSymbol() uintptr
- func KCFNumberFormatterFormatWidth() uintptr
- func KCFNumberFormatterGroupingSeparator() uintptr
- func KCFNumberFormatterGroupingSize() uintptr
- func KCFNumberFormatterInfinitySymbol() uintptr
- func KCFNumberFormatterInternationalCurrencySymbol() uintptr
- func KCFNumberFormatterIsLenient() uintptr
- func KCFNumberFormatterMaxFractionDigits() uintptr
- func KCFNumberFormatterMaxIntegerDigits() uintptr
- func KCFNumberFormatterMaxSignificantDigits() uintptr
- func KCFNumberFormatterMinFractionDigits() uintptr
- func KCFNumberFormatterMinGroupingDigits() uintptr
- func KCFNumberFormatterMinIntegerDigits() uintptr
- func KCFNumberFormatterMinSignificantDigits() uintptr
- func KCFNumberFormatterMinusSign() uintptr
- func KCFNumberFormatterMultiplier() uintptr
- func KCFNumberFormatterNaNSymbol() uintptr
- func KCFNumberFormatterNegativePrefix() uintptr
- func KCFNumberFormatterNegativeSuffix() uintptr
- func KCFNumberFormatterPaddingCharacter() uintptr
- func KCFNumberFormatterPaddingPosition() uintptr
- func KCFNumberFormatterPerMillSymbol() uintptr
- func KCFNumberFormatterPercentSymbol() uintptr
- func KCFNumberFormatterPlusSign() uintptr
- func KCFNumberFormatterPositivePrefix() uintptr
- func KCFNumberFormatterPositiveSuffix() uintptr
- func KCFNumberFormatterRoundingIncrement() uintptr
- func KCFNumberFormatterRoundingMode() uintptr
- func KCFNumberFormatterSecondaryGroupingSize() uintptr
- func KCFNumberFormatterUseGroupingSeparator() uintptr
- func KCFNumberFormatterUseSignificantDigits() uintptr
- func KCFNumberFormatterZeroSymbol() uintptr
- func KCFNumberNaN() obj.Object
- func KCFNumberNegativeInfinity() obj.Object
- func KCFNumberPositiveInfinity() obj.Object
- func KCFOdiaCalendar() uintptr
- func KCFPersianCalendar() uintptr
- func KCFPlugInDynamicRegisterFunctionKey() obj.Object
- func KCFPlugInDynamicRegistrationKey() obj.Object
- func KCFPlugInFactoriesKey() obj.Object
- func KCFPlugInTypesKey() obj.Object
- func KCFPlugInUnloadFunctionKey() obj.Object
- func KCFPreferencesAnyApplication() obj.Object
- func KCFPreferencesAnyHost() obj.Object
- func KCFPreferencesAnyUser() obj.Object
- func KCFPreferencesCurrentApplication() obj.Object
- func KCFPreferencesCurrentHost() obj.Object
- func KCFPreferencesCurrentUser() obj.Object
- func KCFRepublicOfChinaCalendar() uintptr
- func KCFRunLoopCommonModes() uintptr
- func KCFRunLoopDefaultMode() uintptr
- func KCFSocketCommandKey() obj.Object
- func KCFSocketErrorKey() obj.Object
- func KCFSocketNameKey() obj.Object
- func KCFSocketRegisterCommand() obj.Object
- func KCFSocketResultKey() obj.Object
- func KCFSocketRetrieveCommand() obj.Object
- func KCFSocketValueKey() obj.Object
- func KCFStreamErrorDomainSOCKS() uintptr
- func KCFStreamErrorDomainSSL() uintptr
- func KCFStreamPropertyAppendToFile() uintptr
- func KCFStreamPropertyDataWritten() uintptr
- func KCFStreamPropertyFileCurrentOffset() uintptr
- func KCFStreamPropertySOCKSPassword() obj.Object
- func KCFStreamPropertySOCKSProxy() obj.Object
- func KCFStreamPropertySOCKSProxyHost() obj.Object
- func KCFStreamPropertySOCKSProxyPort() obj.Object
- func KCFStreamPropertySOCKSUser() obj.Object
- func KCFStreamPropertySOCKSVersion() obj.Object
- func KCFStreamPropertyShouldCloseNativeSocket() obj.Object
- func KCFStreamPropertySocketNativeHandle() uintptr
- func KCFStreamPropertySocketRemoteHostName() uintptr
- func KCFStreamPropertySocketRemotePortNumber() uintptr
- func KCFStreamPropertySocketSecurityLevel() obj.Object
- func KCFStreamSocketSOCKSVersion4() obj.Object
- func KCFStreamSocketSOCKSVersion5() obj.Object
- func KCFStreamSocketSecurityLevelNegotiatedSSL() obj.Object
- func KCFStreamSocketSecurityLevelNone() obj.Object
- func KCFStreamSocketSecurityLevelSSLv2() obj.Object
- func KCFStreamSocketSecurityLevelSSLv3() obj.Object
- func KCFStreamSocketSecurityLevelTLSv1() obj.Object
- func KCFStringBinaryHeapCallBacks() uintptr
- func KCFStringTransformFullwidthHalfwidth() obj.Object
- func KCFStringTransformHiraganaKatakana() obj.Object
- func KCFStringTransformLatinArabic() obj.Object
- func KCFStringTransformLatinCyrillic() obj.Object
- func KCFStringTransformLatinGreek() obj.Object
- func KCFStringTransformLatinHangul() obj.Object
- func KCFStringTransformLatinHebrew() obj.Object
- func KCFStringTransformLatinHiragana() obj.Object
- func KCFStringTransformLatinKatakana() obj.Object
- func KCFStringTransformLatinThai() obj.Object
- func KCFStringTransformMandarinLatin() obj.Object
- func KCFStringTransformStripCombiningMarks() obj.Object
- func KCFStringTransformStripDiacritics() obj.Object
- func KCFStringTransformToLatin() obj.Object
- func KCFStringTransformToUnicodeName() obj.Object
- func KCFStringTransformToXMLHex() obj.Object
- func KCFTamilCalendar() uintptr
- func KCFTeluguCalendar() uintptr
- func KCFTimeZoneSystemTimeZoneDidChangeNotification() uintptr
- func KCFTypeArrayCallBacks() uintptr
- func KCFTypeBagCallBacks() uintptr
- func KCFTypeDictionaryKeyCallBacks() uintptr
- func KCFTypeDictionaryValueCallBacks() uintptr
- func KCFTypeSetCallBacks() uintptr
- func KCFURLAddedToDirectoryDateKey() obj.Object
- func KCFURLApplicationIsScriptableKey() obj.Object
- func KCFURLAttributeModificationDateKey() obj.Object
- func KCFURLCanonicalPathKey() obj.Object
- func KCFURLContentAccessDateKey() obj.Object
- func KCFURLContentModificationDateKey() obj.Object
- func KCFURLCreationDateKey() obj.Object
- func KCFURLCustomIconKey() obj.Object
- func KCFURLDirectoryEntryCountKey() obj.Object
- func KCFURLDocumentIdentifierKey() obj.Object
- func KCFURLEffectiveIconKey() obj.Object
- func KCFURLFileAllocatedSizeKey() obj.Object
- func KCFURLFileContentIdentifierKey() obj.Object
- func KCFURLFileDirectoryContents() obj.Object
- func KCFURLFileExists() obj.Object
- func KCFURLFileIdentifierKey() obj.Object
- func KCFURLFileLastModificationTime() obj.Object
- func KCFURLFileLength() obj.Object
- func KCFURLFileOwnerID() obj.Object
- func KCFURLFilePOSIXMode() obj.Object
- func KCFURLFileResourceIdentifierKey() obj.Object
- func KCFURLFileResourceTypeBlockSpecial() obj.Object
- func KCFURLFileResourceTypeCharacterSpecial() obj.Object
- func KCFURLFileResourceTypeDirectory() obj.Object
- func KCFURLFileResourceTypeKey() obj.Object
- func KCFURLFileResourceTypeNamedPipe() obj.Object
- func KCFURLFileResourceTypeRegular() obj.Object
- func KCFURLFileResourceTypeSocket() obj.Object
- func KCFURLFileResourceTypeSymbolicLink() obj.Object
- func KCFURLFileResourceTypeUnknown() obj.Object
- func KCFURLFileSecurityKey() obj.Object
- func KCFURLFileSizeKey() obj.Object
- func KCFURLGenerationIdentifierKey() obj.Object
- func KCFURLHTTPStatusCode() obj.Object
- func KCFURLHTTPStatusLine() obj.Object
- func KCFURLHasHiddenExtensionKey() obj.Object
- func KCFURLIsAliasFileKey() obj.Object
- func KCFURLIsApplicationKey() obj.Object
- func KCFURLIsDirectoryKey() obj.Object
- func KCFURLIsExcludedFromBackupKey() obj.Object
- func KCFURLIsExecutableKey() obj.Object
- func KCFURLIsHiddenKey() obj.Object
- func KCFURLIsMountTriggerKey() obj.Object
- func KCFURLIsPackageKey() obj.Object
- func KCFURLIsPurgeableKey() obj.Object
- func KCFURLIsReadableKey() obj.Object
- func KCFURLIsRegularFileKey() obj.Object
- func KCFURLIsSparseKey() obj.Object
- func KCFURLIsSymbolicLinkKey() obj.Object
- func KCFURLIsSystemImmutableKey() obj.Object
- func KCFURLIsUbiquitousItemKey() obj.Object
- func KCFURLIsUserImmutableKey() obj.Object
- func KCFURLIsVolumeKey() obj.Object
- func KCFURLIsWritableKey() obj.Object
- func KCFURLKeysOfUnsetValuesKey() obj.Object
- func KCFURLLabelColorKey() obj.Object
- func KCFURLLabelNumberKey() obj.Object
- func KCFURLLinkCountKey() obj.Object
- func KCFURLLocalizedLabelKey() obj.Object
- func KCFURLLocalizedNameKey() obj.Object
- func KCFURLLocalizedTypeDescriptionKey() obj.Object
- func KCFURLMayHaveExtendedAttributesKey() obj.Object
- func KCFURLMayShareFileContentKey() obj.Object
- func KCFURLNameKey() obj.Object
- func KCFURLParentDirectoryURLKey() obj.Object
- func KCFURLPathKey() obj.Object
- func KCFURLPreferredIOBlockSizeKey() obj.Object
- func KCFURLQuarantinePropertiesKey() obj.Object
- func KCFURLTagNamesKey() obj.Object
- func KCFURLTotalFileAllocatedSizeKey() obj.Object
- func KCFURLTotalFileSizeKey() obj.Object
- func KCFURLTypeIdentifierKey() obj.Object
- func KCFURLUbiquitousItemDownloadingErrorKey() obj.Object
- func KCFURLUbiquitousItemDownloadingStatusCurrent() obj.Object
- func KCFURLUbiquitousItemDownloadingStatusDownloaded() obj.Object
- func KCFURLUbiquitousItemDownloadingStatusKey() obj.Object
- func KCFURLUbiquitousItemDownloadingStatusNotDownloaded() obj.Object
- func KCFURLUbiquitousItemHasUnresolvedConflictsKey() obj.Object
- func KCFURLUbiquitousItemIsDownloadedKey() obj.Object
- func KCFURLUbiquitousItemIsDownloadingKey() obj.Object
- func KCFURLUbiquitousItemIsExcludedFromSyncKey() obj.Object
- func KCFURLUbiquitousItemIsSyncPausedKey() obj.Object
- func KCFURLUbiquitousItemIsUploadedKey() obj.Object
- func KCFURLUbiquitousItemIsUploadingKey() obj.Object
- func KCFURLUbiquitousItemPercentDownloadedKey() obj.Object
- func KCFURLUbiquitousItemPercentUploadedKey() obj.Object
- func KCFURLUbiquitousItemSupportedSyncControlsKey() obj.Object
- func KCFURLUbiquitousItemUploadingErrorKey() obj.Object
- func KCFURLVolumeAvailableCapacityForImportantUsageKey() obj.Object
- func KCFURLVolumeAvailableCapacityForOpportunisticUsageKey() obj.Object
- func KCFURLVolumeAvailableCapacityKey() obj.Object
- func KCFURLVolumeCreationDateKey() obj.Object
- func KCFURLVolumeIdentifierKey() obj.Object
- func KCFURLVolumeIsAutomountedKey() obj.Object
- func KCFURLVolumeIsBrowsableKey() obj.Object
- func KCFURLVolumeIsEjectableKey() obj.Object
- func KCFURLVolumeIsEncryptedKey() obj.Object
- func KCFURLVolumeIsInternalKey() obj.Object
- func KCFURLVolumeIsJournalingKey() obj.Object
- func KCFURLVolumeIsLocalKey() obj.Object
- func KCFURLVolumeIsReadOnlyKey() obj.Object
- func KCFURLVolumeIsRemovableKey() obj.Object
- func KCFURLVolumeIsRootFileSystemKey() obj.Object
- func KCFURLVolumeLocalizedFormatDescriptionKey() obj.Object
- func KCFURLVolumeLocalizedNameKey() obj.Object
- func KCFURLVolumeMaximumFileSizeKey() obj.Object
- func KCFURLVolumeMountFromLocationKey() obj.Object
- func KCFURLVolumeNameKey() obj.Object
- func KCFURLVolumeResourceCountKey() obj.Object
- func KCFURLVolumeSubtypeKey() obj.Object
- func KCFURLVolumeSupportsAccessPermissionsKey() obj.Object
- func KCFURLVolumeSupportsAdvisoryFileLockingKey() obj.Object
- func KCFURLVolumeSupportsCasePreservedNamesKey() obj.Object
- func KCFURLVolumeSupportsCaseSensitiveNamesKey() obj.Object
- func KCFURLVolumeSupportsCompressionKey() obj.Object
- func KCFURLVolumeSupportsExclusiveRenamingKey() obj.Object
- func KCFURLVolumeSupportsExtendedSecurityKey() obj.Object
- func KCFURLVolumeSupportsFileCloningKey() obj.Object
- func KCFURLVolumeSupportsFileProtectionKey() obj.Object
- func KCFURLVolumeSupportsHardLinksKey() obj.Object
- func KCFURLVolumeSupportsImmutableFilesKey() obj.Object
- func KCFURLVolumeSupportsJournalingKey() obj.Object
- func KCFURLVolumeSupportsPersistentIDsKey() obj.Object
- func KCFURLVolumeSupportsRenamingKey() obj.Object
- func KCFURLVolumeSupportsRootDirectoryDatesKey() obj.Object
- func KCFURLVolumeSupportsSparseFilesKey() obj.Object
- func KCFURLVolumeSupportsSwapRenamingKey() obj.Object
- func KCFURLVolumeSupportsSymbolicLinksKey() obj.Object
- func KCFURLVolumeSupportsVolumeSizesKey() obj.Object
- func KCFURLVolumeSupportsZeroRunsKey() obj.Object
- func KCFURLVolumeTotalCapacityKey() obj.Object
- func KCFURLVolumeTypeNameKey() obj.Object
- func KCFURLVolumeURLForRemountingKey() obj.Object
- func KCFURLVolumeURLKey() obj.Object
- func KCFURLVolumeUUIDStringKey() obj.Object
- func KCFUserNotificationAlertHeaderKey() obj.Object
- func KCFUserNotificationAlertMessageKey() obj.Object
- func KCFUserNotificationAlertTopMostKey() obj.Object
- func KCFUserNotificationAlternateButtonTitleKey() obj.Object
- func KCFUserNotificationCheckBoxTitlesKey() obj.Object
- func KCFUserNotificationDefaultButtonTitleKey() obj.Object
- func KCFUserNotificationIconURLKey() obj.Object
- func KCFUserNotificationKeyboardTypesKey() obj.Object
- func KCFUserNotificationLocalizationURLKey() obj.Object
- func KCFUserNotificationOtherButtonTitleKey() obj.Object
- func KCFUserNotificationPopUpSelectionKey() obj.Object
- func KCFUserNotificationPopUpTitlesKey() obj.Object
- func KCFUserNotificationProgressIndicatorValueKey() obj.Object
- func KCFUserNotificationSoundURLKey() obj.Object
- func KCFUserNotificationTextFieldTitlesKey() obj.Object
- func KCFUserNotificationTextFieldValuesKey() obj.Object
- func KCFVietnameseCalendar() uintptr
- func KCFVikramCalendar() uintptr
- func KCFXMLTreeErrorDescription() obj.Object
- func KCFXMLTreeErrorLineNumber() obj.Object
- func KCFXMLTreeErrorLocation() obj.Object
- func KCFXMLTreeErrorStatusCode() obj.Object
- type CFAllocator
- type CFAllocatorContext
- type CFAllocatorRef
- type CFArray
- type CFArrayCallBacks
- type CFArrayRef
- func CFArrayCreate(allocator CFAllocatorRef, values unsafe.Pointer, numValues int, ...) CFArrayRef
- func CFArrayCreateCopy(allocator CFAllocatorRef, theArray CFArrayRef) CFArrayRef
- func CFBundleCopyBundleLocalizations(bundle CFBundleRef) CFArrayRef
- func CFBundleCopyExecutableArchitectures(bundle CFBundleRef) CFArrayRef
- func CFBundleCopyExecutableArchitecturesForURL(url CFURLRef) CFArrayRef
- func CFBundleCopyLocalizationsForPreferences(locArray CFArrayRef, prefArray CFArrayRef) CFArrayRef
- func CFBundleCopyLocalizationsForURL(url CFURLRef) CFArrayRef
- func CFBundleCopyPreferredLocalizationsFromArray(locArray CFArrayRef) CFArrayRef
- func CFBundleCopyResourceURLsOfType(bundle CFBundleRef, resourceType CFStringRef, subDirName CFStringRef) CFArrayRef
- func CFBundleCopyResourceURLsOfTypeForLocalization(bundle CFBundleRef, resourceType CFStringRef, subDirName CFStringRef, ...) CFArrayRef
- func CFBundleCopyResourceURLsOfTypeInDirectory(bundleURL CFURLRef, resourceType CFStringRef, subDirName CFStringRef) CFArrayRef
- func CFBundleCreateBundlesFromDirectory(allocator CFAllocatorRef, directoryURL CFURLRef, bundleType CFStringRef) CFArrayRef
- func CFBundleGetAllBundles() CFArrayRef
- func CFLocaleCopyAvailableLocaleIdentifiers() CFArrayRef
- func CFLocaleCopyCommonISOCurrencyCodes() CFArrayRef
- func CFLocaleCopyISOCountryCodes() CFArrayRef
- func CFLocaleCopyISOCurrencyCodes() CFArrayRef
- func CFLocaleCopyISOLanguageCodes() CFArrayRef
- func CFLocaleCopyPreferredLanguages() CFArrayRef
- func CFPlugInFindFactoriesForPlugInType(typeUUID CFUUIDRef) CFArrayRef
- func CFPlugInFindFactoriesForPlugInTypeInPlugIn(typeUUID CFUUIDRef, plugIn CFPlugInRef) CFArrayRef
- func CFPreferencesCopyApplicationList(userName CFStringRef, hostName CFStringRef) CFArrayRef
- func CFPreferencesCopyKeyList(applicationID CFStringRef, userName CFStringRef, hostName CFStringRef) CFArrayRef
- func CFRunLoopCopyAllModes(rl CFRunLoopRef) CFArrayRef
- func CFStringCreateArrayBySeparatingStrings(alloc CFAllocatorRef, theString CFStringRef, separatorString CFStringRef) CFArrayRef
- func CFStringCreateArrayWithFindResults(alloc CFAllocatorRef, theString CFStringRef, stringToFind CFStringRef, ...) CFArrayRef
- func CFTimeZoneCopyKnownNames() CFArrayRef
- type CFAttributedString
- type CFAttributedStringRef
- func CFAttributedStringCreate(alloc CFAllocatorRef, str CFStringRef, attributes CFDictionaryRef) CFAttributedStringRef
- func CFAttributedStringCreateCopy(alloc CFAllocatorRef, aStr CFAttributedStringRef) CFAttributedStringRef
- func CFAttributedStringCreateWithSubstring(alloc CFAllocatorRef, aStr CFAttributedStringRef, range_ CFRange) CFAttributedStringRef
- type CFBag
- type CFBagCallBacks
- type CFBagRef
- type CFBinaryHeap
- type CFBinaryHeapCallBacks
- type CFBinaryHeapCompareContext
- type CFBinaryHeapRef
- type CFBitVector
- type CFBitVectorRef
- type CFBoolean
- type CFBooleanRef
- type CFBundle
- type CFBundleRef
- type CFByteOrder
- type CFCalendar
- type CFCalendarRef
- type CFCalendarUnit
- type CFCharacterSet
- type CFCharacterSetPredefinedSet
- type CFCharacterSetRef
- func CFCharacterSetCreateCopy(alloc CFAllocatorRef, theSet CFCharacterSetRef) CFCharacterSetRef
- func CFCharacterSetCreateInvertedSet(alloc CFAllocatorRef, theSet CFCharacterSetRef) CFCharacterSetRef
- func CFCharacterSetCreateWithBitmapRepresentation(alloc CFAllocatorRef, theData CFDataRef) CFCharacterSetRef
- func CFCharacterSetCreateWithCharactersInRange(alloc CFAllocatorRef, theRange CFRange) CFCharacterSetRef
- func CFCharacterSetCreateWithCharactersInString(alloc CFAllocatorRef, theString CFStringRef) CFCharacterSetRef
- func CFCharacterSetGetPredefined(theSetIdentifier CFCharacterSetPredefinedSet) CFCharacterSetRef
- type CFComparisonResult
- func CFDateCompare(theDate CFDateRef, otherDate CFDateRef, context_ unsafe.Pointer) CFComparisonResult
- func CFNumberCompare(number CFNumberRef, otherNumber CFNumberRef, context_ unsafe.Pointer) CFComparisonResult
- func CFStringCompare(theString1 CFStringRef, theString2 CFStringRef, ...) CFComparisonResult
- func CFStringCompareWithOptions(theString1 CFStringRef, theString2 CFStringRef, rangeToCompare CFRange, ...) CFComparisonResult
- func CFStringCompareWithOptionsAndLocale(theString1 CFStringRef, theString2 CFStringRef, rangeToCompare CFRange, ...) CFComparisonResult
- type CFData
- type CFDataRef
- func CFCharacterSetCreateBitmapRepresentation(alloc CFAllocatorRef, theSet CFCharacterSetRef) CFDataRef
- func CFDataCreate(allocator CFAllocatorRef, data unsafe.Pointer, length int) CFDataRef
- func CFDataCreateCopy(allocator CFAllocatorRef, theData CFDataRef) CFDataRef
- func CFDataCreateWithBytesNoCopy(allocator CFAllocatorRef, data unsafe.Pointer, length int, ...) CFDataRef
- func CFPropertyListCreateXMLData(allocator CFAllocatorRef, propertyList CFPropertyListRef) CFDataRef
- func CFSocketCopyAddress(s CFSocketRef) CFDataRef
- func CFSocketCopyPeerAddress(s CFSocketRef) CFDataRef
- func CFStringCreateExternalRepresentation(alloc CFAllocatorRef, theString CFStringRef, encoding int, lossByte uint8) CFDataRef
- func CFTimeZoneGetData(tz CFTimeZoneRef) CFDataRef
- func CFURLCreateBookmarkDataFromAliasRecord(allocatorRef CFAllocatorRef, aliasRecordDataRef CFDataRef) CFDataRef
- func CFURLCreateData(allocator CFAllocatorRef, url CFURLRef, encoding int, escapeWhitespace uint8) CFDataRef
- func CFXMLTreeCreateXMLData(allocator CFAllocatorRef, xmlTree CFXMLTreeRef) CFDataRef
- type CFDataSearchFlags
- type CFDate
- type CFDateFormatter
- type CFDateFormatterRef
- type CFDateFormatterStyle
- type CFDateRef
- type CFDictionary
- type CFDictionaryKeyCallBacks
- type CFDictionaryRef
- func CFBundleCopyInfoDictionaryForURL(url CFURLRef) CFDictionaryRef
- func CFBundleCopyInfoDictionaryInDirectory(bundleURL CFURLRef) CFDictionaryRef
- func CFBundleGetInfoDictionary(bundle CFBundleRef) CFDictionaryRef
- func CFBundleGetLocalInfoDictionary(bundle CFBundleRef) CFDictionaryRef
- func CFDictionaryCreate(allocator CFAllocatorRef, keys unsafe.Pointer, values unsafe.Pointer, ...) CFDictionaryRef
- func CFDictionaryCreateCopy(allocator CFAllocatorRef, theDict CFDictionaryRef) CFDictionaryRef
- func CFErrorCopyUserInfo(err CFErrorRef) CFDictionaryRef
- func CFLocaleCreateComponentsFromLocaleIdentifier(allocator CFAllocatorRef, localeID unsafe.Pointer) CFDictionaryRef
- func CFPreferencesCopyMultiple(keysToFetch CFArrayRef, applicationID CFStringRef, userName CFStringRef, ...) CFDictionaryRef
- func CFTimeZoneCopyAbbreviationDictionary() CFDictionaryRef
- func CFURLCreateResourcePropertiesForKeysFromBookmarkData(allocator CFAllocatorRef, resourcePropertiesToReturn CFArrayRef, ...) CFDictionaryRef
- func CFUserNotificationGetResponseDictionary(userNotification CFUserNotificationRef) CFDictionaryRef
- type CFDictionaryValueCallBacks
- type CFError
- type CFErrorRef
- func CFErrorCreate(allocator CFAllocatorRef, domain unsafe.Pointer, code int, ...) CFErrorRef
- func CFErrorCreateWithUserInfoKeysAndValues(allocator CFAllocatorRef, domain unsafe.Pointer, code int, ...) CFErrorRef
- func CFReadStreamCopyError(stream CFReadStreamRef) CFErrorRef
- func CFWriteStreamCopyError(stream CFWriteStreamRef) CFErrorRef
- type CFFileDescriptor
- type CFFileDescriptorContext
- type CFFileDescriptorRef
- type CFFileSecurity
- type CFFileSecurityClearOptions
- type CFFileSecurityRef
- type CFGregorianDate
- type CFGregorianUnitFlags
- type CFGregorianUnits
- type CFHTTPAuthenticationRef
- type CFHTTPMessageRef
- type CFHostRef
- type CFISO8601DateFormatOptions
- type CFLocale
- type CFLocaleLanguageDirection
- type CFLocaleRef
- func CFCalendarCopyLocale(calendar CFCalendarRef) CFLocaleRef
- func CFDateFormatterGetLocale(formatter CFDateFormatterRef) CFLocaleRef
- func CFLocaleCopyCurrent() CFLocaleRef
- func CFLocaleCreate(allocator CFAllocatorRef, localeIdentifier unsafe.Pointer) CFLocaleRef
- func CFLocaleCreateCopy(allocator CFAllocatorRef, locale CFLocaleRef) CFLocaleRef
- func CFLocaleGetSystem() CFLocaleRef
- func CFNumberFormatterGetLocale(formatter CFNumberFormatterRef) CFLocaleRef
- type CFMachPort
- type CFMachPortContext
- type CFMachPortRef
- type CFMessagePort
- type CFMessagePortContext
- type CFMessagePortRef
- type CFMutableArrayRef
- type CFMutableAttributedStringRef
- type CFMutableBagRef
- type CFMutableBitVectorRef
- type CFMutableCharacterSetRef
- type CFMutableDataRef
- type CFMutableDictionaryRef
- type CFMutableSetRef
- type CFMutableStringRef
- func CFAttributedStringGetMutableString(aStr CFMutableAttributedStringRef) CFMutableStringRef
- func CFStringCreateMutable(alloc CFAllocatorRef, maxLength int) CFMutableStringRef
- func CFStringCreateMutableCopy(alloc CFAllocatorRef, maxLength int, theString CFStringRef) CFMutableStringRef
- func CFStringCreateMutableWithExternalCharactersNoCopy(alloc CFAllocatorRef, numChars int, capacity int, ...) (result CFMutableStringRef, chars uint16)
- type CFNetDiagnosticRef
- type CFNetServiceBrowserRef
- type CFNetServiceMonitorRef
- type CFNetServiceRef
- type CFNotificationCenter
- type CFNotificationCenterRef
- type CFNotificationSuspensionBehavior
- type CFNull
- type CFNullRef
- type CFNumber
- type CFNumberFormatter
- type CFNumberFormatterOptionFlags
- type CFNumberFormatterPadPosition
- type CFNumberFormatterRef
- type CFNumberFormatterRoundingMode
- type CFNumberFormatterStyle
- type CFNumberRef
- type CFNumberType
- type CFPlugInInstance
- type CFPlugInInstanceRef
- type CFPlugInRef
- type CFPropertyListFormat
- type CFPropertyListMutabilityOptions
- type CFPropertyListRef
- func CFPreferencesCopyAppValue(key CFStringRef, applicationID CFStringRef) CFPropertyListRef
- func CFPreferencesCopyValue(key CFStringRef, applicationID CFStringRef, userName CFStringRef, ...) CFPropertyListRef
- func CFPropertyListCreateDeepCopy(allocator CFAllocatorRef, propertyList CFPropertyListRef, mutabilityOption int) CFPropertyListRef
- func CFPropertyListCreateFromXMLData(allocator CFAllocatorRef, xmlData CFDataRef, mutabilityOption int, ...) CFPropertyListRef
- type CFRange
- func CFAttributedStringGetAttribute(aStr CFAttributedStringRef, loc int, attrName CFStringRef) (result obj.Object, effectiveRange CFRange)
- func CFAttributedStringGetAttributeAndLongestEffectiveRange(aStr CFAttributedStringRef, loc int, attrName CFStringRef, inRange CFRange) (result obj.Object, longestEffectiveRange CFRange)
- func CFCalendarGetMaximumRangeOfUnit(calendar CFCalendarRef, unit CFCalendarUnit) CFRange
- func CFCalendarGetMinimumRangeOfUnit(calendar CFCalendarRef, unit CFCalendarUnit) CFRange
- func CFCalendarGetRangeOfUnit(calendar CFCalendarRef, smallerUnit CFCalendarUnit, biggerUnit CFCalendarUnit, ...) CFRange
- func CFDataFind(theData CFDataRef, dataToFind CFDataRef, searchRange CFRange, ...) CFRange
- func CFDateFormatterGetAbsoluteTimeFromString(formatter CFDateFormatterRef, str CFStringRef) (result uint8, rangep CFRange, atp float64)
- func CFNumberFormatterGetValueFromString(formatter CFNumberFormatterRef, str CFStringRef, numberType CFNumberType, ...) (result uint8, rangep CFRange)
- func CFRangeMake(loc int, length int) CFRange
- func CFStringFind(theString CFStringRef, stringToFind CFStringRef, ...) CFRange
- func CFStringFindCharacterFromSet(theString CFStringRef, theSet CFCharacterSetRef, rangeToSearch CFRange, ...) (result uint8, result_ CFRange)
- func CFStringFindWithOptions(theString CFStringRef, stringToFind CFStringRef, rangeToSearch CFRange, ...) (result uint8, result_ CFRange)
- func CFStringFindWithOptionsAndLocale(theString CFStringRef, stringToFind CFStringRef, rangeToSearch CFRange, ...) (result uint8, result_ CFRange)
- func CFStringGetRangeOfComposedCharactersAtIndex(theString CFStringRef, theIndex int) CFRange
- func CFStringTokenizerGetCurrentSubTokens(tokenizer CFStringTokenizerRef, maxRangeLength int, ...) (result int, ranges CFRange)
- func CFStringTokenizerGetCurrentTokenRange(tokenizer CFStringTokenizerRef) CFRange
- func CFStringTransform(str CFMutableStringRef, transform CFStringRef, reverse uint8) (result uint8, range_ CFRange)
- type CFReadStream
- type CFReadStreamRef
- type CFRunLoop
- type CFRunLoopActivity
- type CFRunLoopObserver
- type CFRunLoopObserverContext
- type CFRunLoopObserverRef
- type CFRunLoopRef
- type CFRunLoopRunResult
- type CFRunLoopSource
- type CFRunLoopSourceContext
- type CFRunLoopSourceContext1
- type CFRunLoopSourceRef
- func CFFileDescriptorCreateRunLoopSource(allocator CFAllocatorRef, f CFFileDescriptorRef, order int) CFRunLoopSourceRef
- func CFMachPortCreateRunLoopSource(allocator CFAllocatorRef, port CFMachPortRef, order int) CFRunLoopSourceRef
- func CFMessagePortCreateRunLoopSource(allocator CFAllocatorRef, local CFMessagePortRef, order int) CFRunLoopSourceRef
- func CFRunLoopSourceCreate(allocator CFAllocatorRef, order int, context_ unsafe.Pointer) CFRunLoopSourceRef
- func CFSocketCreateRunLoopSource(allocator CFAllocatorRef, s CFSocketRef, order int) CFRunLoopSourceRef
- func CFUserNotificationCreateRunLoopSource(allocator CFAllocatorRef, userNotification CFUserNotificationRef, ...) CFRunLoopSourceRef
- type CFRunLoopTimer
- type CFRunLoopTimerContext
- type CFRunLoopTimerRef
- type CFSet
- type CFSetCallBacks
- type CFSetRef
- type CFSocket
- type CFSocketCallBackType
- type CFSocketContext
- type CFSocketError
- func CFSocketConnectToAddress(s CFSocketRef, address CFDataRef, timeout float64) CFSocketError
- func CFSocketCopyRegisteredSocketSignature(nameServerSignature unsafe.Pointer, timeout float64, name CFStringRef, ...) CFSocketError
- func CFSocketCopyRegisteredValue(nameServerSignature unsafe.Pointer, timeout float64, name CFStringRef, ...) CFSocketError
- func CFSocketRegisterSocketSignature(nameServerSignature unsafe.Pointer, timeout float64, name CFStringRef, ...) CFSocketError
- func CFSocketRegisterValue(nameServerSignature unsafe.Pointer, timeout float64, name CFStringRef, ...) CFSocketError
- func CFSocketSendData(s CFSocketRef, address CFDataRef, data CFDataRef, timeout float64) CFSocketError
- func CFSocketSetAddress(s CFSocketRef, address CFDataRef) CFSocketError
- func CFSocketUnregister(nameServerSignature unsafe.Pointer, timeout float64, name CFStringRef) CFSocketError
- type CFSocketRef
- func CFSocketCreate(allocator CFAllocatorRef, protocolFamily int, socketType int, protocol int, ...) CFSocketRef
- func CFSocketCreateConnectedToSocketSignature(allocator CFAllocatorRef, signature unsafe.Pointer, callBackTypes int, ...) CFSocketRef
- func CFSocketCreateWithNative(allocator CFAllocatorRef, sock int, callBackTypes int, callout unsafe.Pointer, ...) CFSocketRef
- func CFSocketCreateWithSocketSignature(allocator CFAllocatorRef, signature unsafe.Pointer, callBackTypes int, ...) CFSocketRef
- type CFSocketSignature
- type CFStreamClientContext
- type CFStreamError
- type CFStreamErrorDomain
- type CFStreamEventType
- type CFStreamStatus
- type CFString
- type CFStringBuiltInEncodings
- type CFStringCompareFlags
- type CFStringEncodings
- type CFStringInlineBuffer
- type CFStringNormalizationForm
- type CFStringRef
- func CFAttributedStringGetString(aStr CFAttributedStringRef) CFStringRef
- func CFBundleCopyLocalizedString(bundle CFBundleRef, key CFStringRef, value CFStringRef, tableName CFStringRef) CFStringRef
- func CFBundleCopyLocalizedStringForLocalizations(bundle CFBundleRef, key CFStringRef, value CFStringRef, tableName CFStringRef, ...) CFStringRef
- func CFBundleGetDevelopmentRegion(bundle CFBundleRef) CFStringRef
- func CFBundleGetIdentifier(bundle CFBundleRef) CFStringRef
- func CFCopyDescription(cf obj.Object) CFStringRef
- func CFCopyTypeIDDescription(typeId int) CFStringRef
- func CFDateFormatterCreateDateFormatFromTemplate(allocator CFAllocatorRef, tmplate CFStringRef, options int, locale CFLocaleRef) CFStringRef
- func CFDateFormatterCreateStringWithAbsoluteTime(allocator CFAllocatorRef, formatter CFDateFormatterRef, at float64) CFStringRef
- func CFDateFormatterCreateStringWithDate(allocator CFAllocatorRef, formatter CFDateFormatterRef, date CFDateRef) CFStringRef
- func CFDateFormatterGetFormat(formatter CFDateFormatterRef) CFStringRef
- func CFErrorCopyDescription(err CFErrorRef) CFStringRef
- func CFErrorCopyFailureReason(err CFErrorRef) CFStringRef
- func CFErrorCopyRecoverySuggestion(err CFErrorRef) CFStringRef
- func CFLocaleCopyDisplayNameForPropertyValue(displayLocale CFLocaleRef, key unsafe.Pointer, value CFStringRef) CFStringRef
- func CFMessagePortGetName(ms CFMessagePortRef) CFStringRef
- func CFNumberFormatterCreateStringWithNumber(allocator CFAllocatorRef, formatter CFNumberFormatterRef, number CFNumberRef) CFStringRef
- func CFNumberFormatterCreateStringWithValue(allocator CFAllocatorRef, formatter CFNumberFormatterRef, ...) CFStringRef
- func CFNumberFormatterGetFormat(formatter CFNumberFormatterRef) CFStringRef
- func CFPlugInInstanceGetFactoryName(instance CFPlugInInstanceRef) CFStringRef
- func CFStringConvertEncodingToIANACharSetName(encoding int) CFStringRef
- func CFStringCreateByCombiningStrings(alloc CFAllocatorRef, theArray CFArrayRef, separatorString CFStringRef) CFStringRef
- func CFStringCreateCopy(alloc CFAllocatorRef, theString CFStringRef) CFStringRef
- func CFStringCreateFromExternalRepresentation(alloc CFAllocatorRef, data CFDataRef, encoding int) CFStringRef
- func CFStringCreateWithBytes(alloc CFAllocatorRef, data unsafe.Pointer, numBytes int, encoding int, ...) CFStringRef
- func CFStringCreateWithBytesNoCopy(alloc CFAllocatorRef, data unsafe.Pointer, numBytes int, encoding int, ...) CFStringRef
- func CFStringCreateWithCString(alloc CFAllocatorRef, cStr string, encoding int) CFStringRef
- func CFStringCreateWithCStringNoCopy(alloc CFAllocatorRef, cStr string, encoding int, ...) CFStringRef
- func CFStringCreateWithCharacters(alloc CFAllocatorRef, chars unsafe.Pointer, numChars int) CFStringRef
- func CFStringCreateWithCharactersNoCopy(alloc CFAllocatorRef, chars unsafe.Pointer, numChars int, ...) CFStringRef
- func CFStringCreateWithFileSystemRepresentation(alloc CFAllocatorRef, buffer string) CFStringRef
- func CFStringCreateWithFormat(alloc CFAllocatorRef, formatOptions CFDictionaryRef, format CFStringRef) CFStringRef
- func CFStringCreateWithFormatAndArguments(alloc CFAllocatorRef, formatOptions CFDictionaryRef, format CFStringRef, ...) CFStringRef
- func CFStringCreateWithPascalString(alloc CFAllocatorRef, encoding int) (result CFStringRef, pStr uint8)
- func CFStringCreateWithPascalStringNoCopy(alloc CFAllocatorRef, encoding int, contentsDeallocator CFAllocatorRef) (result CFStringRef, pStr uint8)
- func CFStringCreateWithSubstring(alloc CFAllocatorRef, str CFStringRef, range_ CFRange) CFStringRef
- func CFStringGetNameOfEncoding(encoding int) CFStringRef
- func CFStringMakeConstantString(cStr string) CFStringRef
- func CFStringTokenizerCopyBestStringLanguage(str CFStringRef, range_ CFRange) CFStringRef
- func CFTimeZoneCopyAbbreviation(tz CFTimeZoneRef, at float64) CFStringRef
- func CFTimeZoneCopyLocalizedName(tz CFTimeZoneRef, style CFTimeZoneNameStyle, locale CFLocaleRef) CFStringRef
- func CFTimeZoneGetName(tz CFTimeZoneRef) CFStringRef
- func CFURLCopyFileSystemPath(anURL CFURLRef, pathStyle CFURLPathStyle) CFStringRef
- func CFURLCopyFragment(anURL CFURLRef, charactersToLeaveEscaped CFStringRef) CFStringRef
- func CFURLCopyHostName(anURL CFURLRef) CFStringRef
- func CFURLCopyLastPathComponent(url CFURLRef) CFStringRef
- func CFURLCopyNetLocation(anURL CFURLRef) CFStringRef
- func CFURLCopyParameterString(anURL CFURLRef, charactersToLeaveEscaped CFStringRef) CFStringRef
- func CFURLCopyPassword(anURL CFURLRef) CFStringRef
- func CFURLCopyPath(anURL CFURLRef) CFStringRef
- func CFURLCopyPathExtension(url CFURLRef) CFStringRef
- func CFURLCopyQueryString(anURL CFURLRef, charactersToLeaveEscaped CFStringRef) CFStringRef
- func CFURLCopyResourceSpecifier(anURL CFURLRef) CFStringRef
- func CFURLCopyScheme(anURL CFURLRef) CFStringRef
- func CFURLCopyStrictPath(anURL CFURLRef) (result CFStringRef, isAbsolute uint8)
- func CFURLCopyUserName(anURL CFURLRef) CFStringRef
- func CFURLCreateStringByAddingPercentEscapes(allocator CFAllocatorRef, originalString CFStringRef, ...) CFStringRef
- func CFURLCreateStringByReplacingPercentEscapes(allocator CFAllocatorRef, originalString CFStringRef, ...) CFStringRef
- func CFURLCreateStringByReplacingPercentEscapesUsingEncoding(allocator CFAllocatorRef, origString CFStringRef, ...) CFStringRef
- func CFURLGetString(anURL CFURLRef) CFStringRef
- func CFUUIDCreateString(alloc CFAllocatorRef, uuid CFUUIDRef) CFStringRef
- func CFUserNotificationGetResponseValue(userNotification CFUserNotificationRef, key CFStringRef, idx int) CFStringRef
- func CFXMLCreateStringByEscapingEntities(allocator CFAllocatorRef, str CFStringRef, entitiesDictionary CFDictionaryRef) CFStringRef
- func CFXMLCreateStringByUnescapingEntities(allocator CFAllocatorRef, str CFStringRef, entitiesDictionary CFDictionaryRef) CFStringRef
- func CFXMLNodeGetString(node CFXMLNodeRef) CFStringRef
- func CFXMLParserCopyErrorDescription(parser CFXMLParserRef) CFStringRef
- type CFStringTokenizer
- type CFStringTokenizerRef
- type CFStringTokenizerTokenType
- type CFSwappedFloat32
- type CFSwappedFloat64
- type CFTimeZone
- type CFTimeZoneNameStyle
- type CFTimeZoneRef
- func CFCalendarCopyTimeZone(calendar CFCalendarRef) CFTimeZoneRef
- func CFTimeZoneCopyDefault() CFTimeZoneRef
- func CFTimeZoneCopySystem() CFTimeZoneRef
- func CFTimeZoneCreate(allocator CFAllocatorRef, name CFStringRef, data CFDataRef) CFTimeZoneRef
- func CFTimeZoneCreateWithName(allocator CFAllocatorRef, name CFStringRef, tryAbbrev uint8) CFTimeZoneRef
- func CFTimeZoneCreateWithTimeIntervalFromGMT(allocator CFAllocatorRef, ti float64) CFTimeZoneRef
- type CFTree
- type CFTreeContext
- type CFTreeRef
- func CFTreeCreate(allocator CFAllocatorRef, context_ unsafe.Pointer) CFTreeRef
- func CFTreeFindRoot(tree CFTreeRef) CFTreeRef
- func CFTreeGetChildAtIndex(tree CFTreeRef, idx int) CFTreeRef
- func CFTreeGetFirstChild(tree CFTreeRef) CFTreeRef
- func CFTreeGetNextSibling(tree CFTreeRef) CFTreeRef
- func CFTreeGetParent(tree CFTreeRef) CFTreeRef
- type CFURL
- type CFURLBookmarkCreationOptions
- type CFURLBookmarkResolutionOptions
- type CFURLComponentType
- type CFURLEnumerator
- type CFURLEnumeratorOptions
- type CFURLEnumeratorRef
- type CFURLEnumeratorResult
- type CFURLErrordeprecated
- type CFURLPathStyle
- type CFURLRef
- func CFBundleCopyAuxiliaryExecutableURL(bundle CFBundleRef, executableName CFStringRef) CFURLRef
- func CFBundleCopyBuiltInPlugInsURL(bundle CFBundleRef) CFURLRef
- func CFBundleCopyBundleURL(bundle CFBundleRef) CFURLRef
- func CFBundleCopyExecutableURL(bundle CFBundleRef) CFURLRef
- func CFBundleCopyPrivateFrameworksURL(bundle CFBundleRef) CFURLRef
- func CFBundleCopyResourceURL(bundle CFBundleRef, resourceName CFStringRef, resourceType CFStringRef, ...) CFURLRef
- func CFBundleCopyResourceURLForLocalization(bundle CFBundleRef, resourceName CFStringRef, resourceType CFStringRef, ...) CFURLRef
- func CFBundleCopyResourceURLInDirectory(bundleURL CFURLRef, resourceName CFStringRef, resourceType CFStringRef, ...) CFURLRef
- func CFBundleCopyResourcesDirectoryURL(bundle CFBundleRef) CFURLRef
- func CFBundleCopySharedFrameworksURL(bundle CFBundleRef) CFURLRef
- func CFBundleCopySharedSupportURL(bundle CFBundleRef) CFURLRef
- func CFBundleCopySupportFilesDirectoryURL(bundle CFBundleRef) CFURLRef
- func CFURLCopyAbsoluteURL(relativeURL CFURLRef) CFURLRef
- func CFURLCreateAbsoluteURLWithBytes(alloc CFAllocatorRef, relativeURLBytes unsafe.Pointer, length int, ...) CFURLRef
- func CFURLCreateByResolvingBookmarkData(allocator CFAllocatorRef, bookmark CFDataRef, ...) (result CFURLRef, isStale uint8)
- func CFURLCreateCopyAppendingPathComponent(allocator CFAllocatorRef, url CFURLRef, pathComponent CFStringRef, ...) CFURLRef
- func CFURLCreateCopyAppendingPathExtension(allocator CFAllocatorRef, url CFURLRef, extension CFStringRef) CFURLRef
- func CFURLCreateCopyDeletingLastPathComponent(allocator CFAllocatorRef, url CFURLRef) CFURLRef
- func CFURLCreateCopyDeletingPathExtension(allocator CFAllocatorRef, url CFURLRef) CFURLRef
- func CFURLCreateFromFSRef(allocator CFAllocatorRef, fsRef obj.Object) CFURLRef
- func CFURLCreateFromFileSystemRepresentation(allocator CFAllocatorRef, buffer unsafe.Pointer, bufLen int, isDirectory uint8) CFURLRef
- func CFURLCreateFromFileSystemRepresentationRelativeToBase(allocator CFAllocatorRef, buffer unsafe.Pointer, bufLen int, isDirectory uint8, ...) CFURLRef
- func CFURLCreateWithBytes(allocator CFAllocatorRef, urlBytes unsafe.Pointer, length int, encoding int, ...) CFURLRef
- func CFURLCreateWithFileSystemPath(allocator CFAllocatorRef, filePath CFStringRef, pathStyle CFURLPathStyle, ...) CFURLRef
- func CFURLCreateWithFileSystemPathRelativeToBase(allocator CFAllocatorRef, filePath CFStringRef, pathStyle CFURLPathStyle, ...) CFURLRef
- func CFURLCreateWithString(allocator CFAllocatorRef, urlString CFStringRef, baseURL CFURLRef) CFURLRef
- func CFURLGetBaseURL(anURL CFURLRef) CFURLRef
- func CFXMLParserGetSourceURL(parser CFXMLParserRef) CFURLRef
- type CFUUID
- type CFUUIDBytes
- type CFUUIDRef
- func CFUUIDCreate(alloc CFAllocatorRef) CFUUIDRef
- func CFUUIDCreateFromString(alloc CFAllocatorRef, uuidStr CFStringRef) CFUUIDRef
- func CFUUIDCreateFromUUIDBytes(alloc CFAllocatorRef, data CFUUIDBytes) CFUUIDRef
- func CFUUIDCreateWithBytes(alloc CFAllocatorRef, byte0 uint8, byte1 uint8, byte2 uint8, byte3 uint8, ...) CFUUIDRef
- func CFUUIDGetConstantUUIDWithBytes(alloc CFAllocatorRef, byte0 uint8, byte1 uint8, byte2 uint8, byte3 uint8, ...) CFUUIDRef
- type CFUserNotification
- type CFUserNotificationRef
- type CFWriteStream
- type CFWriteStreamRef
- func CFWriteStreamCreateWithAllocatedBuffers(alloc CFAllocatorRef, bufferAllocator CFAllocatorRef) CFWriteStreamRef
- func CFWriteStreamCreateWithBuffer(alloc CFAllocatorRef, bufferCapacity int) (result CFWriteStreamRef, buffer uint8)
- func CFWriteStreamCreateWithFile(alloc CFAllocatorRef, fileURL CFURLRef) CFWriteStreamRef
- type CFXMLAttributeDeclarationInfo
- type CFXMLAttributeListDeclarationInfo
- type CFXMLDocumentInfo
- type CFXMLDocumentTypeInfo
- type CFXMLElementInfo
- type CFXMLElementTypeDeclarationInfo
- type CFXMLEntityInfo
- type CFXMLEntityReferenceInfo
- type CFXMLEntityTypeCode
- type CFXMLExternalID
- type CFXMLNode
- type CFXMLNodeRef
- type CFXMLNodeTypeCode
- type CFXMLNotationInfo
- type CFXMLParser
- type CFXMLParserCallBacks
- type CFXMLParserContext
- type CFXMLParserOptions
- type CFXMLParserRef
- type CFXMLParserStatusCode
- type CFXMLProcessingInstructionInfo
- type CFXMLTreeRef
- func CFXMLTreeCreateFromData(allocator CFAllocatorRef, xmlData CFDataRef, dataSource CFURLRef, ...) CFXMLTreeRef
- func CFXMLTreeCreateFromDataWithError(allocator CFAllocatorRef, xmlData CFDataRef, dataSource CFURLRef, ...) CFXMLTreeRef
- func CFXMLTreeCreateWithDataFromURL(allocator CFAllocatorRef, dataSource CFURLRef, parseOptions int, ...) CFXMLTreeRef
- func CFXMLTreeCreateWithNode(allocator CFAllocatorRef, node CFXMLNodeRef) CFXMLTreeRef
- type CGAffineTransform
- type CGAffineTransformComponents
- type CGPoint
- type CGRect
- type CGRectEdge
- type CGSize
- type CGVector
- type Clockid
- type DispatchAutoreleaseFrequency
- type DispatchBlockFlags
- type EntryID
- type FSRef
- type FilesecProperty
- type Flag
- type Idtype
- type MallocZoneT
- type MpoFlags
- type OSClockid
- type ObjcZoneT
- type Perm
- type PtrauthKey
- type QosClass
- type Tag
- type Type
Constants ¶
const ( KCFBundleExecutableArchitectureARM64 = 16777228 KCFBundleExecutableArchitectureI386 = 7 KCFBundleExecutableArchitecturePPC = 18 KCFBundleExecutableArchitecturePPC64 = 16777234 KCFBundleExecutableArchitectureX86_64 = 16777223 KCFCalendarComponentsWrap = 1 KCFFileDescriptorReadCallBack = 1 KCFFileDescriptorWriteCallBack = 2 KCFMessagePortBecameInvalidError = -5 KCFMessagePortIsInvalid = -3 KCFMessagePortReceiveTimeout = -2 KCFMessagePortSendTimeout = -1 KCFMessagePortSuccess = 0 KCFMessagePortTransportError = -4 KCFNotificationDeliverImmediately = 1 KCFNotificationPostToAllSessions = 2 KCFPropertyListReadCorruptError = 3840 KCFPropertyListReadStreamError = 3842 KCFPropertyListReadUnknownVersionError = 3841 KCFPropertyListWriteStreamError = 3851 KCFSocketAutomaticallyReenableAcceptCallBack = 2 KCFSocketAutomaticallyReenableDataCallBack = 3 KCFSocketAutomaticallyReenableReadCallBack = 1 KCFSocketAutomaticallyReenableWriteCallBack = 8 KCFSocketCloseOnInvalidate = 128 KCFSocketLeaveErrors = 64 KCFStringTokenizerAttributeLanguage = 131072 KCFStringTokenizerAttributeLatinTranscription = 65536 KCFStringTokenizerUnitLineBreak = 3 KCFStringTokenizerUnitParagraph = 2 KCFStringTokenizerUnitSentence = 1 KCFStringTokenizerUnitWord = 0 KCFStringTokenizerUnitWordBoundary = 4 KCFUserNotificationAlternateResponse = 1 KCFUserNotificationCancelResponse = 3 KCFUserNotificationCautionAlertLevel = 2 KCFUserNotificationDefaultResponse = 0 KCFUserNotificationNoDefaultButtonFlag = 32 KCFUserNotificationNoteAlertLevel = 1 KCFUserNotificationOtherResponse = 2 KCFUserNotificationPlainAlertLevel = 3 KCFUserNotificationStopAlertLevel = 0 KCFUserNotificationUseRadioButtonsFlag = 64 KCFXMLNodeCurrentVersion = 1 )
Variables ¶
This section is empty.
Functions ¶
func BuiltinConstantP ¶
func BuiltinConstantP() int
BuiltinConstantP calls the CoreFoundation framework function __builtin_constant_p.
func CFAbsoluteTimeAddGregorianUnits ¶
func CFAbsoluteTimeAddGregorianUnits(at float64, tz CFTimeZoneRef, units CFGregorianUnits) float64
CFAbsoluteTimeAddGregorianUnits calls the CoreFoundation framework function CFAbsoluteTimeAddGregorianUnits.
func CFAbsoluteTimeGetCurrent ¶
func CFAbsoluteTimeGetCurrent() float64
CFAbsoluteTimeGetCurrent calls the CoreFoundation framework function CFAbsoluteTimeGetCurrent.
func CFAbsoluteTimeGetDayOfWeek ¶
func CFAbsoluteTimeGetDayOfWeek(at float64, tz CFTimeZoneRef) int
CFAbsoluteTimeGetDayOfWeek calls the CoreFoundation framework function CFAbsoluteTimeGetDayOfWeek.
func CFAbsoluteTimeGetDayOfYear ¶
func CFAbsoluteTimeGetDayOfYear(at float64, tz CFTimeZoneRef) int
CFAbsoluteTimeGetDayOfYear calls the CoreFoundation framework function CFAbsoluteTimeGetDayOfYear.
func CFAbsoluteTimeGetWeekOfYear ¶
func CFAbsoluteTimeGetWeekOfYear(at float64, tz CFTimeZoneRef) int
CFAbsoluteTimeGetWeekOfYear calls the CoreFoundation framework function CFAbsoluteTimeGetWeekOfYear.
func CFAllocatorAllocate ¶
func CFAllocatorAllocate(allocator CFAllocatorRef, size int, hint int) unsafe.Pointer
CFAllocatorAllocate calls the CoreFoundation framework function CFAllocatorAllocate.
func CFAllocatorAllocateBytes ¶
func CFAllocatorAllocateBytes(allocator CFAllocatorRef, size int, hint int) unsafe.Pointer
CFAllocatorAllocateBytes calls the CoreFoundation framework function CFAllocatorAllocateBytes.
func CFAllocatorAllocateTyped ¶
func CFAllocatorAllocateTyped(allocator CFAllocatorRef, size int, descriptor uint64, hint int) unsafe.Pointer
CFAllocatorAllocateTyped calls the CoreFoundation framework function CFAllocatorAllocateTyped.
func CFAllocatorDeallocate ¶
func CFAllocatorDeallocate(allocator CFAllocatorRef, ptr unsafe.Pointer)
CFAllocatorDeallocate calls the CoreFoundation framework function CFAllocatorDeallocate.
func CFAllocatorGetContext ¶
func CFAllocatorGetContext(allocator CFAllocatorRef, context_ unsafe.Pointer)
CFAllocatorGetContext calls the CoreFoundation framework function CFAllocatorGetContext.
func CFAllocatorGetPreferredSizeForSize ¶
func CFAllocatorGetPreferredSizeForSize(allocator CFAllocatorRef, size int, hint int) int
CFAllocatorGetPreferredSizeForSize calls the CoreFoundation framework function CFAllocatorGetPreferredSizeForSize.
func CFAllocatorGetTypeID ¶
func CFAllocatorGetTypeID() int
CFAllocatorGetTypeID calls the CoreFoundation framework function CFAllocatorGetTypeID.
func CFAllocatorReallocate ¶
func CFAllocatorReallocate(allocator CFAllocatorRef, ptr unsafe.Pointer, newsize int, hint int) unsafe.Pointer
CFAllocatorReallocate calls the CoreFoundation framework function CFAllocatorReallocate.
func CFAllocatorReallocateBytes ¶
func CFAllocatorReallocateBytes(allocator CFAllocatorRef, ptr unsafe.Pointer, newsize int, hint int) unsafe.Pointer
CFAllocatorReallocateBytes calls the CoreFoundation framework function CFAllocatorReallocateBytes.
func CFAllocatorReallocateTyped ¶
func CFAllocatorReallocateTyped(allocator CFAllocatorRef, ptr unsafe.Pointer, newsize int, descriptor uint64, hint int) unsafe.Pointer
CFAllocatorReallocateTyped calls the CoreFoundation framework function CFAllocatorReallocateTyped.
func CFAllocatorSetDefault ¶
func CFAllocatorSetDefault(allocator CFAllocatorRef)
CFAllocatorSetDefault calls the CoreFoundation framework function CFAllocatorSetDefault.
func CFArrayAppendArray ¶
func CFArrayAppendArray(theArray CFMutableArrayRef, otherArray CFArrayRef, otherRange CFRange)
CFArrayAppendArray calls the CoreFoundation framework function CFArrayAppendArray.
func CFArrayAppendValue ¶
func CFArrayAppendValue(theArray CFMutableArrayRef, value unsafe.Pointer)
CFArrayAppendValue calls the CoreFoundation framework function CFArrayAppendValue.
func CFArrayApplyFunction ¶
func CFArrayApplyFunction(theArray CFArrayRef, range_ CFRange, applier unsafe.Pointer, context_ unsafe.Pointer)
CFArrayApplyFunction calls the CoreFoundation framework function CFArrayApplyFunction.
func CFArrayBSearchValues ¶
func CFArrayBSearchValues(theArray CFArrayRef, range_ CFRange, value unsafe.Pointer, comparator unsafe.Pointer, context_ unsafe.Pointer) int
CFArrayBSearchValues calls the CoreFoundation framework function CFArrayBSearchValues.
func CFArrayContainsValue ¶
func CFArrayContainsValue(theArray CFArrayRef, range_ CFRange, value unsafe.Pointer) uint8
CFArrayContainsValue calls the CoreFoundation framework function CFArrayContainsValue.
func CFArrayExchangeValuesAtIndices ¶
func CFArrayExchangeValuesAtIndices(theArray CFMutableArrayRef, idx1 int, idx2 int)
CFArrayExchangeValuesAtIndices calls the CoreFoundation framework function CFArrayExchangeValuesAtIndices.
func CFArrayGetCount ¶
func CFArrayGetCount(theArray CFArrayRef) int
CFArrayGetCount calls the CoreFoundation framework function CFArrayGetCount.
func CFArrayGetCountOfValue ¶
func CFArrayGetCountOfValue(theArray CFArrayRef, range_ CFRange, value unsafe.Pointer) int
CFArrayGetCountOfValue calls the CoreFoundation framework function CFArrayGetCountOfValue.
func CFArrayGetFirstIndexOfValue ¶
func CFArrayGetFirstIndexOfValue(theArray CFArrayRef, range_ CFRange, value unsafe.Pointer) int
CFArrayGetFirstIndexOfValue calls the CoreFoundation framework function CFArrayGetFirstIndexOfValue.
func CFArrayGetLastIndexOfValue ¶
func CFArrayGetLastIndexOfValue(theArray CFArrayRef, range_ CFRange, value unsafe.Pointer) int
CFArrayGetLastIndexOfValue calls the CoreFoundation framework function CFArrayGetLastIndexOfValue.
func CFArrayGetTypeID ¶
func CFArrayGetTypeID() int
CFArrayGetTypeID calls the CoreFoundation framework function CFArrayGetTypeID.
func CFArrayGetValueAtIndex ¶
func CFArrayGetValueAtIndex(theArray CFArrayRef, idx int) unsafe.Pointer
CFArrayGetValueAtIndex calls the CoreFoundation framework function CFArrayGetValueAtIndex.
func CFArrayGetValues ¶
func CFArrayGetValues(theArray CFArrayRef, range_ CFRange, values unsafe.Pointer)
CFArrayGetValues calls the CoreFoundation framework function CFArrayGetValues.
func CFArrayInsertValueAtIndex ¶
func CFArrayInsertValueAtIndex(theArray CFMutableArrayRef, idx int, value unsafe.Pointer)
CFArrayInsertValueAtIndex calls the CoreFoundation framework function CFArrayInsertValueAtIndex.
func CFArrayRemoveAllValues ¶
func CFArrayRemoveAllValues(theArray CFMutableArrayRef)
CFArrayRemoveAllValues calls the CoreFoundation framework function CFArrayRemoveAllValues.
func CFArrayRemoveValueAtIndex ¶
func CFArrayRemoveValueAtIndex(theArray CFMutableArrayRef, idx int)
CFArrayRemoveValueAtIndex calls the CoreFoundation framework function CFArrayRemoveValueAtIndex.
func CFArrayReplaceValues ¶
func CFArrayReplaceValues(theArray CFMutableArrayRef, range_ CFRange, newValues unsafe.Pointer, newCount int)
CFArrayReplaceValues calls the CoreFoundation framework function CFArrayReplaceValues.
func CFArraySetValueAtIndex ¶
func CFArraySetValueAtIndex(theArray CFMutableArrayRef, idx int, value unsafe.Pointer)
CFArraySetValueAtIndex calls the CoreFoundation framework function CFArraySetValueAtIndex.
func CFArraySortValues ¶
func CFArraySortValues(theArray CFMutableArrayRef, range_ CFRange, comparator unsafe.Pointer, context_ unsafe.Pointer)
CFArraySortValues calls the CoreFoundation framework function CFArraySortValues.
func CFAttributedStringBeginEditing ¶
func CFAttributedStringBeginEditing(aStr CFMutableAttributedStringRef)
CFAttributedStringBeginEditing calls the CoreFoundation framework function CFAttributedStringBeginEditing.
func CFAttributedStringEndEditing ¶
func CFAttributedStringEndEditing(aStr CFMutableAttributedStringRef)
CFAttributedStringEndEditing calls the CoreFoundation framework function CFAttributedStringEndEditing.
func CFAttributedStringGetAttributes ¶
func CFAttributedStringGetAttributes(aStr CFAttributedStringRef, loc int) (result CFDictionaryRef, effectiveRange CFRange)
CFAttributedStringGetAttributes calls the CoreFoundation framework function CFAttributedStringGetAttributes.
func CFAttributedStringGetAttributesAndLongestEffectiveRange ¶
func CFAttributedStringGetAttributesAndLongestEffectiveRange(aStr CFAttributedStringRef, loc int, inRange CFRange) (result CFDictionaryRef, longestEffectiveRange CFRange)
CFAttributedStringGetAttributesAndLongestEffectiveRange calls the CoreFoundation framework function CFAttributedStringGetAttributesAndLongestEffectiveRange.
func CFAttributedStringGetBidiLevelsAndResolvedDirections ¶
func CFAttributedStringGetBidiLevelsAndResolvedDirections(attributedString CFAttributedStringRef, range_ CFRange, baseDirection int8) (ok bool, bidiLevels uint8, baseDirections uint8)
CFAttributedStringGetBidiLevelsAndResolvedDirections calls the CoreFoundation framework function CFAttributedStringGetBidiLevelsAndResolvedDirections.
func CFAttributedStringGetLength ¶
func CFAttributedStringGetLength(aStr CFAttributedStringRef) int
CFAttributedStringGetLength calls the CoreFoundation framework function CFAttributedStringGetLength.
func CFAttributedStringGetStatisticalWritingDirections ¶
func CFAttributedStringGetStatisticalWritingDirections(attributedString CFAttributedStringRef, range_ CFRange, baseDirection int8) (ok bool, bidiLevels uint8, baseDirections uint8)
CFAttributedStringGetStatisticalWritingDirections calls the CoreFoundation framework function CFAttributedStringGetStatisticalWritingDirections.
func CFAttributedStringGetTypeID ¶
func CFAttributedStringGetTypeID() int
CFAttributedStringGetTypeID calls the CoreFoundation framework function CFAttributedStringGetTypeID.
func CFAttributedStringRemoveAttribute ¶
func CFAttributedStringRemoveAttribute(aStr CFMutableAttributedStringRef, range_ CFRange, attrName CFStringRef)
CFAttributedStringRemoveAttribute calls the CoreFoundation framework function CFAttributedStringRemoveAttribute.
func CFAttributedStringReplaceAttributedString ¶
func CFAttributedStringReplaceAttributedString(aStr CFMutableAttributedStringRef, range_ CFRange, replacement CFAttributedStringRef)
CFAttributedStringReplaceAttributedString calls the CoreFoundation framework function CFAttributedStringReplaceAttributedString.
func CFAttributedStringReplaceString ¶
func CFAttributedStringReplaceString(aStr CFMutableAttributedStringRef, range_ CFRange, replacement CFStringRef)
CFAttributedStringReplaceString calls the CoreFoundation framework function CFAttributedStringReplaceString.
func CFAttributedStringSetAttribute ¶
func CFAttributedStringSetAttribute(aStr CFMutableAttributedStringRef, range_ CFRange, attrName CFStringRef, value obj.Object)
CFAttributedStringSetAttribute calls the CoreFoundation framework function CFAttributedStringSetAttribute.
func CFAttributedStringSetAttributes ¶
func CFAttributedStringSetAttributes(aStr CFMutableAttributedStringRef, range_ CFRange, replacement CFDictionaryRef, clearOtherAttributes uint8)
CFAttributedStringSetAttributes calls the CoreFoundation framework function CFAttributedStringSetAttributes.
func CFAutorelease ¶
CFAutorelease calls the CoreFoundation framework function CFAutorelease.
func CFBagAddValue ¶
func CFBagAddValue(theBag CFMutableBagRef, value unsafe.Pointer)
CFBagAddValue calls the CoreFoundation framework function CFBagAddValue.
func CFBagApplyFunction ¶
CFBagApplyFunction calls the CoreFoundation framework function CFBagApplyFunction.
func CFBagContainsValue ¶
CFBagContainsValue calls the CoreFoundation framework function CFBagContainsValue.
func CFBagGetCount ¶
CFBagGetCount calls the CoreFoundation framework function CFBagGetCount.
func CFBagGetCountOfValue ¶
CFBagGetCountOfValue calls the CoreFoundation framework function CFBagGetCountOfValue.
func CFBagGetTypeID ¶
func CFBagGetTypeID() int
CFBagGetTypeID calls the CoreFoundation framework function CFBagGetTypeID.
func CFBagGetValue ¶
CFBagGetValue calls the CoreFoundation framework function CFBagGetValue.
func CFBagGetValueIfPresent ¶
CFBagGetValueIfPresent calls the CoreFoundation framework function CFBagGetValueIfPresent.
func CFBagGetValues ¶
CFBagGetValues calls the CoreFoundation framework function CFBagGetValues.
func CFBagRemoveAllValues ¶
func CFBagRemoveAllValues(theBag CFMutableBagRef)
CFBagRemoveAllValues calls the CoreFoundation framework function CFBagRemoveAllValues.
func CFBagRemoveValue ¶
func CFBagRemoveValue(theBag CFMutableBagRef, value unsafe.Pointer)
CFBagRemoveValue calls the CoreFoundation framework function CFBagRemoveValue.
func CFBagReplaceValue ¶
func CFBagReplaceValue(theBag CFMutableBagRef, value unsafe.Pointer)
CFBagReplaceValue calls the CoreFoundation framework function CFBagReplaceValue.
func CFBagSetValue ¶
func CFBagSetValue(theBag CFMutableBagRef, value unsafe.Pointer)
CFBagSetValue calls the CoreFoundation framework function CFBagSetValue.
func CFBinaryHeapAddValue ¶
func CFBinaryHeapAddValue(heap CFBinaryHeapRef, value unsafe.Pointer)
CFBinaryHeapAddValue calls the CoreFoundation framework function CFBinaryHeapAddValue.
func CFBinaryHeapApplyFunction ¶
func CFBinaryHeapApplyFunction(heap CFBinaryHeapRef, applier unsafe.Pointer, context_ unsafe.Pointer)
CFBinaryHeapApplyFunction calls the CoreFoundation framework function CFBinaryHeapApplyFunction.
func CFBinaryHeapContainsValue ¶
func CFBinaryHeapContainsValue(heap CFBinaryHeapRef, value unsafe.Pointer) uint8
CFBinaryHeapContainsValue calls the CoreFoundation framework function CFBinaryHeapContainsValue.
func CFBinaryHeapGetCount ¶
func CFBinaryHeapGetCount(heap CFBinaryHeapRef) int
CFBinaryHeapGetCount calls the CoreFoundation framework function CFBinaryHeapGetCount.
func CFBinaryHeapGetCountOfValue ¶
func CFBinaryHeapGetCountOfValue(heap CFBinaryHeapRef, value unsafe.Pointer) int
CFBinaryHeapGetCountOfValue calls the CoreFoundation framework function CFBinaryHeapGetCountOfValue.
func CFBinaryHeapGetMinimum ¶
func CFBinaryHeapGetMinimum(heap CFBinaryHeapRef) unsafe.Pointer
CFBinaryHeapGetMinimum calls the CoreFoundation framework function CFBinaryHeapGetMinimum.
func CFBinaryHeapGetMinimumIfPresent ¶
func CFBinaryHeapGetMinimumIfPresent(heap CFBinaryHeapRef, value unsafe.Pointer) uint8
CFBinaryHeapGetMinimumIfPresent calls the CoreFoundation framework function CFBinaryHeapGetMinimumIfPresent.
func CFBinaryHeapGetTypeID ¶
func CFBinaryHeapGetTypeID() int
CFBinaryHeapGetTypeID calls the CoreFoundation framework function CFBinaryHeapGetTypeID.
func CFBinaryHeapGetValues ¶
func CFBinaryHeapGetValues(heap CFBinaryHeapRef, values unsafe.Pointer)
CFBinaryHeapGetValues calls the CoreFoundation framework function CFBinaryHeapGetValues.
func CFBinaryHeapRemoveAllValues ¶
func CFBinaryHeapRemoveAllValues(heap CFBinaryHeapRef)
CFBinaryHeapRemoveAllValues calls the CoreFoundation framework function CFBinaryHeapRemoveAllValues.
func CFBinaryHeapRemoveMinimumValue ¶
func CFBinaryHeapRemoveMinimumValue(heap CFBinaryHeapRef)
CFBinaryHeapRemoveMinimumValue calls the CoreFoundation framework function CFBinaryHeapRemoveMinimumValue.
func CFBitVectorContainsBit ¶
func CFBitVectorContainsBit(bv CFBitVectorRef, range_ CFRange, value int) uint8
CFBitVectorContainsBit calls the CoreFoundation framework function CFBitVectorContainsBit.
func CFBitVectorFlipBitAtIndex ¶
func CFBitVectorFlipBitAtIndex(bv CFMutableBitVectorRef, idx int)
CFBitVectorFlipBitAtIndex calls the CoreFoundation framework function CFBitVectorFlipBitAtIndex.
func CFBitVectorFlipBits ¶
func CFBitVectorFlipBits(bv CFMutableBitVectorRef, range_ CFRange)
CFBitVectorFlipBits calls the CoreFoundation framework function CFBitVectorFlipBits.
func CFBitVectorGetBitAtIndex ¶
func CFBitVectorGetBitAtIndex(bv CFBitVectorRef, idx int) int
CFBitVectorGetBitAtIndex calls the CoreFoundation framework function CFBitVectorGetBitAtIndex.
func CFBitVectorGetBits ¶
func CFBitVectorGetBits(bv CFBitVectorRef, range_ CFRange) (data uint8)
CFBitVectorGetBits calls the CoreFoundation framework function CFBitVectorGetBits.
func CFBitVectorGetCount ¶
func CFBitVectorGetCount(bv CFBitVectorRef) int
CFBitVectorGetCount calls the CoreFoundation framework function CFBitVectorGetCount.
func CFBitVectorGetCountOfBit ¶
func CFBitVectorGetCountOfBit(bv CFBitVectorRef, range_ CFRange, value int) int
CFBitVectorGetCountOfBit calls the CoreFoundation framework function CFBitVectorGetCountOfBit.
func CFBitVectorGetFirstIndexOfBit ¶
func CFBitVectorGetFirstIndexOfBit(bv CFBitVectorRef, range_ CFRange, value int) int
CFBitVectorGetFirstIndexOfBit calls the CoreFoundation framework function CFBitVectorGetFirstIndexOfBit.
func CFBitVectorGetLastIndexOfBit ¶
func CFBitVectorGetLastIndexOfBit(bv CFBitVectorRef, range_ CFRange, value int) int
CFBitVectorGetLastIndexOfBit calls the CoreFoundation framework function CFBitVectorGetLastIndexOfBit.
func CFBitVectorGetTypeID ¶
func CFBitVectorGetTypeID() int
CFBitVectorGetTypeID calls the CoreFoundation framework function CFBitVectorGetTypeID.
func CFBitVectorSetAllBits ¶
func CFBitVectorSetAllBits(bv CFMutableBitVectorRef, value int)
CFBitVectorSetAllBits calls the CoreFoundation framework function CFBitVectorSetAllBits.
func CFBitVectorSetBitAtIndex ¶
func CFBitVectorSetBitAtIndex(bv CFMutableBitVectorRef, idx int, value int)
CFBitVectorSetBitAtIndex calls the CoreFoundation framework function CFBitVectorSetBitAtIndex.
func CFBitVectorSetBits ¶
func CFBitVectorSetBits(bv CFMutableBitVectorRef, range_ CFRange, value int)
CFBitVectorSetBits calls the CoreFoundation framework function CFBitVectorSetBits.
func CFBitVectorSetCount ¶
func CFBitVectorSetCount(bv CFMutableBitVectorRef, count int)
CFBitVectorSetCount calls the CoreFoundation framework function CFBitVectorSetCount.
func CFBooleanGetTypeID ¶
func CFBooleanGetTypeID() int
CFBooleanGetTypeID calls the CoreFoundation framework function CFBooleanGetTypeID.
func CFBooleanGetValue ¶
func CFBooleanGetValue(boolean CFBooleanRef) uint8
CFBooleanGetValue calls the CoreFoundation framework function CFBooleanGetValue.
func CFBundleCloseBundleResourceMap ¶
func CFBundleCloseBundleResourceMap(bundle CFBundleRef, refNum int)
CFBundleCloseBundleResourceMap calls the CoreFoundation framework function CFBundleCloseBundleResourceMap.
func CFBundleGetDataPointerForName ¶
func CFBundleGetDataPointerForName(bundle CFBundleRef, symbolName CFStringRef) unsafe.Pointer
CFBundleGetDataPointerForName calls the CoreFoundation framework function CFBundleGetDataPointerForName.
func CFBundleGetDataPointersForNames ¶
func CFBundleGetDataPointersForNames(bundle CFBundleRef, symbolNames CFArrayRef, stbl unsafe.Pointer)
CFBundleGetDataPointersForNames calls the CoreFoundation framework function CFBundleGetDataPointersForNames.
func CFBundleGetFunctionPointerForName ¶
func CFBundleGetFunctionPointerForName(bundle CFBundleRef, functionName CFStringRef) unsafe.Pointer
CFBundleGetFunctionPointerForName calls the CoreFoundation framework function CFBundleGetFunctionPointerForName.
func CFBundleGetFunctionPointersForNames ¶
func CFBundleGetFunctionPointersForNames(bundle CFBundleRef, functionNames CFArrayRef, ftbl unsafe.Pointer)
CFBundleGetFunctionPointersForNames calls the CoreFoundation framework function CFBundleGetFunctionPointersForNames.
func CFBundleGetPackageInfo ¶
func CFBundleGetPackageInfo(bundle CFBundleRef) (packageType int, packageCreator int)
CFBundleGetPackageInfo calls the CoreFoundation framework function CFBundleGetPackageInfo.
func CFBundleGetPackageInfoInDirectory ¶
func CFBundleGetPackageInfoInDirectory(url CFURLRef) (result uint8, packageType int, packageCreator int)
CFBundleGetPackageInfoInDirectory calls the CoreFoundation framework function CFBundleGetPackageInfoInDirectory.
func CFBundleGetTypeID ¶
func CFBundleGetTypeID() int
CFBundleGetTypeID calls the CoreFoundation framework function CFBundleGetTypeID.
func CFBundleGetValueForInfoDictionaryKey ¶
func CFBundleGetValueForInfoDictionaryKey(bundle CFBundleRef, key CFStringRef) obj.Object
CFBundleGetValueForInfoDictionaryKey calls the CoreFoundation framework function CFBundleGetValueForInfoDictionaryKey.
func CFBundleGetVersionNumber ¶
func CFBundleGetVersionNumber(bundle CFBundleRef) int
CFBundleGetVersionNumber calls the CoreFoundation framework function CFBundleGetVersionNumber.
func CFBundleIsArchitectureLoadable ¶
CFBundleIsArchitectureLoadable calls the CoreFoundation framework function CFBundleIsArchitectureLoadable.
func CFBundleIsExecutableLoadable ¶
func CFBundleIsExecutableLoadable(bundle CFBundleRef) uint8
CFBundleIsExecutableLoadable calls the CoreFoundation framework function CFBundleIsExecutableLoadable.
func CFBundleIsExecutableLoadableForURL ¶
CFBundleIsExecutableLoadableForURL calls the CoreFoundation framework function CFBundleIsExecutableLoadableForURL.
func CFBundleIsExecutableLoaded ¶
func CFBundleIsExecutableLoaded(bundle CFBundleRef) uint8
CFBundleIsExecutableLoaded calls the CoreFoundation framework function CFBundleIsExecutableLoaded.
func CFBundleLoadExecutable ¶
func CFBundleLoadExecutable(bundle CFBundleRef) uint8
CFBundleLoadExecutable calls the CoreFoundation framework function CFBundleLoadExecutable.
func CFBundleLoadExecutableAndReturnError ¶
func CFBundleLoadExecutableAndReturnError(bundle CFBundleRef) error
func CFBundleOpenBundleResourceFiles ¶
func CFBundleOpenBundleResourceFiles(bundle CFBundleRef) (result int, refNum int, localizedRefNum int)
CFBundleOpenBundleResourceFiles calls the CoreFoundation framework function CFBundleOpenBundleResourceFiles.
func CFBundleOpenBundleResourceMap ¶
func CFBundleOpenBundleResourceMap(bundle CFBundleRef) int
CFBundleOpenBundleResourceMap calls the CoreFoundation framework function CFBundleOpenBundleResourceMap.
func CFBundlePreflightExecutable ¶
func CFBundlePreflightExecutable(bundle CFBundleRef) error
func CFBundleUnloadExecutable ¶
func CFBundleUnloadExecutable(bundle CFBundleRef)
CFBundleUnloadExecutable calls the CoreFoundation framework function CFBundleUnloadExecutable.
func CFByteOrderGetCurrent ¶
func CFByteOrderGetCurrent() int
CFByteOrderGetCurrent calls the CoreFoundation framework function CFByteOrderGetCurrent.
func CFCalendarGetFirstWeekday ¶
func CFCalendarGetFirstWeekday(calendar CFCalendarRef) int
CFCalendarGetFirstWeekday calls the CoreFoundation framework function CFCalendarGetFirstWeekday.
func CFCalendarGetIdentifier ¶
func CFCalendarGetIdentifier(calendar CFCalendarRef) unsafe.Pointer
CFCalendarGetIdentifier calls the CoreFoundation framework function CFCalendarGetIdentifier.
func CFCalendarGetMinimumDaysInFirstWeek ¶
func CFCalendarGetMinimumDaysInFirstWeek(calendar CFCalendarRef) int
CFCalendarGetMinimumDaysInFirstWeek calls the CoreFoundation framework function CFCalendarGetMinimumDaysInFirstWeek.
func CFCalendarGetOrdinalityOfUnit ¶
func CFCalendarGetOrdinalityOfUnit(calendar CFCalendarRef, smallerUnit CFCalendarUnit, biggerUnit CFCalendarUnit, at float64) int
CFCalendarGetOrdinalityOfUnit calls the CoreFoundation framework function CFCalendarGetOrdinalityOfUnit.
func CFCalendarGetTimeRangeOfUnit ¶
func CFCalendarGetTimeRangeOfUnit(calendar CFCalendarRef, unit CFCalendarUnit, at float64) (result uint8, startp float64, tip float64)
CFCalendarGetTimeRangeOfUnit calls the CoreFoundation framework function CFCalendarGetTimeRangeOfUnit.
func CFCalendarGetTypeID ¶
func CFCalendarGetTypeID() int
CFCalendarGetTypeID calls the CoreFoundation framework function CFCalendarGetTypeID.
func CFCalendarSetFirstWeekday ¶
func CFCalendarSetFirstWeekday(calendar CFCalendarRef, wkdy int)
CFCalendarSetFirstWeekday calls the CoreFoundation framework function CFCalendarSetFirstWeekday.
func CFCalendarSetLocale ¶
func CFCalendarSetLocale(calendar CFCalendarRef, locale CFLocaleRef)
CFCalendarSetLocale calls the CoreFoundation framework function CFCalendarSetLocale.
func CFCalendarSetMinimumDaysInFirstWeek ¶
func CFCalendarSetMinimumDaysInFirstWeek(calendar CFCalendarRef, mwd int)
CFCalendarSetMinimumDaysInFirstWeek calls the CoreFoundation framework function CFCalendarSetMinimumDaysInFirstWeek.
func CFCalendarSetTimeZone ¶
func CFCalendarSetTimeZone(calendar CFCalendarRef, tz CFTimeZoneRef)
CFCalendarSetTimeZone calls the CoreFoundation framework function CFCalendarSetTimeZone.
func CFCharacterSetAddCharactersInRange ¶
func CFCharacterSetAddCharactersInRange(theSet CFMutableCharacterSetRef, theRange CFRange)
CFCharacterSetAddCharactersInRange calls the CoreFoundation framework function CFCharacterSetAddCharactersInRange.
func CFCharacterSetAddCharactersInString ¶
func CFCharacterSetAddCharactersInString(theSet CFMutableCharacterSetRef, theString CFStringRef)
CFCharacterSetAddCharactersInString calls the CoreFoundation framework function CFCharacterSetAddCharactersInString.
func CFCharacterSetGetTypeID ¶
func CFCharacterSetGetTypeID() int
CFCharacterSetGetTypeID calls the CoreFoundation framework function CFCharacterSetGetTypeID.
func CFCharacterSetHasMemberInPlane ¶
func CFCharacterSetHasMemberInPlane(theSet CFCharacterSetRef, thePlane int) uint8
CFCharacterSetHasMemberInPlane calls the CoreFoundation framework function CFCharacterSetHasMemberInPlane.
func CFCharacterSetIntersect ¶
func CFCharacterSetIntersect(theSet CFMutableCharacterSetRef, theOtherSet CFCharacterSetRef)
CFCharacterSetIntersect calls the CoreFoundation framework function CFCharacterSetIntersect.
func CFCharacterSetInvert ¶
func CFCharacterSetInvert(theSet CFMutableCharacterSetRef)
CFCharacterSetInvert calls the CoreFoundation framework function CFCharacterSetInvert.
func CFCharacterSetIsCharacterMember ¶
func CFCharacterSetIsCharacterMember(theSet CFCharacterSetRef, theChar uint16) uint8
CFCharacterSetIsCharacterMember calls the CoreFoundation framework function CFCharacterSetIsCharacterMember.
func CFCharacterSetIsLongCharacterMember ¶
func CFCharacterSetIsLongCharacterMember(theSet CFCharacterSetRef, theChar int) uint8
CFCharacterSetIsLongCharacterMember calls the CoreFoundation framework function CFCharacterSetIsLongCharacterMember.
func CFCharacterSetIsSupersetOfSet ¶
func CFCharacterSetIsSupersetOfSet(theSet CFCharacterSetRef, theOtherset CFCharacterSetRef) uint8
CFCharacterSetIsSupersetOfSet calls the CoreFoundation framework function CFCharacterSetIsSupersetOfSet.
func CFCharacterSetRemoveCharactersInRange ¶
func CFCharacterSetRemoveCharactersInRange(theSet CFMutableCharacterSetRef, theRange CFRange)
CFCharacterSetRemoveCharactersInRange calls the CoreFoundation framework function CFCharacterSetRemoveCharactersInRange.
func CFCharacterSetRemoveCharactersInString ¶
func CFCharacterSetRemoveCharactersInString(theSet CFMutableCharacterSetRef, theString CFStringRef)
CFCharacterSetRemoveCharactersInString calls the CoreFoundation framework function CFCharacterSetRemoveCharactersInString.
func CFCharacterSetUnion ¶
func CFCharacterSetUnion(theSet CFMutableCharacterSetRef, theOtherSet CFCharacterSetRef)
CFCharacterSetUnion calls the CoreFoundation framework function CFCharacterSetUnion.
func CFConvertDoubleSwappedToHost ¶
func CFConvertDoubleSwappedToHost(arg CFSwappedFloat64) float64
CFConvertDoubleSwappedToHost calls the CoreFoundation framework function CFConvertDoubleSwappedToHost.
func CFConvertFloat32SwappedToHost ¶
func CFConvertFloat32SwappedToHost(arg CFSwappedFloat32) float32
CFConvertFloat32SwappedToHost calls the CoreFoundation framework function CFConvertFloat32SwappedToHost.
func CFConvertFloat64SwappedToHost ¶
func CFConvertFloat64SwappedToHost(arg CFSwappedFloat64) float64
CFConvertFloat64SwappedToHost calls the CoreFoundation framework function CFConvertFloat64SwappedToHost.
func CFConvertFloatSwappedToHost ¶
func CFConvertFloatSwappedToHost(arg CFSwappedFloat32) float32
CFConvertFloatSwappedToHost calls the CoreFoundation framework function CFConvertFloatSwappedToHost.
func CFDataAppendBytes ¶
func CFDataAppendBytes(theData CFMutableDataRef, data unsafe.Pointer, length int)
CFDataAppendBytes calls the CoreFoundation framework function CFDataAppendBytes.
func CFDataDeleteBytes ¶
func CFDataDeleteBytes(theData CFMutableDataRef, range_ CFRange)
CFDataDeleteBytes calls the CoreFoundation framework function CFDataDeleteBytes.
func CFDataGetBytePtr ¶
CFDataGetBytePtr calls the CoreFoundation framework function CFDataGetBytePtr.
func CFDataGetBytes ¶
CFDataGetBytes calls the CoreFoundation framework function CFDataGetBytes.
func CFDataGetLength ¶
CFDataGetLength calls the CoreFoundation framework function CFDataGetLength.
func CFDataGetMutableBytePtr ¶
func CFDataGetMutableBytePtr(theData CFMutableDataRef) unsafe.Pointer
CFDataGetMutableBytePtr calls the CoreFoundation framework function CFDataGetMutableBytePtr.
func CFDataGetTypeID ¶
func CFDataGetTypeID() int
CFDataGetTypeID calls the CoreFoundation framework function CFDataGetTypeID.
func CFDataIncreaseLength ¶
func CFDataIncreaseLength(theData CFMutableDataRef, extraLength int)
CFDataIncreaseLength calls the CoreFoundation framework function CFDataIncreaseLength.
func CFDataReplaceBytes ¶
func CFDataReplaceBytes(theData CFMutableDataRef, range_ CFRange, newBytes unsafe.Pointer, newLength int)
CFDataReplaceBytes calls the CoreFoundation framework function CFDataReplaceBytes.
func CFDataSetLength ¶
func CFDataSetLength(theData CFMutableDataRef, length int)
CFDataSetLength calls the CoreFoundation framework function CFDataSetLength.
func CFDateFormatterCopyProperty ¶
func CFDateFormatterCopyProperty(formatter CFDateFormatterRef, key unsafe.Pointer) obj.Object
CFDateFormatterCopyProperty calls the CoreFoundation framework function CFDateFormatterCopyProperty.
func CFDateFormatterCreateDateFromString ¶
func CFDateFormatterCreateDateFromString(allocator CFAllocatorRef, formatter CFDateFormatterRef, str CFStringRef) (result CFDateRef, rangep CFRange)
CFDateFormatterCreateDateFromString calls the CoreFoundation framework function CFDateFormatterCreateDateFromString.
func CFDateFormatterGetTypeID ¶
func CFDateFormatterGetTypeID() int
CFDateFormatterGetTypeID calls the CoreFoundation framework function CFDateFormatterGetTypeID.
func CFDateFormatterSetFormat ¶
func CFDateFormatterSetFormat(formatter CFDateFormatterRef, formatString CFStringRef)
CFDateFormatterSetFormat calls the CoreFoundation framework function CFDateFormatterSetFormat.
func CFDateFormatterSetProperty ¶
func CFDateFormatterSetProperty(formatter CFDateFormatterRef, key CFStringRef, value obj.Object)
CFDateFormatterSetProperty calls the CoreFoundation framework function CFDateFormatterSetProperty.
func CFDateGetAbsoluteTime ¶
CFDateGetAbsoluteTime calls the CoreFoundation framework function CFDateGetAbsoluteTime.
func CFDateGetTimeIntervalSinceDate ¶
CFDateGetTimeIntervalSinceDate calls the CoreFoundation framework function CFDateGetTimeIntervalSinceDate.
func CFDateGetTypeID ¶
func CFDateGetTypeID() int
CFDateGetTypeID calls the CoreFoundation framework function CFDateGetTypeID.
func CFDictionaryAddValue ¶
func CFDictionaryAddValue(theDict CFMutableDictionaryRef, key unsafe.Pointer, value unsafe.Pointer)
CFDictionaryAddValue calls the CoreFoundation framework function CFDictionaryAddValue.
func CFDictionaryApplyFunction ¶
func CFDictionaryApplyFunction(theDict CFDictionaryRef, applier unsafe.Pointer, context_ unsafe.Pointer)
CFDictionaryApplyFunction calls the CoreFoundation framework function CFDictionaryApplyFunction.
func CFDictionaryContainsKey ¶
func CFDictionaryContainsKey(theDict CFDictionaryRef, key unsafe.Pointer) uint8
CFDictionaryContainsKey calls the CoreFoundation framework function CFDictionaryContainsKey.
func CFDictionaryContainsValue ¶
func CFDictionaryContainsValue(theDict CFDictionaryRef, value unsafe.Pointer) uint8
CFDictionaryContainsValue calls the CoreFoundation framework function CFDictionaryContainsValue.
func CFDictionaryGetCount ¶
func CFDictionaryGetCount(theDict CFDictionaryRef) int
CFDictionaryGetCount calls the CoreFoundation framework function CFDictionaryGetCount.
func CFDictionaryGetCountOfKey ¶
func CFDictionaryGetCountOfKey(theDict CFDictionaryRef, key unsafe.Pointer) int
CFDictionaryGetCountOfKey calls the CoreFoundation framework function CFDictionaryGetCountOfKey.
func CFDictionaryGetCountOfValue ¶
func CFDictionaryGetCountOfValue(theDict CFDictionaryRef, value unsafe.Pointer) int
CFDictionaryGetCountOfValue calls the CoreFoundation framework function CFDictionaryGetCountOfValue.
func CFDictionaryGetKeysAndValues ¶
func CFDictionaryGetKeysAndValues(theDict CFDictionaryRef, keys unsafe.Pointer, values unsafe.Pointer)
CFDictionaryGetKeysAndValues calls the CoreFoundation framework function CFDictionaryGetKeysAndValues.
func CFDictionaryGetTypeID ¶
func CFDictionaryGetTypeID() int
CFDictionaryGetTypeID calls the CoreFoundation framework function CFDictionaryGetTypeID.
func CFDictionaryGetValue ¶
func CFDictionaryGetValue(theDict CFDictionaryRef, key unsafe.Pointer) unsafe.Pointer
CFDictionaryGetValue calls the CoreFoundation framework function CFDictionaryGetValue.
func CFDictionaryGetValueIfPresent ¶
func CFDictionaryGetValueIfPresent(theDict CFDictionaryRef, key unsafe.Pointer, value unsafe.Pointer) uint8
CFDictionaryGetValueIfPresent calls the CoreFoundation framework function CFDictionaryGetValueIfPresent.
func CFDictionaryRemoveAllValues ¶
func CFDictionaryRemoveAllValues(theDict CFMutableDictionaryRef)
CFDictionaryRemoveAllValues calls the CoreFoundation framework function CFDictionaryRemoveAllValues.
func CFDictionaryRemoveValue ¶
func CFDictionaryRemoveValue(theDict CFMutableDictionaryRef, key unsafe.Pointer)
CFDictionaryRemoveValue calls the CoreFoundation framework function CFDictionaryRemoveValue.
func CFDictionaryReplaceValue ¶
func CFDictionaryReplaceValue(theDict CFMutableDictionaryRef, key unsafe.Pointer, value unsafe.Pointer)
CFDictionaryReplaceValue calls the CoreFoundation framework function CFDictionaryReplaceValue.
func CFDictionarySetValue ¶
func CFDictionarySetValue(theDict CFMutableDictionaryRef, key unsafe.Pointer, value unsafe.Pointer)
CFDictionarySetValue calls the CoreFoundation framework function CFDictionarySetValue.
func CFErrorGetCode ¶
func CFErrorGetCode(err CFErrorRef) int
CFErrorGetCode calls the CoreFoundation framework function CFErrorGetCode.
func CFErrorGetDomain ¶
func CFErrorGetDomain(err CFErrorRef) unsafe.Pointer
CFErrorGetDomain calls the CoreFoundation framework function CFErrorGetDomain.
func CFErrorGetTypeID ¶
func CFErrorGetTypeID() int
CFErrorGetTypeID calls the CoreFoundation framework function CFErrorGetTypeID.
func CFFileDescriptorDisableCallBacks ¶
func CFFileDescriptorDisableCallBacks(f CFFileDescriptorRef, callBackTypes int)
CFFileDescriptorDisableCallBacks calls the CoreFoundation framework function CFFileDescriptorDisableCallBacks.
func CFFileDescriptorEnableCallBacks ¶
func CFFileDescriptorEnableCallBacks(f CFFileDescriptorRef, callBackTypes int)
CFFileDescriptorEnableCallBacks calls the CoreFoundation framework function CFFileDescriptorEnableCallBacks.
func CFFileDescriptorGetContext ¶
func CFFileDescriptorGetContext(f CFFileDescriptorRef, context_ unsafe.Pointer)
CFFileDescriptorGetContext calls the CoreFoundation framework function CFFileDescriptorGetContext.
func CFFileDescriptorGetNativeDescriptor ¶
func CFFileDescriptorGetNativeDescriptor(f CFFileDescriptorRef) int
CFFileDescriptorGetNativeDescriptor calls the CoreFoundation framework function CFFileDescriptorGetNativeDescriptor.
func CFFileDescriptorGetTypeID ¶
func CFFileDescriptorGetTypeID() int
CFFileDescriptorGetTypeID calls the CoreFoundation framework function CFFileDescriptorGetTypeID.
func CFFileDescriptorInvalidate ¶
func CFFileDescriptorInvalidate(f CFFileDescriptorRef)
CFFileDescriptorInvalidate calls the CoreFoundation framework function CFFileDescriptorInvalidate.
func CFFileDescriptorIsValid ¶
func CFFileDescriptorIsValid(f CFFileDescriptorRef) uint8
CFFileDescriptorIsValid calls the CoreFoundation framework function CFFileDescriptorIsValid.
func CFFileSecurityClearProperties ¶
func CFFileSecurityClearProperties(fileSec CFFileSecurityRef, clearPropertyMask CFFileSecurityClearOptions) uint8
CFFileSecurityClearProperties calls the CoreFoundation framework function CFFileSecurityClearProperties.
func CFFileSecurityCopyAccessControlList ¶
func CFFileSecurityCopyAccessControlList(fileSec CFFileSecurityRef, accessControlList unsafe.Pointer) uint8
CFFileSecurityCopyAccessControlList calls the CoreFoundation framework function CFFileSecurityCopyAccessControlList.
func CFFileSecurityCopyGroupUUID ¶
func CFFileSecurityCopyGroupUUID(fileSec CFFileSecurityRef, groupUUID unsafe.Pointer) uint8
CFFileSecurityCopyGroupUUID calls the CoreFoundation framework function CFFileSecurityCopyGroupUUID.
func CFFileSecurityCopyOwnerUUID ¶
func CFFileSecurityCopyOwnerUUID(fileSec CFFileSecurityRef, ownerUUID unsafe.Pointer) uint8
CFFileSecurityCopyOwnerUUID calls the CoreFoundation framework function CFFileSecurityCopyOwnerUUID.
func CFFileSecurityGetGroup ¶
func CFFileSecurityGetGroup(fileSec CFFileSecurityRef) (result uint8, group int)
CFFileSecurityGetGroup calls the CoreFoundation framework function CFFileSecurityGetGroup.
func CFFileSecurityGetMode ¶
func CFFileSecurityGetMode(fileSec CFFileSecurityRef) (result uint8, mode uint16)
CFFileSecurityGetMode calls the CoreFoundation framework function CFFileSecurityGetMode.
func CFFileSecurityGetOwner ¶
func CFFileSecurityGetOwner(fileSec CFFileSecurityRef) (result uint8, owner int)
CFFileSecurityGetOwner calls the CoreFoundation framework function CFFileSecurityGetOwner.
func CFFileSecurityGetTypeID ¶
func CFFileSecurityGetTypeID() int
CFFileSecurityGetTypeID calls the CoreFoundation framework function CFFileSecurityGetTypeID.
func CFFileSecuritySetAccessControlList ¶
func CFFileSecuritySetAccessControlList(fileSec CFFileSecurityRef, accessControlList unsafe.Pointer) uint8
CFFileSecuritySetAccessControlList calls the CoreFoundation framework function CFFileSecuritySetAccessControlList.
func CFFileSecuritySetGroup ¶
func CFFileSecuritySetGroup(fileSec CFFileSecurityRef, group int) uint8
CFFileSecuritySetGroup calls the CoreFoundation framework function CFFileSecuritySetGroup.
func CFFileSecuritySetGroupUUID ¶
func CFFileSecuritySetGroupUUID(fileSec CFFileSecurityRef, groupUUID CFUUIDRef) uint8
CFFileSecuritySetGroupUUID calls the CoreFoundation framework function CFFileSecuritySetGroupUUID.
func CFFileSecuritySetMode ¶
func CFFileSecuritySetMode(fileSec CFFileSecurityRef, mode uint16) uint8
CFFileSecuritySetMode calls the CoreFoundation framework function CFFileSecuritySetMode.
func CFFileSecuritySetOwner ¶
func CFFileSecuritySetOwner(fileSec CFFileSecurityRef, owner int) uint8
CFFileSecuritySetOwner calls the CoreFoundation framework function CFFileSecuritySetOwner.
func CFFileSecuritySetOwnerUUID ¶
func CFFileSecuritySetOwnerUUID(fileSec CFFileSecurityRef, ownerUUID CFUUIDRef) uint8
CFFileSecuritySetOwnerUUID calls the CoreFoundation framework function CFFileSecuritySetOwnerUUID.
func CFGetRetainCount ¶
CFGetRetainCount calls the CoreFoundation framework function CFGetRetainCount.
func CFGetTypeID ¶
CFGetTypeID calls the CoreFoundation framework function CFGetTypeID.
func CFGregorianDateGetAbsoluteTime ¶
func CFGregorianDateGetAbsoluteTime(gdate CFGregorianDate, tz CFTimeZoneRef) float64
CFGregorianDateGetAbsoluteTime calls the CoreFoundation framework function CFGregorianDateGetAbsoluteTime.
func CFGregorianDateIsValid ¶
func CFGregorianDateIsValid(gdate CFGregorianDate, unitFlags int) uint8
CFGregorianDateIsValid calls the CoreFoundation framework function CFGregorianDateIsValid.
func CFLocaleCreateCanonicalLanguageIdentifierFromString ¶
func CFLocaleCreateCanonicalLanguageIdentifierFromString(allocator CFAllocatorRef, localeIdentifier CFStringRef) unsafe.Pointer
CFLocaleCreateCanonicalLanguageIdentifierFromString calls the CoreFoundation framework function CFLocaleCreateCanonicalLanguageIdentifierFromString.
func CFLocaleCreateCanonicalLocaleIdentifierFromScriptManagerCodes ¶
func CFLocaleCreateCanonicalLocaleIdentifierFromScriptManagerCodes(allocator CFAllocatorRef, lcode int16, rcode int16) unsafe.Pointer
CFLocaleCreateCanonicalLocaleIdentifierFromScriptManagerCodes calls the CoreFoundation framework function CFLocaleCreateCanonicalLocaleIdentifierFromScriptManagerCodes.
func CFLocaleCreateCanonicalLocaleIdentifierFromString ¶
func CFLocaleCreateCanonicalLocaleIdentifierFromString(allocator CFAllocatorRef, localeIdentifier CFStringRef) unsafe.Pointer
CFLocaleCreateCanonicalLocaleIdentifierFromString calls the CoreFoundation framework function CFLocaleCreateCanonicalLocaleIdentifierFromString.
func CFLocaleCreateLocaleIdentifierFromComponents ¶
func CFLocaleCreateLocaleIdentifierFromComponents(allocator CFAllocatorRef, dictionary CFDictionaryRef) unsafe.Pointer
CFLocaleCreateLocaleIdentifierFromComponents calls the CoreFoundation framework function CFLocaleCreateLocaleIdentifierFromComponents.
func CFLocaleCreateLocaleIdentifierFromWindowsLocaleCode ¶
func CFLocaleCreateLocaleIdentifierFromWindowsLocaleCode(allocator CFAllocatorRef, lcid uint32) unsafe.Pointer
CFLocaleCreateLocaleIdentifierFromWindowsLocaleCode calls the CoreFoundation framework function CFLocaleCreateLocaleIdentifierFromWindowsLocaleCode.
func CFLocaleGetIdentifier ¶
func CFLocaleGetIdentifier(locale CFLocaleRef) unsafe.Pointer
CFLocaleGetIdentifier calls the CoreFoundation framework function CFLocaleGetIdentifier.
func CFLocaleGetTypeID ¶
func CFLocaleGetTypeID() int
CFLocaleGetTypeID calls the CoreFoundation framework function CFLocaleGetTypeID.
func CFLocaleGetValue ¶
func CFLocaleGetValue(locale CFLocaleRef, key unsafe.Pointer) obj.Object
CFLocaleGetValue calls the CoreFoundation framework function CFLocaleGetValue.
func CFLocaleGetWindowsLocaleCodeFromLocaleIdentifier ¶
CFLocaleGetWindowsLocaleCodeFromLocaleIdentifier calls the CoreFoundation framework function CFLocaleGetWindowsLocaleCodeFromLocaleIdentifier.
func CFMachPortGetContext ¶
func CFMachPortGetContext(port CFMachPortRef, context_ unsafe.Pointer)
CFMachPortGetContext calls the CoreFoundation framework function CFMachPortGetContext.
func CFMachPortGetInvalidationCallBack ¶
func CFMachPortGetInvalidationCallBack(port CFMachPortRef) unsafe.Pointer
CFMachPortGetInvalidationCallBack calls the CoreFoundation framework function CFMachPortGetInvalidationCallBack.
func CFMachPortGetPort ¶
func CFMachPortGetPort(port CFMachPortRef) int
CFMachPortGetPort calls the CoreFoundation framework function CFMachPortGetPort.
func CFMachPortGetTypeID ¶
func CFMachPortGetTypeID() int
CFMachPortGetTypeID calls the CoreFoundation framework function CFMachPortGetTypeID.
func CFMachPortInvalidate ¶
func CFMachPortInvalidate(port CFMachPortRef)
CFMachPortInvalidate calls the CoreFoundation framework function CFMachPortInvalidate.
func CFMachPortIsValid ¶
func CFMachPortIsValid(port CFMachPortRef) uint8
CFMachPortIsValid calls the CoreFoundation framework function CFMachPortIsValid.
func CFMachPortSetInvalidationCallBack ¶
func CFMachPortSetInvalidationCallBack(port CFMachPortRef, callout unsafe.Pointer)
CFMachPortSetInvalidationCallBack calls the CoreFoundation framework function CFMachPortSetInvalidationCallBack.
func CFMakeCollectable ¶
CFMakeCollectable calls the CoreFoundation framework function CFMakeCollectable.
func CFMessagePortGetContext ¶
func CFMessagePortGetContext(ms CFMessagePortRef, context_ unsafe.Pointer)
CFMessagePortGetContext calls the CoreFoundation framework function CFMessagePortGetContext.
func CFMessagePortGetInvalidationCallBack ¶
func CFMessagePortGetInvalidationCallBack(ms CFMessagePortRef) unsafe.Pointer
CFMessagePortGetInvalidationCallBack calls the CoreFoundation framework function CFMessagePortGetInvalidationCallBack.
func CFMessagePortGetTypeID ¶
func CFMessagePortGetTypeID() int
CFMessagePortGetTypeID calls the CoreFoundation framework function CFMessagePortGetTypeID.
func CFMessagePortInvalidate ¶
func CFMessagePortInvalidate(ms CFMessagePortRef)
CFMessagePortInvalidate calls the CoreFoundation framework function CFMessagePortInvalidate.
func CFMessagePortIsRemote ¶
func CFMessagePortIsRemote(ms CFMessagePortRef) uint8
CFMessagePortIsRemote calls the CoreFoundation framework function CFMessagePortIsRemote.
func CFMessagePortIsValid ¶
func CFMessagePortIsValid(ms CFMessagePortRef) uint8
CFMessagePortIsValid calls the CoreFoundation framework function CFMessagePortIsValid.
func CFMessagePortSendRequest ¶
func CFMessagePortSendRequest(remote CFMessagePortRef, msgid int, data CFDataRef, sendTimeout float64, rcvTimeout float64, replyMode CFStringRef, returnData unsafe.Pointer) int
CFMessagePortSendRequest calls the CoreFoundation framework function CFMessagePortSendRequest.
func CFMessagePortSetDispatchQueue ¶
func CFMessagePortSetDispatchQueue(ms CFMessagePortRef, queue dispatch.Queue)
CFMessagePortSetDispatchQueue calls the CoreFoundation framework function CFMessagePortSetDispatchQueue.
func CFMessagePortSetInvalidationCallBack ¶
func CFMessagePortSetInvalidationCallBack(ms CFMessagePortRef, callout unsafe.Pointer)
CFMessagePortSetInvalidationCallBack calls the CoreFoundation framework function CFMessagePortSetInvalidationCallBack.
func CFMessagePortSetName ¶
func CFMessagePortSetName(ms CFMessagePortRef, newName CFStringRef) uint8
CFMessagePortSetName calls the CoreFoundation framework function CFMessagePortSetName.
func CFNotificationCenterAddObserver ¶
func CFNotificationCenterAddObserver(center CFNotificationCenterRef, observer unsafe.Pointer, callBack unsafe.Pointer, name CFStringRef, object unsafe.Pointer, suspensionBehavior CFNotificationSuspensionBehavior)
CFNotificationCenterAddObserver calls the CoreFoundation framework function CFNotificationCenterAddObserver.
func CFNotificationCenterGetTypeID ¶
func CFNotificationCenterGetTypeID() int
CFNotificationCenterGetTypeID calls the CoreFoundation framework function CFNotificationCenterGetTypeID.
func CFNotificationCenterPostNotification ¶
func CFNotificationCenterPostNotification(center CFNotificationCenterRef, name unsafe.Pointer, object unsafe.Pointer, userInfo CFDictionaryRef, deliverImmediately uint8)
CFNotificationCenterPostNotification calls the CoreFoundation framework function CFNotificationCenterPostNotification.
func CFNotificationCenterPostNotificationWithOptions ¶
func CFNotificationCenterPostNotificationWithOptions(center CFNotificationCenterRef, name unsafe.Pointer, object unsafe.Pointer, userInfo CFDictionaryRef, options int)
CFNotificationCenterPostNotificationWithOptions calls the CoreFoundation framework function CFNotificationCenterPostNotificationWithOptions.
func CFNotificationCenterRemoveEveryObserver ¶
func CFNotificationCenterRemoveEveryObserver(center CFNotificationCenterRef, observer unsafe.Pointer)
CFNotificationCenterRemoveEveryObserver calls the CoreFoundation framework function CFNotificationCenterRemoveEveryObserver.
func CFNotificationCenterRemoveObserver ¶
func CFNotificationCenterRemoveObserver(center CFNotificationCenterRef, observer unsafe.Pointer, name unsafe.Pointer, object unsafe.Pointer)
CFNotificationCenterRemoveObserver calls the CoreFoundation framework function CFNotificationCenterRemoveObserver.
func CFNullGetTypeID ¶
func CFNullGetTypeID() int
CFNullGetTypeID calls the CoreFoundation framework function CFNullGetTypeID.
func CFNumberFormatterCopyProperty ¶
func CFNumberFormatterCopyProperty(formatter CFNumberFormatterRef, key unsafe.Pointer) obj.Object
CFNumberFormatterCopyProperty calls the CoreFoundation framework function CFNumberFormatterCopyProperty.
func CFNumberFormatterCreateNumberFromString ¶
func CFNumberFormatterCreateNumberFromString(allocator CFAllocatorRef, formatter CFNumberFormatterRef, str CFStringRef, options int) (result CFNumberRef, rangep CFRange)
CFNumberFormatterCreateNumberFromString calls the CoreFoundation framework function CFNumberFormatterCreateNumberFromString.
func CFNumberFormatterGetDecimalInfoForCurrencyCode ¶
func CFNumberFormatterGetDecimalInfoForCurrencyCode(currencyCode CFStringRef) (result uint8, defaultFractionDigits int32, roundingIncrement float64)
CFNumberFormatterGetDecimalInfoForCurrencyCode calls the CoreFoundation framework function CFNumberFormatterGetDecimalInfoForCurrencyCode.
func CFNumberFormatterGetTypeID ¶
func CFNumberFormatterGetTypeID() int
CFNumberFormatterGetTypeID calls the CoreFoundation framework function CFNumberFormatterGetTypeID.
func CFNumberFormatterSetFormat ¶
func CFNumberFormatterSetFormat(formatter CFNumberFormatterRef, formatString CFStringRef)
CFNumberFormatterSetFormat calls the CoreFoundation framework function CFNumberFormatterSetFormat.
func CFNumberFormatterSetProperty ¶
func CFNumberFormatterSetProperty(formatter CFNumberFormatterRef, key unsafe.Pointer, value obj.Object)
CFNumberFormatterSetProperty calls the CoreFoundation framework function CFNumberFormatterSetProperty.
func CFNumberGetByteSize ¶
func CFNumberGetByteSize(number CFNumberRef) int
CFNumberGetByteSize calls the CoreFoundation framework function CFNumberGetByteSize.
func CFNumberGetTypeID ¶
func CFNumberGetTypeID() int
CFNumberGetTypeID calls the CoreFoundation framework function CFNumberGetTypeID.
func CFNumberGetValue ¶
func CFNumberGetValue(number CFNumberRef, theType CFNumberType, valuePtr unsafe.Pointer) uint8
CFNumberGetValue calls the CoreFoundation framework function CFNumberGetValue.
func CFNumberIsFloatType ¶
func CFNumberIsFloatType(number CFNumberRef) uint8
CFNumberIsFloatType calls the CoreFoundation framework function CFNumberIsFloatType.
func CFPlugInAddInstanceForFactory ¶
func CFPlugInAddInstanceForFactory(factoryID CFUUIDRef)
CFPlugInAddInstanceForFactory calls the CoreFoundation framework function CFPlugInAddInstanceForFactory.
func CFPlugInGetTypeID ¶
func CFPlugInGetTypeID() int
CFPlugInGetTypeID calls the CoreFoundation framework function CFPlugInGetTypeID.
func CFPlugInInstanceCreate ¶
func CFPlugInInstanceCreate(allocator CFAllocatorRef, factoryUUID CFUUIDRef, typeUUID CFUUIDRef) unsafe.Pointer
CFPlugInInstanceCreate calls the CoreFoundation framework function CFPlugInInstanceCreate.
func CFPlugInInstanceGetInstanceData ¶
func CFPlugInInstanceGetInstanceData(instance CFPlugInInstanceRef) unsafe.Pointer
CFPlugInInstanceGetInstanceData calls the CoreFoundation framework function CFPlugInInstanceGetInstanceData.
func CFPlugInInstanceGetInterfaceFunctionTable ¶
func CFPlugInInstanceGetInterfaceFunctionTable(instance CFPlugInInstanceRef, interfaceName CFStringRef, ftbl unsafe.Pointer) uint8
CFPlugInInstanceGetInterfaceFunctionTable calls the CoreFoundation framework function CFPlugInInstanceGetInterfaceFunctionTable.
func CFPlugInInstanceGetTypeID ¶
func CFPlugInInstanceGetTypeID() int
CFPlugInInstanceGetTypeID calls the CoreFoundation framework function CFPlugInInstanceGetTypeID.
func CFPlugInIsLoadOnDemand ¶
func CFPlugInIsLoadOnDemand(plugIn CFPlugInRef) uint8
CFPlugInIsLoadOnDemand calls the CoreFoundation framework function CFPlugInIsLoadOnDemand.
func CFPlugInRegisterFactoryFunction ¶
CFPlugInRegisterFactoryFunction calls the CoreFoundation framework function CFPlugInRegisterFactoryFunction.
func CFPlugInRegisterFactoryFunctionByName ¶
func CFPlugInRegisterFactoryFunctionByName(factoryUUID CFUUIDRef, plugIn CFPlugInRef, functionName CFStringRef) uint8
CFPlugInRegisterFactoryFunctionByName calls the CoreFoundation framework function CFPlugInRegisterFactoryFunctionByName.
func CFPlugInRegisterPlugInType ¶
CFPlugInRegisterPlugInType calls the CoreFoundation framework function CFPlugInRegisterPlugInType.
func CFPlugInRemoveInstanceForFactory ¶
func CFPlugInRemoveInstanceForFactory(factoryID CFUUIDRef)
CFPlugInRemoveInstanceForFactory calls the CoreFoundation framework function CFPlugInRemoveInstanceForFactory.
func CFPlugInSetLoadOnDemand ¶
func CFPlugInSetLoadOnDemand(plugIn CFPlugInRef, flag uint8)
CFPlugInSetLoadOnDemand calls the CoreFoundation framework function CFPlugInSetLoadOnDemand.
func CFPlugInUnregisterFactory ¶
CFPlugInUnregisterFactory calls the CoreFoundation framework function CFPlugInUnregisterFactory.
func CFPlugInUnregisterPlugInType ¶
CFPlugInUnregisterPlugInType calls the CoreFoundation framework function CFPlugInUnregisterPlugInType.
func CFPreferencesAddSuitePreferencesToApp ¶
func CFPreferencesAddSuitePreferencesToApp(applicationID CFStringRef, suiteID CFStringRef)
CFPreferencesAddSuitePreferencesToApp calls the CoreFoundation framework function CFPreferencesAddSuitePreferencesToApp.
func CFPreferencesAppSynchronize ¶
func CFPreferencesAppSynchronize(applicationID CFStringRef) uint8
CFPreferencesAppSynchronize calls the CoreFoundation framework function CFPreferencesAppSynchronize.
func CFPreferencesAppValueIsForced ¶
func CFPreferencesAppValueIsForced(key CFStringRef, applicationID CFStringRef) uint8
CFPreferencesAppValueIsForced calls the CoreFoundation framework function CFPreferencesAppValueIsForced.
func CFPreferencesGetAppBooleanValue ¶
func CFPreferencesGetAppBooleanValue(key CFStringRef, applicationID CFStringRef) (result uint8, keyExistsAndHasValidFormat uint8)
CFPreferencesGetAppBooleanValue calls the CoreFoundation framework function CFPreferencesGetAppBooleanValue.
func CFPreferencesGetAppIntegerValue ¶
func CFPreferencesGetAppIntegerValue(key CFStringRef, applicationID CFStringRef) (result int, keyExistsAndHasValidFormat uint8)
CFPreferencesGetAppIntegerValue calls the CoreFoundation framework function CFPreferencesGetAppIntegerValue.
func CFPreferencesRemoveSuitePreferencesFromApp ¶
func CFPreferencesRemoveSuitePreferencesFromApp(applicationID CFStringRef, suiteID CFStringRef)
CFPreferencesRemoveSuitePreferencesFromApp calls the CoreFoundation framework function CFPreferencesRemoveSuitePreferencesFromApp.
func CFPreferencesSetAppValue ¶
func CFPreferencesSetAppValue(key CFStringRef, value CFPropertyListRef, applicationID CFStringRef)
CFPreferencesSetAppValue calls the CoreFoundation framework function CFPreferencesSetAppValue.
func CFPreferencesSetMultiple ¶
func CFPreferencesSetMultiple(keysToSet CFDictionaryRef, keysToRemove CFArrayRef, applicationID CFStringRef, userName CFStringRef, hostName CFStringRef)
CFPreferencesSetMultiple calls the CoreFoundation framework function CFPreferencesSetMultiple.
func CFPreferencesSetValue ¶
func CFPreferencesSetValue(key CFStringRef, value CFPropertyListRef, applicationID CFStringRef, userName CFStringRef, hostName CFStringRef)
CFPreferencesSetValue calls the CoreFoundation framework function CFPreferencesSetValue.
func CFPreferencesSynchronize ¶
func CFPreferencesSynchronize(applicationID CFStringRef, userName CFStringRef, hostName CFStringRef) uint8
CFPreferencesSynchronize calls the CoreFoundation framework function CFPreferencesSynchronize.
func CFPropertyListCreateData ¶
func CFPropertyListCreateData(allocator CFAllocatorRef, propertyList CFPropertyListRef, format CFPropertyListFormat, options int) (obj.Object, error)
func CFPropertyListCreateFromStream ¶
func CFPropertyListCreateFromStream(allocator CFAllocatorRef, stream CFReadStreamRef, streamLength int, mutabilityOption int, errorString unsafe.Pointer) (result CFPropertyListRef, format CFPropertyListFormat)
CFPropertyListCreateFromStream calls the CoreFoundation framework function CFPropertyListCreateFromStream.
func CFPropertyListCreateWithData ¶
func CFPropertyListCreateWithData(allocator CFAllocatorRef, data CFDataRef, options int, err unsafe.Pointer) (result CFPropertyListRef, format CFPropertyListFormat)
CFPropertyListCreateWithData calls the CoreFoundation framework function CFPropertyListCreateWithData.
func CFPropertyListCreateWithStream ¶
func CFPropertyListCreateWithStream(allocator CFAllocatorRef, stream CFReadStreamRef, streamLength int, options int, err unsafe.Pointer) (result CFPropertyListRef, format CFPropertyListFormat)
CFPropertyListCreateWithStream calls the CoreFoundation framework function CFPropertyListCreateWithStream.
func CFPropertyListIsValid ¶
func CFPropertyListIsValid(plist CFPropertyListRef, format CFPropertyListFormat) uint8
CFPropertyListIsValid calls the CoreFoundation framework function CFPropertyListIsValid.
func CFPropertyListWrite ¶
func CFPropertyListWrite(propertyList CFPropertyListRef, stream CFWriteStreamRef, format CFPropertyListFormat, options int) (obj.Object, error)
func CFPropertyListWriteToStream ¶
func CFPropertyListWriteToStream(propertyList CFPropertyListRef, stream CFWriteStreamRef, format CFPropertyListFormat, errorString unsafe.Pointer) int
CFPropertyListWriteToStream calls the CoreFoundation framework function CFPropertyListWriteToStream.
func CFReadStreamClose ¶
func CFReadStreamClose(stream CFReadStreamRef)
CFReadStreamClose calls the CoreFoundation framework function CFReadStreamClose.
func CFReadStreamCopyDispatchQueue ¶
func CFReadStreamCopyDispatchQueue(stream CFReadStreamRef) unsafe.Pointer
CFReadStreamCopyDispatchQueue calls the CoreFoundation framework function CFReadStreamCopyDispatchQueue.
func CFReadStreamCopyProperty ¶
func CFReadStreamCopyProperty(stream CFReadStreamRef, propertyName unsafe.Pointer) obj.Object
CFReadStreamCopyProperty calls the CoreFoundation framework function CFReadStreamCopyProperty.
func CFReadStreamGetBuffer ¶
func CFReadStreamGetBuffer(stream CFReadStreamRef, maxBytesToRead int) (result unsafe.Pointer, numBytesRead int)
CFReadStreamGetBuffer calls the CoreFoundation framework function CFReadStreamGetBuffer.
func CFReadStreamGetTypeID ¶
func CFReadStreamGetTypeID() int
CFReadStreamGetTypeID calls the CoreFoundation framework function CFReadStreamGetTypeID.
func CFReadStreamHasBytesAvailable ¶
func CFReadStreamHasBytesAvailable(stream CFReadStreamRef) uint8
CFReadStreamHasBytesAvailable calls the CoreFoundation framework function CFReadStreamHasBytesAvailable.
func CFReadStreamOpen ¶
func CFReadStreamOpen(stream CFReadStreamRef) uint8
CFReadStreamOpen calls the CoreFoundation framework function CFReadStreamOpen.
func CFReadStreamRead ¶
func CFReadStreamRead(stream CFReadStreamRef, bufferLength int) (result int, buffer uint8)
CFReadStreamRead calls the CoreFoundation framework function CFReadStreamRead.
func CFReadStreamScheduleWithRunLoop ¶
func CFReadStreamScheduleWithRunLoop(stream CFReadStreamRef, runLoop CFRunLoopRef, runLoopMode unsafe.Pointer)
CFReadStreamScheduleWithRunLoop calls the CoreFoundation framework function CFReadStreamScheduleWithRunLoop.
func CFReadStreamSetClient ¶
func CFReadStreamSetClient(stream CFReadStreamRef, streamEvents int, clientCB unsafe.Pointer, clientContext unsafe.Pointer) uint8
CFReadStreamSetClient calls the CoreFoundation framework function CFReadStreamSetClient.
func CFReadStreamSetDispatchQueue ¶
func CFReadStreamSetDispatchQueue(stream CFReadStreamRef, q dispatch.Queue)
CFReadStreamSetDispatchQueue calls the CoreFoundation framework function CFReadStreamSetDispatchQueue.
func CFReadStreamSetProperty ¶
func CFReadStreamSetProperty(stream CFReadStreamRef, propertyName unsafe.Pointer, propertyValue obj.Object) uint8
CFReadStreamSetProperty calls the CoreFoundation framework function CFReadStreamSetProperty.
func CFReadStreamUnscheduleFromRunLoop ¶
func CFReadStreamUnscheduleFromRunLoop(stream CFReadStreamRef, runLoop CFRunLoopRef, runLoopMode unsafe.Pointer)
CFReadStreamUnscheduleFromRunLoop calls the CoreFoundation framework function CFReadStreamUnscheduleFromRunLoop.
func CFRunLoopAddCommonMode ¶
func CFRunLoopAddCommonMode(rl CFRunLoopRef, mode unsafe.Pointer)
CFRunLoopAddCommonMode calls the CoreFoundation framework function CFRunLoopAddCommonMode.
func CFRunLoopAddObserver ¶
func CFRunLoopAddObserver(rl CFRunLoopRef, observer CFRunLoopObserverRef, mode unsafe.Pointer)
CFRunLoopAddObserver calls the CoreFoundation framework function CFRunLoopAddObserver.
func CFRunLoopAddSource ¶
func CFRunLoopAddSource(rl CFRunLoopRef, source CFRunLoopSourceRef, mode unsafe.Pointer)
CFRunLoopAddSource calls the CoreFoundation framework function CFRunLoopAddSource.
func CFRunLoopAddTimer ¶
func CFRunLoopAddTimer(rl CFRunLoopRef, timer CFRunLoopTimerRef, mode unsafe.Pointer)
CFRunLoopAddTimer calls the CoreFoundation framework function CFRunLoopAddTimer.
func CFRunLoopContainsObserver ¶
func CFRunLoopContainsObserver(rl CFRunLoopRef, observer CFRunLoopObserverRef, mode unsafe.Pointer) uint8
CFRunLoopContainsObserver calls the CoreFoundation framework function CFRunLoopContainsObserver.
func CFRunLoopContainsSource ¶
func CFRunLoopContainsSource(rl CFRunLoopRef, source CFRunLoopSourceRef, mode unsafe.Pointer) uint8
CFRunLoopContainsSource calls the CoreFoundation framework function CFRunLoopContainsSource.
func CFRunLoopContainsTimer ¶
func CFRunLoopContainsTimer(rl CFRunLoopRef, timer CFRunLoopTimerRef, mode unsafe.Pointer) uint8
CFRunLoopContainsTimer calls the CoreFoundation framework function CFRunLoopContainsTimer.
func CFRunLoopCopyCurrentMode ¶
func CFRunLoopCopyCurrentMode(rl CFRunLoopRef) unsafe.Pointer
CFRunLoopCopyCurrentMode calls the CoreFoundation framework function CFRunLoopCopyCurrentMode.
func CFRunLoopGetNextTimerFireDate ¶
func CFRunLoopGetNextTimerFireDate(rl CFRunLoopRef, mode unsafe.Pointer) float64
CFRunLoopGetNextTimerFireDate calls the CoreFoundation framework function CFRunLoopGetNextTimerFireDate.
func CFRunLoopGetTypeID ¶
func CFRunLoopGetTypeID() int
CFRunLoopGetTypeID calls the CoreFoundation framework function CFRunLoopGetTypeID.
func CFRunLoopIsWaiting ¶
func CFRunLoopIsWaiting(rl CFRunLoopRef) uint8
CFRunLoopIsWaiting calls the CoreFoundation framework function CFRunLoopIsWaiting.
func CFRunLoopObserverDoesRepeat ¶
func CFRunLoopObserverDoesRepeat(observer CFRunLoopObserverRef) uint8
CFRunLoopObserverDoesRepeat calls the CoreFoundation framework function CFRunLoopObserverDoesRepeat.
func CFRunLoopObserverGetActivities ¶
func CFRunLoopObserverGetActivities(observer CFRunLoopObserverRef) int
CFRunLoopObserverGetActivities calls the CoreFoundation framework function CFRunLoopObserverGetActivities.
func CFRunLoopObserverGetContext ¶
func CFRunLoopObserverGetContext(observer CFRunLoopObserverRef, context_ unsafe.Pointer)
CFRunLoopObserverGetContext calls the CoreFoundation framework function CFRunLoopObserverGetContext.
func CFRunLoopObserverGetOrder ¶
func CFRunLoopObserverGetOrder(observer CFRunLoopObserverRef) int
CFRunLoopObserverGetOrder calls the CoreFoundation framework function CFRunLoopObserverGetOrder.
func CFRunLoopObserverGetTypeID ¶
func CFRunLoopObserverGetTypeID() int
CFRunLoopObserverGetTypeID calls the CoreFoundation framework function CFRunLoopObserverGetTypeID.
func CFRunLoopObserverInvalidate ¶
func CFRunLoopObserverInvalidate(observer CFRunLoopObserverRef)
CFRunLoopObserverInvalidate calls the CoreFoundation framework function CFRunLoopObserverInvalidate.
func CFRunLoopObserverIsValid ¶
func CFRunLoopObserverIsValid(observer CFRunLoopObserverRef) uint8
CFRunLoopObserverIsValid calls the CoreFoundation framework function CFRunLoopObserverIsValid.
func CFRunLoopPerformBlock ¶
func CFRunLoopPerformBlock(rl CFRunLoopRef, mode obj.Object, block func())
CFRunLoopPerformBlock calls the CoreFoundation framework function CFRunLoopPerformBlock.
func CFRunLoopRemoveObserver ¶
func CFRunLoopRemoveObserver(rl CFRunLoopRef, observer CFRunLoopObserverRef, mode unsafe.Pointer)
CFRunLoopRemoveObserver calls the CoreFoundation framework function CFRunLoopRemoveObserver.
func CFRunLoopRemoveSource ¶
func CFRunLoopRemoveSource(rl CFRunLoopRef, source CFRunLoopSourceRef, mode unsafe.Pointer)
CFRunLoopRemoveSource calls the CoreFoundation framework function CFRunLoopRemoveSource.
func CFRunLoopRemoveTimer ¶
func CFRunLoopRemoveTimer(rl CFRunLoopRef, timer CFRunLoopTimerRef, mode unsafe.Pointer)
CFRunLoopRemoveTimer calls the CoreFoundation framework function CFRunLoopRemoveTimer.
func CFRunLoopRun ¶
func CFRunLoopRun()
CFRunLoopRun calls the CoreFoundation framework function CFRunLoopRun.
func CFRunLoopSourceGetContext ¶
func CFRunLoopSourceGetContext(source CFRunLoopSourceRef, context_ unsafe.Pointer)
CFRunLoopSourceGetContext calls the CoreFoundation framework function CFRunLoopSourceGetContext.
func CFRunLoopSourceGetOrder ¶
func CFRunLoopSourceGetOrder(source CFRunLoopSourceRef) int
CFRunLoopSourceGetOrder calls the CoreFoundation framework function CFRunLoopSourceGetOrder.
func CFRunLoopSourceGetTypeID ¶
func CFRunLoopSourceGetTypeID() int
CFRunLoopSourceGetTypeID calls the CoreFoundation framework function CFRunLoopSourceGetTypeID.
func CFRunLoopSourceInvalidate ¶
func CFRunLoopSourceInvalidate(source CFRunLoopSourceRef)
CFRunLoopSourceInvalidate calls the CoreFoundation framework function CFRunLoopSourceInvalidate.
func CFRunLoopSourceIsValid ¶
func CFRunLoopSourceIsValid(source CFRunLoopSourceRef) uint8
CFRunLoopSourceIsValid calls the CoreFoundation framework function CFRunLoopSourceIsValid.
func CFRunLoopSourceSignal ¶
func CFRunLoopSourceSignal(source CFRunLoopSourceRef)
CFRunLoopSourceSignal calls the CoreFoundation framework function CFRunLoopSourceSignal.
func CFRunLoopStop ¶
func CFRunLoopStop(rl CFRunLoopRef)
CFRunLoopStop calls the CoreFoundation framework function CFRunLoopStop.
func CFRunLoopTimerDoesRepeat ¶
func CFRunLoopTimerDoesRepeat(timer CFRunLoopTimerRef) uint8
CFRunLoopTimerDoesRepeat calls the CoreFoundation framework function CFRunLoopTimerDoesRepeat.
func CFRunLoopTimerGetContext ¶
func CFRunLoopTimerGetContext(timer CFRunLoopTimerRef, context_ unsafe.Pointer)
CFRunLoopTimerGetContext calls the CoreFoundation framework function CFRunLoopTimerGetContext.
func CFRunLoopTimerGetInterval ¶
func CFRunLoopTimerGetInterval(timer CFRunLoopTimerRef) float64
CFRunLoopTimerGetInterval calls the CoreFoundation framework function CFRunLoopTimerGetInterval.
func CFRunLoopTimerGetNextFireDate ¶
func CFRunLoopTimerGetNextFireDate(timer CFRunLoopTimerRef) float64
CFRunLoopTimerGetNextFireDate calls the CoreFoundation framework function CFRunLoopTimerGetNextFireDate.
func CFRunLoopTimerGetOrder ¶
func CFRunLoopTimerGetOrder(timer CFRunLoopTimerRef) int
CFRunLoopTimerGetOrder calls the CoreFoundation framework function CFRunLoopTimerGetOrder.
func CFRunLoopTimerGetTolerance ¶
func CFRunLoopTimerGetTolerance(timer CFRunLoopTimerRef) float64
CFRunLoopTimerGetTolerance calls the CoreFoundation framework function CFRunLoopTimerGetTolerance.
func CFRunLoopTimerGetTypeID ¶
func CFRunLoopTimerGetTypeID() int
CFRunLoopTimerGetTypeID calls the CoreFoundation framework function CFRunLoopTimerGetTypeID.
func CFRunLoopTimerInvalidate ¶
func CFRunLoopTimerInvalidate(timer CFRunLoopTimerRef)
CFRunLoopTimerInvalidate calls the CoreFoundation framework function CFRunLoopTimerInvalidate.
func CFRunLoopTimerIsValid ¶
func CFRunLoopTimerIsValid(timer CFRunLoopTimerRef) uint8
CFRunLoopTimerIsValid calls the CoreFoundation framework function CFRunLoopTimerIsValid.
func CFRunLoopTimerSetNextFireDate ¶
func CFRunLoopTimerSetNextFireDate(timer CFRunLoopTimerRef, fireDate float64)
CFRunLoopTimerSetNextFireDate calls the CoreFoundation framework function CFRunLoopTimerSetNextFireDate.
func CFRunLoopTimerSetTolerance ¶
func CFRunLoopTimerSetTolerance(timer CFRunLoopTimerRef, tolerance float64)
CFRunLoopTimerSetTolerance calls the CoreFoundation framework function CFRunLoopTimerSetTolerance.
func CFRunLoopWakeUp ¶
func CFRunLoopWakeUp(rl CFRunLoopRef)
CFRunLoopWakeUp calls the CoreFoundation framework function CFRunLoopWakeUp.
func CFSetAddValue ¶
func CFSetAddValue(theSet CFMutableSetRef, value unsafe.Pointer)
CFSetAddValue calls the CoreFoundation framework function CFSetAddValue.
func CFSetApplyFunction ¶
CFSetApplyFunction calls the CoreFoundation framework function CFSetApplyFunction.
func CFSetContainsValue ¶
CFSetContainsValue calls the CoreFoundation framework function CFSetContainsValue.
func CFSetGetCount ¶
CFSetGetCount calls the CoreFoundation framework function CFSetGetCount.
func CFSetGetCountOfValue ¶
CFSetGetCountOfValue calls the CoreFoundation framework function CFSetGetCountOfValue.
func CFSetGetTypeID ¶
func CFSetGetTypeID() int
CFSetGetTypeID calls the CoreFoundation framework function CFSetGetTypeID.
func CFSetGetValue ¶
CFSetGetValue calls the CoreFoundation framework function CFSetGetValue.
func CFSetGetValueIfPresent ¶
CFSetGetValueIfPresent calls the CoreFoundation framework function CFSetGetValueIfPresent.
func CFSetGetValues ¶
CFSetGetValues calls the CoreFoundation framework function CFSetGetValues.
func CFSetRemoveAllValues ¶
func CFSetRemoveAllValues(theSet CFMutableSetRef)
CFSetRemoveAllValues calls the CoreFoundation framework function CFSetRemoveAllValues.
func CFSetRemoveValue ¶
func CFSetRemoveValue(theSet CFMutableSetRef, value unsafe.Pointer)
CFSetRemoveValue calls the CoreFoundation framework function CFSetRemoveValue.
func CFSetReplaceValue ¶
func CFSetReplaceValue(theSet CFMutableSetRef, value unsafe.Pointer)
CFSetReplaceValue calls the CoreFoundation framework function CFSetReplaceValue.
func CFSetSetValue ¶
func CFSetSetValue(theSet CFMutableSetRef, value unsafe.Pointer)
CFSetSetValue calls the CoreFoundation framework function CFSetSetValue.
func CFShowStr ¶
func CFShowStr(str CFStringRef)
CFShowStr calls the CoreFoundation framework function CFShowStr.
func CFSocketDisableCallBacks ¶
func CFSocketDisableCallBacks(s CFSocketRef, callBackTypes int)
CFSocketDisableCallBacks calls the CoreFoundation framework function CFSocketDisableCallBacks.
func CFSocketEnableCallBacks ¶
func CFSocketEnableCallBacks(s CFSocketRef, callBackTypes int)
CFSocketEnableCallBacks calls the CoreFoundation framework function CFSocketEnableCallBacks.
func CFSocketGetContext ¶
func CFSocketGetContext(s CFSocketRef, context_ unsafe.Pointer)
CFSocketGetContext calls the CoreFoundation framework function CFSocketGetContext.
func CFSocketGetDefaultNameRegistryPortNumber ¶
func CFSocketGetDefaultNameRegistryPortNumber() uint16
CFSocketGetDefaultNameRegistryPortNumber calls the CoreFoundation framework function CFSocketGetDefaultNameRegistryPortNumber.
func CFSocketGetNative ¶
func CFSocketGetNative(s CFSocketRef) int
CFSocketGetNative calls the CoreFoundation framework function CFSocketGetNative.
func CFSocketGetSocketFlags ¶
func CFSocketGetSocketFlags(s CFSocketRef) int
CFSocketGetSocketFlags calls the CoreFoundation framework function CFSocketGetSocketFlags.
func CFSocketGetTypeID ¶
func CFSocketGetTypeID() int
CFSocketGetTypeID calls the CoreFoundation framework function CFSocketGetTypeID.
func CFSocketInvalidate ¶
func CFSocketInvalidate(s CFSocketRef)
CFSocketInvalidate calls the CoreFoundation framework function CFSocketInvalidate.
func CFSocketIsValid ¶
func CFSocketIsValid(s CFSocketRef) uint8
CFSocketIsValid calls the CoreFoundation framework function CFSocketIsValid.
func CFSocketSetDefaultNameRegistryPortNumber ¶
func CFSocketSetDefaultNameRegistryPortNumber(port uint16)
CFSocketSetDefaultNameRegistryPortNumber calls the CoreFoundation framework function CFSocketSetDefaultNameRegistryPortNumber.
func CFSocketSetSocketFlags ¶
func CFSocketSetSocketFlags(s CFSocketRef, flags int)
CFSocketSetSocketFlags calls the CoreFoundation framework function CFSocketSetSocketFlags.
func CFStreamCreateBoundPair ¶
func CFStreamCreateBoundPair(alloc CFAllocatorRef, readStream unsafe.Pointer, writeStream unsafe.Pointer, transferBufferSize int)
CFStreamCreateBoundPair calls the CoreFoundation framework function CFStreamCreateBoundPair.
func CFStreamCreatePairWithPeerSocketSignature ¶
func CFStreamCreatePairWithPeerSocketSignature(alloc CFAllocatorRef, signature unsafe.Pointer, readStream unsafe.Pointer, writeStream unsafe.Pointer)
CFStreamCreatePairWithPeerSocketSignature calls the CoreFoundation framework function CFStreamCreatePairWithPeerSocketSignature.
func CFStreamCreatePairWithSocket ¶
func CFStreamCreatePairWithSocket(alloc CFAllocatorRef, sock int, readStream unsafe.Pointer, writeStream unsafe.Pointer)
CFStreamCreatePairWithSocket calls the CoreFoundation framework function CFStreamCreatePairWithSocket.
func CFStreamCreatePairWithSocketToHost ¶
func CFStreamCreatePairWithSocketToHost(alloc CFAllocatorRef, host CFStringRef, port int, readStream unsafe.Pointer, writeStream unsafe.Pointer)
CFStreamCreatePairWithSocketToHost calls the CoreFoundation framework function CFStreamCreatePairWithSocketToHost.
func CFStringAppend ¶
func CFStringAppend(theString CFMutableStringRef, appendedString CFStringRef)
CFStringAppend calls the CoreFoundation framework function CFStringAppend.
func CFStringAppendCString ¶
func CFStringAppendCString(theString CFMutableStringRef, cStr string, encoding int)
CFStringAppendCString calls the CoreFoundation framework function CFStringAppendCString.
func CFStringAppendCharacters ¶
func CFStringAppendCharacters(theString CFMutableStringRef, chars unsafe.Pointer, numChars int)
CFStringAppendCharacters calls the CoreFoundation framework function CFStringAppendCharacters.
func CFStringAppendFormat ¶
func CFStringAppendFormat(theString CFMutableStringRef, formatOptions CFDictionaryRef, format CFStringRef)
CFStringAppendFormat calls the CoreFoundation framework function CFStringAppendFormat.
func CFStringAppendFormatAndArguments ¶
func CFStringAppendFormatAndArguments(theString CFMutableStringRef, formatOptions CFDictionaryRef, format CFStringRef, arguments string)
CFStringAppendFormatAndArguments calls the CoreFoundation framework function CFStringAppendFormatAndArguments.
func CFStringAppendPascalString ¶
func CFStringAppendPascalString(theString CFMutableStringRef, encoding int) (pStr uint8)
CFStringAppendPascalString calls the CoreFoundation framework function CFStringAppendPascalString.
func CFStringCapitalize ¶
func CFStringCapitalize(theString CFMutableStringRef, locale CFLocaleRef)
CFStringCapitalize calls the CoreFoundation framework function CFStringCapitalize.
func CFStringConvertEncodingToNSStringEncoding ¶
CFStringConvertEncodingToNSStringEncoding calls the CoreFoundation framework function CFStringConvertEncodingToNSStringEncoding.
func CFStringConvertEncodingToWindowsCodepage ¶
CFStringConvertEncodingToWindowsCodepage calls the CoreFoundation framework function CFStringConvertEncodingToWindowsCodepage.
func CFStringConvertIANACharSetNameToEncoding ¶
func CFStringConvertIANACharSetNameToEncoding(theString CFStringRef) int
CFStringConvertIANACharSetNameToEncoding calls the CoreFoundation framework function CFStringConvertIANACharSetNameToEncoding.
func CFStringConvertNSStringEncodingToEncoding ¶
CFStringConvertNSStringEncodingToEncoding calls the CoreFoundation framework function CFStringConvertNSStringEncodingToEncoding.
func CFStringConvertWindowsCodepageToEncoding ¶
CFStringConvertWindowsCodepageToEncoding calls the CoreFoundation framework function CFStringConvertWindowsCodepageToEncoding.
func CFStringCreateStringWithValidatedFormat ¶
func CFStringCreateStringWithValidatedFormat(alloc CFAllocatorRef, formatOptions CFDictionaryRef, validFormatSpecifiers CFStringRef, format CFStringRef) (obj.Object, error)
func CFStringCreateStringWithValidatedFormatAndArguments ¶
func CFStringCreateStringWithValidatedFormatAndArguments(alloc CFAllocatorRef, formatOptions CFDictionaryRef, validFormatSpecifiers CFStringRef, format CFStringRef, arguments string) (obj.Object, error)
func CFStringDelete ¶
func CFStringDelete(theString CFMutableStringRef, range_ CFRange)
CFStringDelete calls the CoreFoundation framework function CFStringDelete.
func CFStringFindAndReplace ¶
func CFStringFindAndReplace(theString CFMutableStringRef, stringToFind CFStringRef, replacementString CFStringRef, rangeToSearch CFRange, compareOptions CFStringCompareFlags) int
CFStringFindAndReplace calls the CoreFoundation framework function CFStringFindAndReplace.
func CFStringFold ¶
func CFStringFold(theString CFMutableStringRef, theFlags CFStringCompareFlags, theLocale CFLocaleRef)
CFStringFold calls the CoreFoundation framework function CFStringFold.
func CFStringGetBytes ¶
func CFStringGetBytes(theString CFStringRef, range_ CFRange, encoding int, lossByte uint8, isExternalRepresentation uint8, maxBufLen int) (result int, buffer uint8, usedBufLen int)
CFStringGetBytes calls the CoreFoundation framework function CFStringGetBytes.
func CFStringGetCString ¶
func CFStringGetCString(theString CFStringRef, buffer string, bufferSize int, encoding int) uint8
CFStringGetCString calls the CoreFoundation framework function CFStringGetCString.
func CFStringGetCStringPtr ¶
func CFStringGetCStringPtr(theString CFStringRef, encoding int) string
CFStringGetCStringPtr calls the CoreFoundation framework function CFStringGetCStringPtr.
func CFStringGetCharacterAtIndex ¶
func CFStringGetCharacterAtIndex(theString CFStringRef, idx int) uint16
CFStringGetCharacterAtIndex calls the CoreFoundation framework function CFStringGetCharacterAtIndex.
func CFStringGetCharacterFromInlineBuffer ¶
CFStringGetCharacterFromInlineBuffer calls the CoreFoundation framework function CFStringGetCharacterFromInlineBuffer.
func CFStringGetCharacters ¶
func CFStringGetCharacters(theString CFStringRef, range_ CFRange) (buffer uint16)
CFStringGetCharacters calls the CoreFoundation framework function CFStringGetCharacters.
func CFStringGetCharactersPtr ¶
func CFStringGetCharactersPtr(theString CFStringRef) unsafe.Pointer
CFStringGetCharactersPtr calls the CoreFoundation framework function CFStringGetCharactersPtr.
func CFStringGetDoubleValue ¶
func CFStringGetDoubleValue(str CFStringRef) float64
CFStringGetDoubleValue calls the CoreFoundation framework function CFStringGetDoubleValue.
func CFStringGetFastestEncoding ¶
func CFStringGetFastestEncoding(theString CFStringRef) int
CFStringGetFastestEncoding calls the CoreFoundation framework function CFStringGetFastestEncoding.
func CFStringGetFileSystemRepresentation ¶
func CFStringGetFileSystemRepresentation(str CFStringRef, buffer string, maxBufLen int) uint8
CFStringGetFileSystemRepresentation calls the CoreFoundation framework function CFStringGetFileSystemRepresentation.
func CFStringGetHyphenationLocationBeforeIndex ¶
func CFStringGetHyphenationLocationBeforeIndex(str CFStringRef, location int, limitRange CFRange, options int, locale CFLocaleRef) (result int, character int)
CFStringGetHyphenationLocationBeforeIndex calls the CoreFoundation framework function CFStringGetHyphenationLocationBeforeIndex.
func CFStringGetIntValue ¶
func CFStringGetIntValue(str CFStringRef) int
CFStringGetIntValue calls the CoreFoundation framework function CFStringGetIntValue.
func CFStringGetLength ¶
func CFStringGetLength(theString CFStringRef) int
CFStringGetLength calls the CoreFoundation framework function CFStringGetLength.
func CFStringGetLineBounds ¶
func CFStringGetLineBounds(theString CFStringRef, range_ CFRange) (lineBeginIndex int, lineEndIndex int, contentsEndIndex int)
CFStringGetLineBounds calls the CoreFoundation framework function CFStringGetLineBounds.
func CFStringGetListOfAvailableEncodings ¶
CFStringGetListOfAvailableEncodings calls the CoreFoundation framework function CFStringGetListOfAvailableEncodings.
func CFStringGetLongCharacterForSurrogatePair ¶
CFStringGetLongCharacterForSurrogatePair calls the CoreFoundation framework function CFStringGetLongCharacterForSurrogatePair.
func CFStringGetMaximumSizeForEncoding ¶
CFStringGetMaximumSizeForEncoding calls the CoreFoundation framework function CFStringGetMaximumSizeForEncoding.
func CFStringGetMaximumSizeOfFileSystemRepresentation ¶
func CFStringGetMaximumSizeOfFileSystemRepresentation(str CFStringRef) int
CFStringGetMaximumSizeOfFileSystemRepresentation calls the CoreFoundation framework function CFStringGetMaximumSizeOfFileSystemRepresentation.
func CFStringGetMostCompatibleMacStringEncoding ¶
CFStringGetMostCompatibleMacStringEncoding calls the CoreFoundation framework function CFStringGetMostCompatibleMacStringEncoding.
func CFStringGetParagraphBounds ¶
func CFStringGetParagraphBounds(str CFStringRef, range_ CFRange) (parBeginIndex int, parEndIndex int, contentsEndIndex int)
CFStringGetParagraphBounds calls the CoreFoundation framework function CFStringGetParagraphBounds.
func CFStringGetPascalString ¶
func CFStringGetPascalString(theString CFStringRef, bufferSize int, encoding int) (result uint8, buffer uint8)
CFStringGetPascalString calls the CoreFoundation framework function CFStringGetPascalString.
func CFStringGetPascalStringPtr ¶
func CFStringGetPascalStringPtr(theString CFStringRef, encoding int) unsafe.Pointer
CFStringGetPascalStringPtr calls the CoreFoundation framework function CFStringGetPascalStringPtr.
func CFStringGetSmallestEncoding ¶
func CFStringGetSmallestEncoding(theString CFStringRef) int
CFStringGetSmallestEncoding calls the CoreFoundation framework function CFStringGetSmallestEncoding.
func CFStringGetSurrogatePairForLongCharacter ¶
CFStringGetSurrogatePairForLongCharacter calls the CoreFoundation framework function CFStringGetSurrogatePairForLongCharacter.
func CFStringGetSystemEncoding ¶
func CFStringGetSystemEncoding() int
CFStringGetSystemEncoding calls the CoreFoundation framework function CFStringGetSystemEncoding.
func CFStringGetTypeID ¶
func CFStringGetTypeID() int
CFStringGetTypeID calls the CoreFoundation framework function CFStringGetTypeID.
func CFStringHasPrefix ¶
func CFStringHasPrefix(theString CFStringRef, prefix CFStringRef) uint8
CFStringHasPrefix calls the CoreFoundation framework function CFStringHasPrefix.
func CFStringHasSuffix ¶
func CFStringHasSuffix(theString CFStringRef, suffix CFStringRef) uint8
CFStringHasSuffix calls the CoreFoundation framework function CFStringHasSuffix.
func CFStringInitInlineBuffer ¶
func CFStringInitInlineBuffer(str CFStringRef, buf unsafe.Pointer, range_ CFRange)
CFStringInitInlineBuffer calls the CoreFoundation framework function CFStringInitInlineBuffer.
func CFStringInsert ¶
func CFStringInsert(str CFMutableStringRef, idx int, insertedStr CFStringRef)
CFStringInsert calls the CoreFoundation framework function CFStringInsert.
func CFStringIsEncodingAvailable ¶
CFStringIsEncodingAvailable calls the CoreFoundation framework function CFStringIsEncodingAvailable.
func CFStringIsHyphenationAvailableForLocale ¶
func CFStringIsHyphenationAvailableForLocale(locale CFLocaleRef) uint8
CFStringIsHyphenationAvailableForLocale calls the CoreFoundation framework function CFStringIsHyphenationAvailableForLocale.
func CFStringIsSurrogateHighCharacter ¶
CFStringIsSurrogateHighCharacter calls the CoreFoundation framework function CFStringIsSurrogateHighCharacter.
func CFStringIsSurrogateLowCharacter ¶
CFStringIsSurrogateLowCharacter calls the CoreFoundation framework function CFStringIsSurrogateLowCharacter.
func CFStringLowercase ¶
func CFStringLowercase(theString CFMutableStringRef, locale CFLocaleRef)
CFStringLowercase calls the CoreFoundation framework function CFStringLowercase.
func CFStringNormalize ¶
func CFStringNormalize(theString CFMutableStringRef, theForm CFStringNormalizationForm)
CFStringNormalize calls the CoreFoundation framework function CFStringNormalize.
func CFStringPad ¶
func CFStringPad(theString CFMutableStringRef, padString CFStringRef, length int, indexIntoPad int)
CFStringPad calls the CoreFoundation framework function CFStringPad.
func CFStringReplace ¶
func CFStringReplace(theString CFMutableStringRef, range_ CFRange, replacement CFStringRef)
CFStringReplace calls the CoreFoundation framework function CFStringReplace.
func CFStringReplaceAll ¶
func CFStringReplaceAll(theString CFMutableStringRef, replacement CFStringRef)
CFStringReplaceAll calls the CoreFoundation framework function CFStringReplaceAll.
func CFStringSetExternalCharactersNoCopy ¶
func CFStringSetExternalCharactersNoCopy(theString CFMutableStringRef, chars unsafe.Pointer, length int, capacity int)
CFStringSetExternalCharactersNoCopy calls the CoreFoundation framework function CFStringSetExternalCharactersNoCopy.
func CFStringTokenizerCopyCurrentTokenAttribute ¶
func CFStringTokenizerCopyCurrentTokenAttribute(tokenizer CFStringTokenizerRef, attribute int) obj.Object
CFStringTokenizerCopyCurrentTokenAttribute calls the CoreFoundation framework function CFStringTokenizerCopyCurrentTokenAttribute.
func CFStringTokenizerGetTypeID ¶
func CFStringTokenizerGetTypeID() int
CFStringTokenizerGetTypeID calls the CoreFoundation framework function CFStringTokenizerGetTypeID.
func CFStringTokenizerSetString ¶
func CFStringTokenizerSetString(tokenizer CFStringTokenizerRef, str CFStringRef, range_ CFRange)
CFStringTokenizerSetString calls the CoreFoundation framework function CFStringTokenizerSetString.
func CFStringTrim ¶
func CFStringTrim(theString CFMutableStringRef, trimString CFStringRef)
CFStringTrim calls the CoreFoundation framework function CFStringTrim.
func CFStringTrimWhitespace ¶
func CFStringTrimWhitespace(theString CFMutableStringRef)
CFStringTrimWhitespace calls the CoreFoundation framework function CFStringTrimWhitespace.
func CFStringUppercase ¶
func CFStringUppercase(theString CFMutableStringRef, locale CFLocaleRef)
CFStringUppercase calls the CoreFoundation framework function CFStringUppercase.
func CFSwapInt16 ¶
CFSwapInt16 calls the CoreFoundation framework function CFSwapInt16.
func CFSwapInt16BigToHost ¶
CFSwapInt16BigToHost calls the CoreFoundation framework function CFSwapInt16BigToHost.
func CFSwapInt16HostToBig ¶
CFSwapInt16HostToBig calls the CoreFoundation framework function CFSwapInt16HostToBig.
func CFSwapInt16HostToLittle ¶
CFSwapInt16HostToLittle calls the CoreFoundation framework function CFSwapInt16HostToLittle.
func CFSwapInt16LittleToHost ¶
CFSwapInt16LittleToHost calls the CoreFoundation framework function CFSwapInt16LittleToHost.
func CFSwapInt32 ¶
CFSwapInt32 calls the CoreFoundation framework function CFSwapInt32.
func CFSwapInt32BigToHost ¶
CFSwapInt32BigToHost calls the CoreFoundation framework function CFSwapInt32BigToHost.
func CFSwapInt32HostToBig ¶
CFSwapInt32HostToBig calls the CoreFoundation framework function CFSwapInt32HostToBig.
func CFSwapInt32HostToLittle ¶
CFSwapInt32HostToLittle calls the CoreFoundation framework function CFSwapInt32HostToLittle.
func CFSwapInt32LittleToHost ¶
CFSwapInt32LittleToHost calls the CoreFoundation framework function CFSwapInt32LittleToHost.
func CFSwapInt64 ¶
CFSwapInt64 calls the CoreFoundation framework function CFSwapInt64.
func CFSwapInt64BigToHost ¶
CFSwapInt64BigToHost calls the CoreFoundation framework function CFSwapInt64BigToHost.
func CFSwapInt64HostToBig ¶
CFSwapInt64HostToBig calls the CoreFoundation framework function CFSwapInt64HostToBig.
func CFSwapInt64HostToLittle ¶
CFSwapInt64HostToLittle calls the CoreFoundation framework function CFSwapInt64HostToLittle.
func CFSwapInt64LittleToHost ¶
CFSwapInt64LittleToHost calls the CoreFoundation framework function CFSwapInt64LittleToHost.
func CFTimeZoneGetDaylightSavingTimeOffset ¶
func CFTimeZoneGetDaylightSavingTimeOffset(tz CFTimeZoneRef, at float64) float64
CFTimeZoneGetDaylightSavingTimeOffset calls the CoreFoundation framework function CFTimeZoneGetDaylightSavingTimeOffset.
func CFTimeZoneGetNextDaylightSavingTimeTransition ¶
func CFTimeZoneGetNextDaylightSavingTimeTransition(tz CFTimeZoneRef, at float64) float64
CFTimeZoneGetNextDaylightSavingTimeTransition calls the CoreFoundation framework function CFTimeZoneGetNextDaylightSavingTimeTransition.
func CFTimeZoneGetSecondsFromGMT ¶
func CFTimeZoneGetSecondsFromGMT(tz CFTimeZoneRef, at float64) float64
CFTimeZoneGetSecondsFromGMT calls the CoreFoundation framework function CFTimeZoneGetSecondsFromGMT.
func CFTimeZoneGetTypeID ¶
func CFTimeZoneGetTypeID() int
CFTimeZoneGetTypeID calls the CoreFoundation framework function CFTimeZoneGetTypeID.
func CFTimeZoneIsDaylightSavingTime ¶
func CFTimeZoneIsDaylightSavingTime(tz CFTimeZoneRef, at float64) uint8
CFTimeZoneIsDaylightSavingTime calls the CoreFoundation framework function CFTimeZoneIsDaylightSavingTime.
func CFTimeZoneResetSystem ¶
func CFTimeZoneResetSystem()
CFTimeZoneResetSystem calls the CoreFoundation framework function CFTimeZoneResetSystem.
func CFTimeZoneSetAbbreviationDictionary ¶
func CFTimeZoneSetAbbreviationDictionary(dict CFDictionaryRef)
CFTimeZoneSetAbbreviationDictionary calls the CoreFoundation framework function CFTimeZoneSetAbbreviationDictionary.
func CFTimeZoneSetDefault ¶
func CFTimeZoneSetDefault(tz CFTimeZoneRef)
CFTimeZoneSetDefault calls the CoreFoundation framework function CFTimeZoneSetDefault.
func CFTreeAppendChild ¶
CFTreeAppendChild calls the CoreFoundation framework function CFTreeAppendChild.
func CFTreeApplyFunctionToChildren ¶
CFTreeApplyFunctionToChildren calls the CoreFoundation framework function CFTreeApplyFunctionToChildren.
func CFTreeGetChildCount ¶
CFTreeGetChildCount calls the CoreFoundation framework function CFTreeGetChildCount.
func CFTreeGetChildren ¶
CFTreeGetChildren calls the CoreFoundation framework function CFTreeGetChildren.
func CFTreeGetContext ¶
CFTreeGetContext calls the CoreFoundation framework function CFTreeGetContext.
func CFTreeGetTypeID ¶
func CFTreeGetTypeID() int
CFTreeGetTypeID calls the CoreFoundation framework function CFTreeGetTypeID.
func CFTreeInsertSibling ¶
CFTreeInsertSibling calls the CoreFoundation framework function CFTreeInsertSibling.
func CFTreePrependChild ¶
CFTreePrependChild calls the CoreFoundation framework function CFTreePrependChild.
func CFTreeRemove ¶
func CFTreeRemove(tree CFTreeRef)
CFTreeRemove calls the CoreFoundation framework function CFTreeRemove.
func CFTreeRemoveAllChildren ¶
func CFTreeRemoveAllChildren(tree CFTreeRef)
CFTreeRemoveAllChildren calls the CoreFoundation framework function CFTreeRemoveAllChildren.
func CFTreeSetContext ¶
CFTreeSetContext calls the CoreFoundation framework function CFTreeSetContext.
func CFTreeSortChildren ¶
CFTreeSortChildren calls the CoreFoundation framework function CFTreeSortChildren.
func CFURLCanBeDecomposed ¶
CFURLCanBeDecomposed calls the CoreFoundation framework function CFURLCanBeDecomposed.
func CFURLClearResourcePropertyCache ¶
func CFURLClearResourcePropertyCache(url CFURLRef)
CFURLClearResourcePropertyCache calls the CoreFoundation framework function CFURLClearResourcePropertyCache.
func CFURLClearResourcePropertyCacheForKey ¶
func CFURLClearResourcePropertyCacheForKey(url CFURLRef, key CFStringRef)
CFURLClearResourcePropertyCacheForKey calls the CoreFoundation framework function CFURLClearResourcePropertyCacheForKey.
func CFURLCopyResourcePropertiesForKeys ¶
func CFURLCopyResourcePropertiesForKeys(url CFURLRef, keys CFArrayRef) (obj.Object, error)
func CFURLCopyResourcePropertyForKey ¶
func CFURLCopyResourcePropertyForKey(url CFURLRef, key CFStringRef, propertyValueTypeRefPtr unsafe.Pointer) error
func CFURLCreateBookmarkData ¶
func CFURLCreateBookmarkData(allocator CFAllocatorRef, url CFURLRef, options CFURLBookmarkCreationOptions, resourcePropertiesToInclude CFArrayRef, relativeToURL CFURLRef) (obj.Object, error)
func CFURLCreateBookmarkDataFromFile ¶
func CFURLCreateBookmarkDataFromFile(allocator CFAllocatorRef, fileURL CFURLRef) (obj.Object, error)
func CFURLCreateDataAndPropertiesFromResource ¶
func CFURLCreateDataAndPropertiesFromResource(alloc CFAllocatorRef, url CFURLRef, resourceData unsafe.Pointer, properties unsafe.Pointer, desiredProperties CFArrayRef) (result uint8, errorCode int)
CFURLCreateDataAndPropertiesFromResource calls the CoreFoundation framework function CFURLCreateDataAndPropertiesFromResource.
func CFURLCreateFilePathURL ¶
func CFURLCreateFilePathURL(allocator CFAllocatorRef, url CFURLRef) (obj.Object, error)
func CFURLCreateFileReferenceURL ¶
func CFURLCreateFileReferenceURL(allocator CFAllocatorRef, url CFURLRef) (obj.Object, error)
func CFURLCreatePropertyFromResource ¶
func CFURLCreatePropertyFromResource(alloc CFAllocatorRef, url CFURLRef, property CFStringRef) (result obj.Object, errorCode int)
CFURLCreatePropertyFromResource calls the CoreFoundation framework function CFURLCreatePropertyFromResource.
func CFURLCreateResourcePropertyForKeyFromBookmarkData ¶
func CFURLCreateResourcePropertyForKeyFromBookmarkData(allocator CFAllocatorRef, resourcePropertyKey CFStringRef, bookmark CFDataRef) obj.Object
CFURLCreateResourcePropertyForKeyFromBookmarkData calls the CoreFoundation framework function CFURLCreateResourcePropertyForKeyFromBookmarkData.
func CFURLDestroyResource ¶
CFURLDestroyResource calls the CoreFoundation framework function CFURLDestroyResource.
func CFURLEnumeratorGetDescendentLevel ¶
func CFURLEnumeratorGetDescendentLevel(enumerator CFURLEnumeratorRef) int
CFURLEnumeratorGetDescendentLevel calls the CoreFoundation framework function CFURLEnumeratorGetDescendentLevel.
func CFURLEnumeratorGetSourceDidChange ¶
func CFURLEnumeratorGetSourceDidChange(enumerator CFURLEnumeratorRef) uint8
CFURLEnumeratorGetSourceDidChange calls the CoreFoundation framework function CFURLEnumeratorGetSourceDidChange.
func CFURLEnumeratorGetTypeID ¶
func CFURLEnumeratorGetTypeID() int
CFURLEnumeratorGetTypeID calls the CoreFoundation framework function CFURLEnumeratorGetTypeID.
func CFURLEnumeratorSkipDescendents ¶
func CFURLEnumeratorSkipDescendents(enumerator CFURLEnumeratorRef)
CFURLEnumeratorSkipDescendents calls the CoreFoundation framework function CFURLEnumeratorSkipDescendents.
func CFURLGetByteRangeForComponent ¶
func CFURLGetByteRangeForComponent(url CFURLRef, component CFURLComponentType) (result CFRange, rangeIncludingSeparators CFRange)
CFURLGetByteRangeForComponent calls the CoreFoundation framework function CFURLGetByteRangeForComponent.
func CFURLGetBytes ¶
CFURLGetBytes calls the CoreFoundation framework function CFURLGetBytes.
func CFURLGetFSRef ¶
CFURLGetFSRef calls the CoreFoundation framework function CFURLGetFSRef.
func CFURLGetFileSystemRepresentation ¶
func CFURLGetFileSystemRepresentation(url CFURLRef, resolveAgainstBase uint8, maxBufLen int) (result uint8, buffer uint8)
CFURLGetFileSystemRepresentation calls the CoreFoundation framework function CFURLGetFileSystemRepresentation.
func CFURLGetPortNumber ¶
CFURLGetPortNumber calls the CoreFoundation framework function CFURLGetPortNumber.
func CFURLGetTypeID ¶
func CFURLGetTypeID() int
CFURLGetTypeID calls the CoreFoundation framework function CFURLGetTypeID.
func CFURLHasDirectoryPath ¶
CFURLHasDirectoryPath calls the CoreFoundation framework function CFURLHasDirectoryPath.
func CFURLIsFileReferenceURL ¶
CFURLIsFileReferenceURL calls the CoreFoundation framework function CFURLIsFileReferenceURL.
func CFURLSetResourcePropertiesForKeys ¶
func CFURLSetResourcePropertiesForKeys(url CFURLRef, keyedPropertyValues CFDictionaryRef) error
func CFURLSetResourcePropertyForKey ¶
func CFURLSetResourcePropertyForKey(url CFURLRef, key CFStringRef, propertyValue obj.Object) error
func CFURLSetTemporaryResourcePropertyForKey ¶
func CFURLSetTemporaryResourcePropertyForKey(url CFURLRef, key CFStringRef, propertyValue obj.Object)
CFURLSetTemporaryResourcePropertyForKey calls the CoreFoundation framework function CFURLSetTemporaryResourcePropertyForKey.
func CFURLStartAccessingSecurityScopedResource ¶
CFURLStartAccessingSecurityScopedResource calls the CoreFoundation framework function CFURLStartAccessingSecurityScopedResource.
func CFURLStopAccessingSecurityScopedResource ¶
func CFURLStopAccessingSecurityScopedResource(url CFURLRef)
CFURLStopAccessingSecurityScopedResource calls the CoreFoundation framework function CFURLStopAccessingSecurityScopedResource.
func CFURLWriteDataAndPropertiesToResource ¶
func CFURLWriteDataAndPropertiesToResource(url CFURLRef, dataToWrite CFDataRef, propertiesToWrite CFDictionaryRef) (result uint8, errorCode int)
CFURLWriteDataAndPropertiesToResource calls the CoreFoundation framework function CFURLWriteDataAndPropertiesToResource.
func CFUUIDGetTypeID ¶
func CFUUIDGetTypeID() int
CFUUIDGetTypeID calls the CoreFoundation framework function CFUUIDGetTypeID.
func CFUserNotificationCancel ¶
func CFUserNotificationCancel(userNotification CFUserNotificationRef) int
CFUserNotificationCancel calls the CoreFoundation framework function CFUserNotificationCancel.
func CFUserNotificationCheckBoxChecked ¶
CFUserNotificationCheckBoxChecked calls the CoreFoundation framework function CFUserNotificationCheckBoxChecked.
func CFUserNotificationDisplayAlert ¶
func CFUserNotificationDisplayAlert(timeout float64, flags int, iconURL CFURLRef, soundURL CFURLRef, localizationURL CFURLRef, alertHeader CFStringRef, alertMessage CFStringRef, defaultButtonTitle CFStringRef, alternateButtonTitle CFStringRef, otherButtonTitle CFStringRef) (result int, responseFlags int)
CFUserNotificationDisplayAlert calls the CoreFoundation framework function CFUserNotificationDisplayAlert.
func CFUserNotificationDisplayNotice ¶
func CFUserNotificationDisplayNotice(timeout float64, flags int, iconURL CFURLRef, soundURL CFURLRef, localizationURL CFURLRef, alertHeader CFStringRef, alertMessage CFStringRef, defaultButtonTitle CFStringRef) int
CFUserNotificationDisplayNotice calls the CoreFoundation framework function CFUserNotificationDisplayNotice.
func CFUserNotificationGetTypeID ¶
func CFUserNotificationGetTypeID() int
CFUserNotificationGetTypeID calls the CoreFoundation framework function CFUserNotificationGetTypeID.
func CFUserNotificationPopUpSelection ¶
CFUserNotificationPopUpSelection calls the CoreFoundation framework function CFUserNotificationPopUpSelection.
func CFUserNotificationReceiveResponse ¶
func CFUserNotificationReceiveResponse(userNotification CFUserNotificationRef, timeout float64) (result int, responseFlags int)
CFUserNotificationReceiveResponse calls the CoreFoundation framework function CFUserNotificationReceiveResponse.
func CFUserNotificationSecureTextField ¶
CFUserNotificationSecureTextField calls the CoreFoundation framework function CFUserNotificationSecureTextField.
func CFUserNotificationUpdate ¶
func CFUserNotificationUpdate(userNotification CFUserNotificationRef, timeout float64, flags int, dictionary CFDictionaryRef) int
CFUserNotificationUpdate calls the CoreFoundation framework function CFUserNotificationUpdate.
func CFWriteStreamCanAcceptBytes ¶
func CFWriteStreamCanAcceptBytes(stream CFWriteStreamRef) uint8
CFWriteStreamCanAcceptBytes calls the CoreFoundation framework function CFWriteStreamCanAcceptBytes.
func CFWriteStreamClose ¶
func CFWriteStreamClose(stream CFWriteStreamRef)
CFWriteStreamClose calls the CoreFoundation framework function CFWriteStreamClose.
func CFWriteStreamCopyDispatchQueue ¶
func CFWriteStreamCopyDispatchQueue(stream CFWriteStreamRef) unsafe.Pointer
CFWriteStreamCopyDispatchQueue calls the CoreFoundation framework function CFWriteStreamCopyDispatchQueue.
func CFWriteStreamCopyProperty ¶
func CFWriteStreamCopyProperty(stream CFWriteStreamRef, propertyName unsafe.Pointer) obj.Object
CFWriteStreamCopyProperty calls the CoreFoundation framework function CFWriteStreamCopyProperty.
func CFWriteStreamGetTypeID ¶
func CFWriteStreamGetTypeID() int
CFWriteStreamGetTypeID calls the CoreFoundation framework function CFWriteStreamGetTypeID.
func CFWriteStreamOpen ¶
func CFWriteStreamOpen(stream CFWriteStreamRef) uint8
CFWriteStreamOpen calls the CoreFoundation framework function CFWriteStreamOpen.
func CFWriteStreamScheduleWithRunLoop ¶
func CFWriteStreamScheduleWithRunLoop(stream CFWriteStreamRef, runLoop CFRunLoopRef, runLoopMode unsafe.Pointer)
CFWriteStreamScheduleWithRunLoop calls the CoreFoundation framework function CFWriteStreamScheduleWithRunLoop.
func CFWriteStreamSetClient ¶
func CFWriteStreamSetClient(stream CFWriteStreamRef, streamEvents int, clientCB unsafe.Pointer, clientContext unsafe.Pointer) uint8
CFWriteStreamSetClient calls the CoreFoundation framework function CFWriteStreamSetClient.
func CFWriteStreamSetDispatchQueue ¶
func CFWriteStreamSetDispatchQueue(stream CFWriteStreamRef, q dispatch.Queue)
CFWriteStreamSetDispatchQueue calls the CoreFoundation framework function CFWriteStreamSetDispatchQueue.
func CFWriteStreamSetProperty ¶
func CFWriteStreamSetProperty(stream CFWriteStreamRef, propertyName unsafe.Pointer, propertyValue obj.Object) uint8
CFWriteStreamSetProperty calls the CoreFoundation framework function CFWriteStreamSetProperty.
func CFWriteStreamUnscheduleFromRunLoop ¶
func CFWriteStreamUnscheduleFromRunLoop(stream CFWriteStreamRef, runLoop CFRunLoopRef, runLoopMode unsafe.Pointer)
CFWriteStreamUnscheduleFromRunLoop calls the CoreFoundation framework function CFWriteStreamUnscheduleFromRunLoop.
func CFWriteStreamWrite ¶
func CFWriteStreamWrite(stream CFWriteStreamRef, buffer unsafe.Pointer, bufferLength int) int
CFWriteStreamWrite calls the CoreFoundation framework function CFWriteStreamWrite.
func CFXMLNodeGetInfoPtr ¶
func CFXMLNodeGetInfoPtr(node CFXMLNodeRef) unsafe.Pointer
CFXMLNodeGetInfoPtr calls the CoreFoundation framework function CFXMLNodeGetInfoPtr.
func CFXMLNodeGetTypeID ¶
func CFXMLNodeGetTypeID() int
CFXMLNodeGetTypeID calls the CoreFoundation framework function CFXMLNodeGetTypeID.
func CFXMLNodeGetVersion ¶
func CFXMLNodeGetVersion(node CFXMLNodeRef) int
CFXMLNodeGetVersion calls the CoreFoundation framework function CFXMLNodeGetVersion.
func CFXMLParserAbort ¶
func CFXMLParserAbort(parser CFXMLParserRef, errorCode CFXMLParserStatusCode, errorDescription CFStringRef)
CFXMLParserAbort calls the CoreFoundation framework function CFXMLParserAbort.
func CFXMLParserGetCallBacks ¶
func CFXMLParserGetCallBacks(parser CFXMLParserRef, callBacks unsafe.Pointer)
CFXMLParserGetCallBacks calls the CoreFoundation framework function CFXMLParserGetCallBacks.
func CFXMLParserGetContext ¶
func CFXMLParserGetContext(parser CFXMLParserRef, context_ unsafe.Pointer)
CFXMLParserGetContext calls the CoreFoundation framework function CFXMLParserGetContext.
func CFXMLParserGetDocument ¶
func CFXMLParserGetDocument(parser CFXMLParserRef) unsafe.Pointer
CFXMLParserGetDocument calls the CoreFoundation framework function CFXMLParserGetDocument.
func CFXMLParserGetLineNumber ¶
func CFXMLParserGetLineNumber(parser CFXMLParserRef) int
CFXMLParserGetLineNumber calls the CoreFoundation framework function CFXMLParserGetLineNumber.
func CFXMLParserGetLocation ¶
func CFXMLParserGetLocation(parser CFXMLParserRef) int
CFXMLParserGetLocation calls the CoreFoundation framework function CFXMLParserGetLocation.
func CFXMLParserGetTypeID ¶
func CFXMLParserGetTypeID() int
CFXMLParserGetTypeID calls the CoreFoundation framework function CFXMLParserGetTypeID.
func CFXMLParserParse ¶
func CFXMLParserParse(parser CFXMLParserRef) uint8
CFXMLParserParse calls the CoreFoundation framework function CFXMLParserParse.
func KCFAbsoluteTimeIntervalSince1904 ¶
func KCFAbsoluteTimeIntervalSince1904() float64
KCFAbsoluteTimeIntervalSince1904 returns the value of the constant kCFAbsoluteTimeIntervalSince1904.
func KCFAbsoluteTimeIntervalSince1970 ¶
func KCFAbsoluteTimeIntervalSince1970() float64
KCFAbsoluteTimeIntervalSince1970 returns the value of the constant kCFAbsoluteTimeIntervalSince1970.
func KCFAllocatorDefault ¶
KCFAllocatorDefault returns the value of the constant kCFAllocatorDefault.
func KCFAllocatorMalloc ¶
KCFAllocatorMalloc returns the value of the constant kCFAllocatorMalloc.
func KCFAllocatorMallocZone ¶
KCFAllocatorMallocZone returns the value of the constant kCFAllocatorMallocZone.
func KCFAllocatorNull ¶
KCFAllocatorNull returns the value of the constant kCFAllocatorNull.
func KCFAllocatorSystemDefault ¶
KCFAllocatorSystemDefault returns the value of the constant kCFAllocatorSystemDefault.
func KCFAllocatorUseContext ¶
KCFAllocatorUseContext returns the value of the constant kCFAllocatorUseContext.
func KCFBanglaCalendar ¶
func KCFBanglaCalendar() uintptr
KCFBanglaCalendar returns the address of the symbol kCFBanglaCalendar.
func KCFBooleanFalse ¶
KCFBooleanFalse returns the value of the constant kCFBooleanFalse.
func KCFBooleanTrue ¶
KCFBooleanTrue returns the value of the constant kCFBooleanTrue.
func KCFBuddhistCalendar ¶
func KCFBuddhistCalendar() uintptr
KCFBuddhistCalendar returns the address of the symbol kCFBuddhistCalendar.
func KCFBundleDevelopmentRegionKey ¶
KCFBundleDevelopmentRegionKey returns the value of the constant kCFBundleDevelopmentRegionKey.
func KCFBundleExecutableKey ¶
KCFBundleExecutableKey returns the value of the constant kCFBundleExecutableKey.
func KCFBundleIdentifierKey ¶
KCFBundleIdentifierKey returns the value of the constant kCFBundleIdentifierKey.
func KCFBundleInfoDictionaryVersionKey ¶
KCFBundleInfoDictionaryVersionKey returns the value of the constant kCFBundleInfoDictionaryVersionKey.
func KCFBundleLocalizationsKey ¶
KCFBundleLocalizationsKey returns the value of the constant kCFBundleLocalizationsKey.
func KCFBundleNameKey ¶
KCFBundleNameKey returns the value of the constant kCFBundleNameKey.
func KCFBundleVersionKey ¶
KCFBundleVersionKey returns the value of the constant kCFBundleVersionKey.
func KCFChineseCalendar ¶
func KCFChineseCalendar() uintptr
KCFChineseCalendar returns the address of the symbol kCFChineseCalendar.
func KCFCopyStringBagCallBacks ¶
func KCFCopyStringBagCallBacks() uintptr
KCFCopyStringBagCallBacks returns the address of the symbol kCFCopyStringBagCallBacks.
func KCFCopyStringDictionaryKeyCallBacks ¶
func KCFCopyStringDictionaryKeyCallBacks() uintptr
KCFCopyStringDictionaryKeyCallBacks returns the address of the symbol kCFCopyStringDictionaryKeyCallBacks.
func KCFCopyStringSetCallBacks ¶
func KCFCopyStringSetCallBacks() uintptr
KCFCopyStringSetCallBacks returns the address of the symbol kCFCopyStringSetCallBacks.
func KCFCoreFoundationVersionNumber ¶
func KCFCoreFoundationVersionNumber() float64
KCFCoreFoundationVersionNumber returns the value of the constant kCFCoreFoundationVersionNumber.
func KCFDangiCalendar ¶
func KCFDangiCalendar() uintptr
KCFDangiCalendar returns the address of the symbol kCFDangiCalendar.
func KCFDateFormatterAMSymbol ¶
func KCFDateFormatterAMSymbol() uintptr
KCFDateFormatterAMSymbol returns the address of the symbol kCFDateFormatterAMSymbol.
func KCFDateFormatterCalendar ¶
func KCFDateFormatterCalendar() uintptr
KCFDateFormatterCalendar returns the address of the symbol kCFDateFormatterCalendar.
func KCFDateFormatterCalendarName ¶
func KCFDateFormatterCalendarName() uintptr
KCFDateFormatterCalendarName returns the address of the symbol kCFDateFormatterCalendarName.
func KCFDateFormatterDefaultDate ¶
func KCFDateFormatterDefaultDate() uintptr
KCFDateFormatterDefaultDate returns the address of the symbol kCFDateFormatterDefaultDate.
func KCFDateFormatterDefaultFormat ¶
func KCFDateFormatterDefaultFormat() uintptr
KCFDateFormatterDefaultFormat returns the address of the symbol kCFDateFormatterDefaultFormat.
func KCFDateFormatterDoesRelativeDateFormattingKey ¶
func KCFDateFormatterDoesRelativeDateFormattingKey() uintptr
KCFDateFormatterDoesRelativeDateFormattingKey returns the address of the symbol kCFDateFormatterDoesRelativeDateFormattingKey.
func KCFDateFormatterEraSymbols ¶
func KCFDateFormatterEraSymbols() uintptr
KCFDateFormatterEraSymbols returns the address of the symbol kCFDateFormatterEraSymbols.
func KCFDateFormatterGregorianStartDate ¶
func KCFDateFormatterGregorianStartDate() uintptr
KCFDateFormatterGregorianStartDate returns the address of the symbol kCFDateFormatterGregorianStartDate.
func KCFDateFormatterIsLenient ¶
func KCFDateFormatterIsLenient() uintptr
KCFDateFormatterIsLenient returns the address of the symbol kCFDateFormatterIsLenient.
func KCFDateFormatterLongEraSymbols ¶
func KCFDateFormatterLongEraSymbols() uintptr
KCFDateFormatterLongEraSymbols returns the address of the symbol kCFDateFormatterLongEraSymbols.
func KCFDateFormatterMonthSymbols ¶
func KCFDateFormatterMonthSymbols() uintptr
KCFDateFormatterMonthSymbols returns the address of the symbol kCFDateFormatterMonthSymbols.
func KCFDateFormatterPMSymbol ¶
func KCFDateFormatterPMSymbol() uintptr
KCFDateFormatterPMSymbol returns the address of the symbol kCFDateFormatterPMSymbol.
func KCFDateFormatterQuarterSymbols ¶
func KCFDateFormatterQuarterSymbols() uintptr
KCFDateFormatterQuarterSymbols returns the address of the symbol kCFDateFormatterQuarterSymbols.
func KCFDateFormatterShortMonthSymbols ¶
func KCFDateFormatterShortMonthSymbols() uintptr
KCFDateFormatterShortMonthSymbols returns the address of the symbol kCFDateFormatterShortMonthSymbols.
func KCFDateFormatterShortQuarterSymbols ¶
func KCFDateFormatterShortQuarterSymbols() uintptr
KCFDateFormatterShortQuarterSymbols returns the address of the symbol kCFDateFormatterShortQuarterSymbols.
func KCFDateFormatterShortStandaloneMonthSymbols ¶
func KCFDateFormatterShortStandaloneMonthSymbols() uintptr
KCFDateFormatterShortStandaloneMonthSymbols returns the address of the symbol kCFDateFormatterShortStandaloneMonthSymbols.
func KCFDateFormatterShortStandaloneQuarterSymbols ¶
func KCFDateFormatterShortStandaloneQuarterSymbols() uintptr
KCFDateFormatterShortStandaloneQuarterSymbols returns the address of the symbol kCFDateFormatterShortStandaloneQuarterSymbols.
func KCFDateFormatterShortStandaloneWeekdaySymbols ¶
func KCFDateFormatterShortStandaloneWeekdaySymbols() uintptr
KCFDateFormatterShortStandaloneWeekdaySymbols returns the address of the symbol kCFDateFormatterShortStandaloneWeekdaySymbols.
func KCFDateFormatterShortWeekdaySymbols ¶
func KCFDateFormatterShortWeekdaySymbols() uintptr
KCFDateFormatterShortWeekdaySymbols returns the address of the symbol kCFDateFormatterShortWeekdaySymbols.
func KCFDateFormatterStandaloneMonthSymbols ¶
func KCFDateFormatterStandaloneMonthSymbols() uintptr
KCFDateFormatterStandaloneMonthSymbols returns the address of the symbol kCFDateFormatterStandaloneMonthSymbols.
func KCFDateFormatterStandaloneQuarterSymbols ¶
func KCFDateFormatterStandaloneQuarterSymbols() uintptr
KCFDateFormatterStandaloneQuarterSymbols returns the address of the symbol kCFDateFormatterStandaloneQuarterSymbols.
func KCFDateFormatterStandaloneWeekdaySymbols ¶
func KCFDateFormatterStandaloneWeekdaySymbols() uintptr
KCFDateFormatterStandaloneWeekdaySymbols returns the address of the symbol kCFDateFormatterStandaloneWeekdaySymbols.
func KCFDateFormatterTimeZone ¶
func KCFDateFormatterTimeZone() uintptr
KCFDateFormatterTimeZone returns the address of the symbol kCFDateFormatterTimeZone.
func KCFDateFormatterTwoDigitStartDate ¶
func KCFDateFormatterTwoDigitStartDate() uintptr
KCFDateFormatterTwoDigitStartDate returns the address of the symbol kCFDateFormatterTwoDigitStartDate.
func KCFDateFormatterVeryShortMonthSymbols ¶
func KCFDateFormatterVeryShortMonthSymbols() uintptr
KCFDateFormatterVeryShortMonthSymbols returns the address of the symbol kCFDateFormatterVeryShortMonthSymbols.
func KCFDateFormatterVeryShortStandaloneMonthSymbols ¶
func KCFDateFormatterVeryShortStandaloneMonthSymbols() uintptr
KCFDateFormatterVeryShortStandaloneMonthSymbols returns the address of the symbol kCFDateFormatterVeryShortStandaloneMonthSymbols.
func KCFDateFormatterVeryShortStandaloneWeekdaySymbols ¶
func KCFDateFormatterVeryShortStandaloneWeekdaySymbols() uintptr
KCFDateFormatterVeryShortStandaloneWeekdaySymbols returns the address of the symbol kCFDateFormatterVeryShortStandaloneWeekdaySymbols.
func KCFDateFormatterVeryShortWeekdaySymbols ¶
func KCFDateFormatterVeryShortWeekdaySymbols() uintptr
KCFDateFormatterVeryShortWeekdaySymbols returns the address of the symbol kCFDateFormatterVeryShortWeekdaySymbols.
func KCFDateFormatterWeekdaySymbols ¶
func KCFDateFormatterWeekdaySymbols() uintptr
KCFDateFormatterWeekdaySymbols returns the address of the symbol kCFDateFormatterWeekdaySymbols.
func KCFErrorDescriptionKey ¶
KCFErrorDescriptionKey returns the value of the constant kCFErrorDescriptionKey.
func KCFErrorDomainCocoa ¶
func KCFErrorDomainCocoa() uintptr
KCFErrorDomainCocoa returns the address of the symbol kCFErrorDomainCocoa.
func KCFErrorDomainMach ¶
func KCFErrorDomainMach() uintptr
KCFErrorDomainMach returns the address of the symbol kCFErrorDomainMach.
func KCFErrorDomainOSStatus ¶
func KCFErrorDomainOSStatus() uintptr
KCFErrorDomainOSStatus returns the address of the symbol kCFErrorDomainOSStatus.
func KCFErrorDomainPOSIX ¶
func KCFErrorDomainPOSIX() uintptr
KCFErrorDomainPOSIX returns the address of the symbol kCFErrorDomainPOSIX.
func KCFErrorFilePathKey ¶
KCFErrorFilePathKey returns the value of the constant kCFErrorFilePathKey.
func KCFErrorLocalizedDescriptionKey ¶
KCFErrorLocalizedDescriptionKey returns the value of the constant kCFErrorLocalizedDescriptionKey.
func KCFErrorLocalizedFailureKey ¶
KCFErrorLocalizedFailureKey returns the value of the constant kCFErrorLocalizedFailureKey.
func KCFErrorLocalizedFailureReasonKey ¶
KCFErrorLocalizedFailureReasonKey returns the value of the constant kCFErrorLocalizedFailureReasonKey.
func KCFErrorLocalizedRecoverySuggestionKey ¶
KCFErrorLocalizedRecoverySuggestionKey returns the value of the constant kCFErrorLocalizedRecoverySuggestionKey.
func KCFErrorURLKey ¶
KCFErrorURLKey returns the value of the constant kCFErrorURLKey.
func KCFErrorUnderlyingErrorKey ¶
KCFErrorUnderlyingErrorKey returns the value of the constant kCFErrorUnderlyingErrorKey.
func KCFGregorianCalendar ¶
func KCFGregorianCalendar() uintptr
KCFGregorianCalendar returns the address of the symbol kCFGregorianCalendar.
func KCFGujaratiCalendar ¶
func KCFGujaratiCalendar() uintptr
KCFGujaratiCalendar returns the address of the symbol kCFGujaratiCalendar.
func KCFHebrewCalendar ¶
func KCFHebrewCalendar() uintptr
KCFHebrewCalendar returns the address of the symbol kCFHebrewCalendar.
func KCFISO8601Calendar ¶
func KCFISO8601Calendar() uintptr
KCFISO8601Calendar returns the address of the symbol kCFISO8601Calendar.
func KCFIndianCalendar ¶
func KCFIndianCalendar() uintptr
KCFIndianCalendar returns the address of the symbol kCFIndianCalendar.
func KCFIslamicCalendar ¶
func KCFIslamicCalendar() uintptr
KCFIslamicCalendar returns the address of the symbol kCFIslamicCalendar.
func KCFIslamicCivilCalendar ¶
func KCFIslamicCivilCalendar() uintptr
KCFIslamicCivilCalendar returns the address of the symbol kCFIslamicCivilCalendar.
func KCFIslamicTabularCalendar ¶
func KCFIslamicTabularCalendar() uintptr
KCFIslamicTabularCalendar returns the address of the symbol kCFIslamicTabularCalendar.
func KCFIslamicUmmAlQuraCalendar ¶
func KCFIslamicUmmAlQuraCalendar() uintptr
KCFIslamicUmmAlQuraCalendar returns the address of the symbol kCFIslamicUmmAlQuraCalendar.
func KCFJapaneseCalendar ¶
func KCFJapaneseCalendar() uintptr
KCFJapaneseCalendar returns the address of the symbol kCFJapaneseCalendar.
func KCFKannadaCalendar ¶
func KCFKannadaCalendar() uintptr
KCFKannadaCalendar returns the address of the symbol kCFKannadaCalendar.
func KCFLocaleAlternateQuotationBeginDelimiterKey ¶
func KCFLocaleAlternateQuotationBeginDelimiterKey() uintptr
KCFLocaleAlternateQuotationBeginDelimiterKey returns the address of the symbol kCFLocaleAlternateQuotationBeginDelimiterKey.
func KCFLocaleAlternateQuotationEndDelimiterKey ¶
func KCFLocaleAlternateQuotationEndDelimiterKey() uintptr
KCFLocaleAlternateQuotationEndDelimiterKey returns the address of the symbol kCFLocaleAlternateQuotationEndDelimiterKey.
func KCFLocaleCalendar ¶
func KCFLocaleCalendar() uintptr
KCFLocaleCalendar returns the address of the symbol kCFLocaleCalendar.
func KCFLocaleCalendarIdentifier ¶
func KCFLocaleCalendarIdentifier() uintptr
KCFLocaleCalendarIdentifier returns the address of the symbol kCFLocaleCalendarIdentifier.
func KCFLocaleCollationIdentifier ¶
func KCFLocaleCollationIdentifier() uintptr
KCFLocaleCollationIdentifier returns the address of the symbol kCFLocaleCollationIdentifier.
func KCFLocaleCollatorIdentifier ¶
func KCFLocaleCollatorIdentifier() uintptr
KCFLocaleCollatorIdentifier returns the address of the symbol kCFLocaleCollatorIdentifier.
func KCFLocaleCountryCode ¶
func KCFLocaleCountryCode() uintptr
KCFLocaleCountryCode returns the address of the symbol kCFLocaleCountryCode.
func KCFLocaleCurrencyCode ¶
func KCFLocaleCurrencyCode() uintptr
KCFLocaleCurrencyCode returns the address of the symbol kCFLocaleCurrencyCode.
func KCFLocaleCurrencySymbol ¶
func KCFLocaleCurrencySymbol() uintptr
KCFLocaleCurrencySymbol returns the address of the symbol kCFLocaleCurrencySymbol.
func KCFLocaleCurrentLocaleDidChangeNotification ¶
func KCFLocaleCurrentLocaleDidChangeNotification() uintptr
KCFLocaleCurrentLocaleDidChangeNotification returns the address of the symbol kCFLocaleCurrentLocaleDidChangeNotification.
func KCFLocaleDecimalSeparator ¶
func KCFLocaleDecimalSeparator() uintptr
KCFLocaleDecimalSeparator returns the address of the symbol kCFLocaleDecimalSeparator.
func KCFLocaleExemplarCharacterSet ¶
func KCFLocaleExemplarCharacterSet() uintptr
KCFLocaleExemplarCharacterSet returns the address of the symbol kCFLocaleExemplarCharacterSet.
func KCFLocaleGroupingSeparator ¶
func KCFLocaleGroupingSeparator() uintptr
KCFLocaleGroupingSeparator returns the address of the symbol kCFLocaleGroupingSeparator.
func KCFLocaleIdentifier ¶
func KCFLocaleIdentifier() uintptr
KCFLocaleIdentifier returns the address of the symbol kCFLocaleIdentifier.
func KCFLocaleLanguageCode ¶
func KCFLocaleLanguageCode() uintptr
KCFLocaleLanguageCode returns the address of the symbol kCFLocaleLanguageCode.
func KCFLocaleMeasurementSystem ¶
func KCFLocaleMeasurementSystem() uintptr
KCFLocaleMeasurementSystem returns the address of the symbol kCFLocaleMeasurementSystem.
func KCFLocaleQuotationBeginDelimiterKey ¶
func KCFLocaleQuotationBeginDelimiterKey() uintptr
KCFLocaleQuotationBeginDelimiterKey returns the address of the symbol kCFLocaleQuotationBeginDelimiterKey.
func KCFLocaleQuotationEndDelimiterKey ¶
func KCFLocaleQuotationEndDelimiterKey() uintptr
KCFLocaleQuotationEndDelimiterKey returns the address of the symbol kCFLocaleQuotationEndDelimiterKey.
func KCFLocaleScriptCode ¶
func KCFLocaleScriptCode() uintptr
KCFLocaleScriptCode returns the address of the symbol kCFLocaleScriptCode.
func KCFLocaleUsesMetricSystem ¶
func KCFLocaleUsesMetricSystem() uintptr
KCFLocaleUsesMetricSystem returns the address of the symbol kCFLocaleUsesMetricSystem.
func KCFLocaleVariantCode ¶
func KCFLocaleVariantCode() uintptr
KCFLocaleVariantCode returns the address of the symbol kCFLocaleVariantCode.
func KCFMalayalamCalendar ¶
func KCFMalayalamCalendar() uintptr
KCFMalayalamCalendar returns the address of the symbol kCFMalayalamCalendar.
func KCFMarathiCalendar ¶
func KCFMarathiCalendar() uintptr
KCFMarathiCalendar returns the address of the symbol kCFMarathiCalendar.
func KCFNumberFormatterAlwaysShowDecimalSeparator ¶
func KCFNumberFormatterAlwaysShowDecimalSeparator() uintptr
KCFNumberFormatterAlwaysShowDecimalSeparator returns the address of the symbol kCFNumberFormatterAlwaysShowDecimalSeparator.
func KCFNumberFormatterCurrencyCode ¶
func KCFNumberFormatterCurrencyCode() uintptr
KCFNumberFormatterCurrencyCode returns the address of the symbol kCFNumberFormatterCurrencyCode.
func KCFNumberFormatterCurrencyDecimalSeparator ¶
func KCFNumberFormatterCurrencyDecimalSeparator() uintptr
KCFNumberFormatterCurrencyDecimalSeparator returns the address of the symbol kCFNumberFormatterCurrencyDecimalSeparator.
func KCFNumberFormatterCurrencyGroupingSeparator ¶
func KCFNumberFormatterCurrencyGroupingSeparator() uintptr
KCFNumberFormatterCurrencyGroupingSeparator returns the address of the symbol kCFNumberFormatterCurrencyGroupingSeparator.
func KCFNumberFormatterCurrencySymbol ¶
func KCFNumberFormatterCurrencySymbol() uintptr
KCFNumberFormatterCurrencySymbol returns the address of the symbol kCFNumberFormatterCurrencySymbol.
func KCFNumberFormatterDecimalSeparator ¶
func KCFNumberFormatterDecimalSeparator() uintptr
KCFNumberFormatterDecimalSeparator returns the address of the symbol kCFNumberFormatterDecimalSeparator.
func KCFNumberFormatterDefaultFormat ¶
func KCFNumberFormatterDefaultFormat() uintptr
KCFNumberFormatterDefaultFormat returns the address of the symbol kCFNumberFormatterDefaultFormat.
func KCFNumberFormatterExponentSymbol ¶
func KCFNumberFormatterExponentSymbol() uintptr
KCFNumberFormatterExponentSymbol returns the address of the symbol kCFNumberFormatterExponentSymbol.
func KCFNumberFormatterFormatWidth ¶
func KCFNumberFormatterFormatWidth() uintptr
KCFNumberFormatterFormatWidth returns the address of the symbol kCFNumberFormatterFormatWidth.
func KCFNumberFormatterGroupingSeparator ¶
func KCFNumberFormatterGroupingSeparator() uintptr
KCFNumberFormatterGroupingSeparator returns the address of the symbol kCFNumberFormatterGroupingSeparator.
func KCFNumberFormatterGroupingSize ¶
func KCFNumberFormatterGroupingSize() uintptr
KCFNumberFormatterGroupingSize returns the address of the symbol kCFNumberFormatterGroupingSize.
func KCFNumberFormatterInfinitySymbol ¶
func KCFNumberFormatterInfinitySymbol() uintptr
KCFNumberFormatterInfinitySymbol returns the address of the symbol kCFNumberFormatterInfinitySymbol.
func KCFNumberFormatterInternationalCurrencySymbol ¶
func KCFNumberFormatterInternationalCurrencySymbol() uintptr
KCFNumberFormatterInternationalCurrencySymbol returns the address of the symbol kCFNumberFormatterInternationalCurrencySymbol.
func KCFNumberFormatterIsLenient ¶
func KCFNumberFormatterIsLenient() uintptr
KCFNumberFormatterIsLenient returns the address of the symbol kCFNumberFormatterIsLenient.
func KCFNumberFormatterMaxFractionDigits ¶
func KCFNumberFormatterMaxFractionDigits() uintptr
KCFNumberFormatterMaxFractionDigits returns the address of the symbol kCFNumberFormatterMaxFractionDigits.
func KCFNumberFormatterMaxIntegerDigits ¶
func KCFNumberFormatterMaxIntegerDigits() uintptr
KCFNumberFormatterMaxIntegerDigits returns the address of the symbol kCFNumberFormatterMaxIntegerDigits.
func KCFNumberFormatterMaxSignificantDigits ¶
func KCFNumberFormatterMaxSignificantDigits() uintptr
KCFNumberFormatterMaxSignificantDigits returns the address of the symbol kCFNumberFormatterMaxSignificantDigits.
func KCFNumberFormatterMinFractionDigits ¶
func KCFNumberFormatterMinFractionDigits() uintptr
KCFNumberFormatterMinFractionDigits returns the address of the symbol kCFNumberFormatterMinFractionDigits.
func KCFNumberFormatterMinGroupingDigits ¶
func KCFNumberFormatterMinGroupingDigits() uintptr
KCFNumberFormatterMinGroupingDigits returns the address of the symbol kCFNumberFormatterMinGroupingDigits.
func KCFNumberFormatterMinIntegerDigits ¶
func KCFNumberFormatterMinIntegerDigits() uintptr
KCFNumberFormatterMinIntegerDigits returns the address of the symbol kCFNumberFormatterMinIntegerDigits.
func KCFNumberFormatterMinSignificantDigits ¶
func KCFNumberFormatterMinSignificantDigits() uintptr
KCFNumberFormatterMinSignificantDigits returns the address of the symbol kCFNumberFormatterMinSignificantDigits.
func KCFNumberFormatterMinusSign ¶
func KCFNumberFormatterMinusSign() uintptr
KCFNumberFormatterMinusSign returns the address of the symbol kCFNumberFormatterMinusSign.
func KCFNumberFormatterMultiplier ¶
func KCFNumberFormatterMultiplier() uintptr
KCFNumberFormatterMultiplier returns the address of the symbol kCFNumberFormatterMultiplier.
func KCFNumberFormatterNaNSymbol ¶
func KCFNumberFormatterNaNSymbol() uintptr
KCFNumberFormatterNaNSymbol returns the address of the symbol kCFNumberFormatterNaNSymbol.
func KCFNumberFormatterNegativePrefix ¶
func KCFNumberFormatterNegativePrefix() uintptr
KCFNumberFormatterNegativePrefix returns the address of the symbol kCFNumberFormatterNegativePrefix.
func KCFNumberFormatterNegativeSuffix ¶
func KCFNumberFormatterNegativeSuffix() uintptr
KCFNumberFormatterNegativeSuffix returns the address of the symbol kCFNumberFormatterNegativeSuffix.
func KCFNumberFormatterPaddingCharacter ¶
func KCFNumberFormatterPaddingCharacter() uintptr
KCFNumberFormatterPaddingCharacter returns the address of the symbol kCFNumberFormatterPaddingCharacter.
func KCFNumberFormatterPaddingPosition ¶
func KCFNumberFormatterPaddingPosition() uintptr
KCFNumberFormatterPaddingPosition returns the address of the symbol kCFNumberFormatterPaddingPosition.
func KCFNumberFormatterPerMillSymbol ¶
func KCFNumberFormatterPerMillSymbol() uintptr
KCFNumberFormatterPerMillSymbol returns the address of the symbol kCFNumberFormatterPerMillSymbol.
func KCFNumberFormatterPercentSymbol ¶
func KCFNumberFormatterPercentSymbol() uintptr
KCFNumberFormatterPercentSymbol returns the address of the symbol kCFNumberFormatterPercentSymbol.
func KCFNumberFormatterPlusSign ¶
func KCFNumberFormatterPlusSign() uintptr
KCFNumberFormatterPlusSign returns the address of the symbol kCFNumberFormatterPlusSign.
func KCFNumberFormatterPositivePrefix ¶
func KCFNumberFormatterPositivePrefix() uintptr
KCFNumberFormatterPositivePrefix returns the address of the symbol kCFNumberFormatterPositivePrefix.
func KCFNumberFormatterPositiveSuffix ¶
func KCFNumberFormatterPositiveSuffix() uintptr
KCFNumberFormatterPositiveSuffix returns the address of the symbol kCFNumberFormatterPositiveSuffix.
func KCFNumberFormatterRoundingIncrement ¶
func KCFNumberFormatterRoundingIncrement() uintptr
KCFNumberFormatterRoundingIncrement returns the address of the symbol kCFNumberFormatterRoundingIncrement.
func KCFNumberFormatterRoundingMode ¶
func KCFNumberFormatterRoundingMode() uintptr
KCFNumberFormatterRoundingMode returns the address of the symbol kCFNumberFormatterRoundingMode.
func KCFNumberFormatterSecondaryGroupingSize ¶
func KCFNumberFormatterSecondaryGroupingSize() uintptr
KCFNumberFormatterSecondaryGroupingSize returns the address of the symbol kCFNumberFormatterSecondaryGroupingSize.
func KCFNumberFormatterUseGroupingSeparator ¶
func KCFNumberFormatterUseGroupingSeparator() uintptr
KCFNumberFormatterUseGroupingSeparator returns the address of the symbol kCFNumberFormatterUseGroupingSeparator.
func KCFNumberFormatterUseSignificantDigits ¶
func KCFNumberFormatterUseSignificantDigits() uintptr
KCFNumberFormatterUseSignificantDigits returns the address of the symbol kCFNumberFormatterUseSignificantDigits.
func KCFNumberFormatterZeroSymbol ¶
func KCFNumberFormatterZeroSymbol() uintptr
KCFNumberFormatterZeroSymbol returns the address of the symbol kCFNumberFormatterZeroSymbol.
func KCFNumberNaN ¶
KCFNumberNaN returns the value of the constant kCFNumberNaN.
func KCFNumberNegativeInfinity ¶
KCFNumberNegativeInfinity returns the value of the constant kCFNumberNegativeInfinity.
func KCFNumberPositiveInfinity ¶
KCFNumberPositiveInfinity returns the value of the constant kCFNumberPositiveInfinity.
func KCFOdiaCalendar ¶
func KCFOdiaCalendar() uintptr
KCFOdiaCalendar returns the address of the symbol kCFOdiaCalendar.
func KCFPersianCalendar ¶
func KCFPersianCalendar() uintptr
KCFPersianCalendar returns the address of the symbol kCFPersianCalendar.
func KCFPlugInDynamicRegisterFunctionKey ¶
KCFPlugInDynamicRegisterFunctionKey returns the value of the constant kCFPlugInDynamicRegisterFunctionKey.
func KCFPlugInDynamicRegistrationKey ¶
KCFPlugInDynamicRegistrationKey returns the value of the constant kCFPlugInDynamicRegistrationKey.
func KCFPlugInFactoriesKey ¶
KCFPlugInFactoriesKey returns the value of the constant kCFPlugInFactoriesKey.
func KCFPlugInTypesKey ¶
KCFPlugInTypesKey returns the value of the constant kCFPlugInTypesKey.
func KCFPlugInUnloadFunctionKey ¶
KCFPlugInUnloadFunctionKey returns the value of the constant kCFPlugInUnloadFunctionKey.
func KCFPreferencesAnyApplication ¶
KCFPreferencesAnyApplication returns the value of the constant kCFPreferencesAnyApplication.
func KCFPreferencesAnyHost ¶
KCFPreferencesAnyHost returns the value of the constant kCFPreferencesAnyHost.
func KCFPreferencesAnyUser ¶
KCFPreferencesAnyUser returns the value of the constant kCFPreferencesAnyUser.
func KCFPreferencesCurrentApplication ¶
KCFPreferencesCurrentApplication returns the value of the constant kCFPreferencesCurrentApplication.
func KCFPreferencesCurrentHost ¶
KCFPreferencesCurrentHost returns the value of the constant kCFPreferencesCurrentHost.
func KCFPreferencesCurrentUser ¶
KCFPreferencesCurrentUser returns the value of the constant kCFPreferencesCurrentUser.
func KCFRepublicOfChinaCalendar ¶
func KCFRepublicOfChinaCalendar() uintptr
KCFRepublicOfChinaCalendar returns the address of the symbol kCFRepublicOfChinaCalendar.
func KCFRunLoopCommonModes ¶
func KCFRunLoopCommonModes() uintptr
KCFRunLoopCommonModes returns the address of the symbol kCFRunLoopCommonModes.
func KCFRunLoopDefaultMode ¶
func KCFRunLoopDefaultMode() uintptr
KCFRunLoopDefaultMode returns the address of the symbol kCFRunLoopDefaultMode.
func KCFSocketCommandKey ¶
KCFSocketCommandKey returns the value of the constant kCFSocketCommandKey.
func KCFSocketErrorKey ¶
KCFSocketErrorKey returns the value of the constant kCFSocketErrorKey.
func KCFSocketNameKey ¶
KCFSocketNameKey returns the value of the constant kCFSocketNameKey.
func KCFSocketRegisterCommand ¶
KCFSocketRegisterCommand returns the value of the constant kCFSocketRegisterCommand.
func KCFSocketResultKey ¶
KCFSocketResultKey returns the value of the constant kCFSocketResultKey.
func KCFSocketRetrieveCommand ¶
KCFSocketRetrieveCommand returns the value of the constant kCFSocketRetrieveCommand.
func KCFSocketValueKey ¶
KCFSocketValueKey returns the value of the constant kCFSocketValueKey.
func KCFStreamErrorDomainSOCKS ¶
func KCFStreamErrorDomainSOCKS() uintptr
KCFStreamErrorDomainSOCKS returns the address of the symbol kCFStreamErrorDomainSOCKS.
func KCFStreamErrorDomainSSL ¶
func KCFStreamErrorDomainSSL() uintptr
KCFStreamErrorDomainSSL returns the address of the symbol kCFStreamErrorDomainSSL.
func KCFStreamPropertyAppendToFile ¶
func KCFStreamPropertyAppendToFile() uintptr
KCFStreamPropertyAppendToFile returns the address of the symbol kCFStreamPropertyAppendToFile.
func KCFStreamPropertyDataWritten ¶
func KCFStreamPropertyDataWritten() uintptr
KCFStreamPropertyDataWritten returns the address of the symbol kCFStreamPropertyDataWritten.
func KCFStreamPropertyFileCurrentOffset ¶
func KCFStreamPropertyFileCurrentOffset() uintptr
KCFStreamPropertyFileCurrentOffset returns the address of the symbol kCFStreamPropertyFileCurrentOffset.
func KCFStreamPropertySOCKSPassword ¶
KCFStreamPropertySOCKSPassword returns the value of the constant kCFStreamPropertySOCKSPassword.
func KCFStreamPropertySOCKSProxy ¶
KCFStreamPropertySOCKSProxy returns the value of the constant kCFStreamPropertySOCKSProxy.
func KCFStreamPropertySOCKSProxyHost ¶
KCFStreamPropertySOCKSProxyHost returns the value of the constant kCFStreamPropertySOCKSProxyHost.
func KCFStreamPropertySOCKSProxyPort ¶
KCFStreamPropertySOCKSProxyPort returns the value of the constant kCFStreamPropertySOCKSProxyPort.
func KCFStreamPropertySOCKSUser ¶
KCFStreamPropertySOCKSUser returns the value of the constant kCFStreamPropertySOCKSUser.
func KCFStreamPropertySOCKSVersion ¶
KCFStreamPropertySOCKSVersion returns the value of the constant kCFStreamPropertySOCKSVersion.
func KCFStreamPropertyShouldCloseNativeSocket ¶
KCFStreamPropertyShouldCloseNativeSocket returns the value of the constant kCFStreamPropertyShouldCloseNativeSocket.
func KCFStreamPropertySocketNativeHandle ¶
func KCFStreamPropertySocketNativeHandle() uintptr
KCFStreamPropertySocketNativeHandle returns the address of the symbol kCFStreamPropertySocketNativeHandle.
func KCFStreamPropertySocketRemoteHostName ¶
func KCFStreamPropertySocketRemoteHostName() uintptr
KCFStreamPropertySocketRemoteHostName returns the address of the symbol kCFStreamPropertySocketRemoteHostName.
func KCFStreamPropertySocketRemotePortNumber ¶
func KCFStreamPropertySocketRemotePortNumber() uintptr
KCFStreamPropertySocketRemotePortNumber returns the address of the symbol kCFStreamPropertySocketRemotePortNumber.
func KCFStreamPropertySocketSecurityLevel ¶
KCFStreamPropertySocketSecurityLevel returns the value of the constant kCFStreamPropertySocketSecurityLevel.
func KCFStreamSocketSOCKSVersion4 ¶
KCFStreamSocketSOCKSVersion4 returns the value of the constant kCFStreamSocketSOCKSVersion4.
func KCFStreamSocketSOCKSVersion5 ¶
KCFStreamSocketSOCKSVersion5 returns the value of the constant kCFStreamSocketSOCKSVersion5.
func KCFStreamSocketSecurityLevelNegotiatedSSL ¶
KCFStreamSocketSecurityLevelNegotiatedSSL returns the value of the constant kCFStreamSocketSecurityLevelNegotiatedSSL.
func KCFStreamSocketSecurityLevelNone ¶
KCFStreamSocketSecurityLevelNone returns the value of the constant kCFStreamSocketSecurityLevelNone.
func KCFStreamSocketSecurityLevelSSLv2 ¶
KCFStreamSocketSecurityLevelSSLv2 returns the value of the constant kCFStreamSocketSecurityLevelSSLv2.
func KCFStreamSocketSecurityLevelSSLv3 ¶
KCFStreamSocketSecurityLevelSSLv3 returns the value of the constant kCFStreamSocketSecurityLevelSSLv3.
func KCFStreamSocketSecurityLevelTLSv1 ¶
KCFStreamSocketSecurityLevelTLSv1 returns the value of the constant kCFStreamSocketSecurityLevelTLSv1.
func KCFStringBinaryHeapCallBacks ¶
func KCFStringBinaryHeapCallBacks() uintptr
KCFStringBinaryHeapCallBacks returns the address of the symbol kCFStringBinaryHeapCallBacks.
func KCFStringTransformFullwidthHalfwidth ¶
KCFStringTransformFullwidthHalfwidth returns the value of the constant kCFStringTransformFullwidthHalfwidth.
func KCFStringTransformHiraganaKatakana ¶
KCFStringTransformHiraganaKatakana returns the value of the constant kCFStringTransformHiraganaKatakana.
func KCFStringTransformLatinArabic ¶
KCFStringTransformLatinArabic returns the value of the constant kCFStringTransformLatinArabic.
func KCFStringTransformLatinCyrillic ¶
KCFStringTransformLatinCyrillic returns the value of the constant kCFStringTransformLatinCyrillic.
func KCFStringTransformLatinGreek ¶
KCFStringTransformLatinGreek returns the value of the constant kCFStringTransformLatinGreek.
func KCFStringTransformLatinHangul ¶
KCFStringTransformLatinHangul returns the value of the constant kCFStringTransformLatinHangul.
func KCFStringTransformLatinHebrew ¶
KCFStringTransformLatinHebrew returns the value of the constant kCFStringTransformLatinHebrew.
func KCFStringTransformLatinHiragana ¶
KCFStringTransformLatinHiragana returns the value of the constant kCFStringTransformLatinHiragana.
func KCFStringTransformLatinKatakana ¶
KCFStringTransformLatinKatakana returns the value of the constant kCFStringTransformLatinKatakana.
func KCFStringTransformLatinThai ¶
KCFStringTransformLatinThai returns the value of the constant kCFStringTransformLatinThai.
func KCFStringTransformMandarinLatin ¶
KCFStringTransformMandarinLatin returns the value of the constant kCFStringTransformMandarinLatin.
func KCFStringTransformStripCombiningMarks ¶
KCFStringTransformStripCombiningMarks returns the value of the constant kCFStringTransformStripCombiningMarks.
func KCFStringTransformStripDiacritics ¶
KCFStringTransformStripDiacritics returns the value of the constant kCFStringTransformStripDiacritics.
func KCFStringTransformToLatin ¶
KCFStringTransformToLatin returns the value of the constant kCFStringTransformToLatin.
func KCFStringTransformToUnicodeName ¶
KCFStringTransformToUnicodeName returns the value of the constant kCFStringTransformToUnicodeName.
func KCFStringTransformToXMLHex ¶
KCFStringTransformToXMLHex returns the value of the constant kCFStringTransformToXMLHex.
func KCFTamilCalendar ¶
func KCFTamilCalendar() uintptr
KCFTamilCalendar returns the address of the symbol kCFTamilCalendar.
func KCFTeluguCalendar ¶
func KCFTeluguCalendar() uintptr
KCFTeluguCalendar returns the address of the symbol kCFTeluguCalendar.
func KCFTimeZoneSystemTimeZoneDidChangeNotification ¶
func KCFTimeZoneSystemTimeZoneDidChangeNotification() uintptr
KCFTimeZoneSystemTimeZoneDidChangeNotification returns the address of the symbol kCFTimeZoneSystemTimeZoneDidChangeNotification.
func KCFTypeArrayCallBacks ¶
func KCFTypeArrayCallBacks() uintptr
KCFTypeArrayCallBacks returns the address of the symbol kCFTypeArrayCallBacks.
func KCFTypeBagCallBacks ¶
func KCFTypeBagCallBacks() uintptr
KCFTypeBagCallBacks returns the address of the symbol kCFTypeBagCallBacks.
func KCFTypeDictionaryKeyCallBacks ¶
func KCFTypeDictionaryKeyCallBacks() uintptr
KCFTypeDictionaryKeyCallBacks returns the address of the symbol kCFTypeDictionaryKeyCallBacks.
func KCFTypeDictionaryValueCallBacks ¶
func KCFTypeDictionaryValueCallBacks() uintptr
KCFTypeDictionaryValueCallBacks returns the address of the symbol kCFTypeDictionaryValueCallBacks.
func KCFTypeSetCallBacks ¶
func KCFTypeSetCallBacks() uintptr
KCFTypeSetCallBacks returns the address of the symbol kCFTypeSetCallBacks.
func KCFURLAddedToDirectoryDateKey ¶
KCFURLAddedToDirectoryDateKey returns the value of the constant kCFURLAddedToDirectoryDateKey.
func KCFURLApplicationIsScriptableKey ¶
KCFURLApplicationIsScriptableKey returns the value of the constant kCFURLApplicationIsScriptableKey.
func KCFURLAttributeModificationDateKey ¶
KCFURLAttributeModificationDateKey returns the value of the constant kCFURLAttributeModificationDateKey.
func KCFURLCanonicalPathKey ¶
KCFURLCanonicalPathKey returns the value of the constant kCFURLCanonicalPathKey.
func KCFURLContentAccessDateKey ¶
KCFURLContentAccessDateKey returns the value of the constant kCFURLContentAccessDateKey.
func KCFURLContentModificationDateKey ¶
KCFURLContentModificationDateKey returns the value of the constant kCFURLContentModificationDateKey.
func KCFURLCreationDateKey ¶
KCFURLCreationDateKey returns the value of the constant kCFURLCreationDateKey.
func KCFURLCustomIconKey ¶
KCFURLCustomIconKey returns the value of the constant kCFURLCustomIconKey.
func KCFURLDirectoryEntryCountKey ¶
KCFURLDirectoryEntryCountKey returns the value of the constant kCFURLDirectoryEntryCountKey.
func KCFURLDocumentIdentifierKey ¶
KCFURLDocumentIdentifierKey returns the value of the constant kCFURLDocumentIdentifierKey.
func KCFURLEffectiveIconKey ¶
KCFURLEffectiveIconKey returns the value of the constant kCFURLEffectiveIconKey.
func KCFURLFileAllocatedSizeKey ¶
KCFURLFileAllocatedSizeKey returns the value of the constant kCFURLFileAllocatedSizeKey.
func KCFURLFileContentIdentifierKey ¶
KCFURLFileContentIdentifierKey returns the value of the constant kCFURLFileContentIdentifierKey.
func KCFURLFileDirectoryContents ¶
KCFURLFileDirectoryContents returns the value of the constant kCFURLFileDirectoryContents.
func KCFURLFileExists ¶
KCFURLFileExists returns the value of the constant kCFURLFileExists.
func KCFURLFileIdentifierKey ¶
KCFURLFileIdentifierKey returns the value of the constant kCFURLFileIdentifierKey.
func KCFURLFileLastModificationTime ¶
KCFURLFileLastModificationTime returns the value of the constant kCFURLFileLastModificationTime.
func KCFURLFileLength ¶
KCFURLFileLength returns the value of the constant kCFURLFileLength.
func KCFURLFileOwnerID ¶
KCFURLFileOwnerID returns the value of the constant kCFURLFileOwnerID.
func KCFURLFilePOSIXMode ¶
KCFURLFilePOSIXMode returns the value of the constant kCFURLFilePOSIXMode.
func KCFURLFileResourceIdentifierKey ¶
KCFURLFileResourceIdentifierKey returns the value of the constant kCFURLFileResourceIdentifierKey.
func KCFURLFileResourceTypeBlockSpecial ¶
KCFURLFileResourceTypeBlockSpecial returns the value of the constant kCFURLFileResourceTypeBlockSpecial.
func KCFURLFileResourceTypeCharacterSpecial ¶
KCFURLFileResourceTypeCharacterSpecial returns the value of the constant kCFURLFileResourceTypeCharacterSpecial.
func KCFURLFileResourceTypeDirectory ¶
KCFURLFileResourceTypeDirectory returns the value of the constant kCFURLFileResourceTypeDirectory.
func KCFURLFileResourceTypeKey ¶
KCFURLFileResourceTypeKey returns the value of the constant kCFURLFileResourceTypeKey.
func KCFURLFileResourceTypeNamedPipe ¶
KCFURLFileResourceTypeNamedPipe returns the value of the constant kCFURLFileResourceTypeNamedPipe.
func KCFURLFileResourceTypeRegular ¶
KCFURLFileResourceTypeRegular returns the value of the constant kCFURLFileResourceTypeRegular.
func KCFURLFileResourceTypeSocket ¶
KCFURLFileResourceTypeSocket returns the value of the constant kCFURLFileResourceTypeSocket.
func KCFURLFileResourceTypeSymbolicLink ¶
KCFURLFileResourceTypeSymbolicLink returns the value of the constant kCFURLFileResourceTypeSymbolicLink.
func KCFURLFileResourceTypeUnknown ¶
KCFURLFileResourceTypeUnknown returns the value of the constant kCFURLFileResourceTypeUnknown.
func KCFURLFileSecurityKey ¶
KCFURLFileSecurityKey returns the value of the constant kCFURLFileSecurityKey.
func KCFURLFileSizeKey ¶
KCFURLFileSizeKey returns the value of the constant kCFURLFileSizeKey.
func KCFURLGenerationIdentifierKey ¶
KCFURLGenerationIdentifierKey returns the value of the constant kCFURLGenerationIdentifierKey.
func KCFURLHTTPStatusCode ¶
KCFURLHTTPStatusCode returns the value of the constant kCFURLHTTPStatusCode.
func KCFURLHTTPStatusLine ¶
KCFURLHTTPStatusLine returns the value of the constant kCFURLHTTPStatusLine.
func KCFURLHasHiddenExtensionKey ¶
KCFURLHasHiddenExtensionKey returns the value of the constant kCFURLHasHiddenExtensionKey.
func KCFURLIsAliasFileKey ¶
KCFURLIsAliasFileKey returns the value of the constant kCFURLIsAliasFileKey.
func KCFURLIsApplicationKey ¶
KCFURLIsApplicationKey returns the value of the constant kCFURLIsApplicationKey.
func KCFURLIsDirectoryKey ¶
KCFURLIsDirectoryKey returns the value of the constant kCFURLIsDirectoryKey.
func KCFURLIsExcludedFromBackupKey ¶
KCFURLIsExcludedFromBackupKey returns the value of the constant kCFURLIsExcludedFromBackupKey.
func KCFURLIsExecutableKey ¶
KCFURLIsExecutableKey returns the value of the constant kCFURLIsExecutableKey.
func KCFURLIsHiddenKey ¶
KCFURLIsHiddenKey returns the value of the constant kCFURLIsHiddenKey.
func KCFURLIsMountTriggerKey ¶
KCFURLIsMountTriggerKey returns the value of the constant kCFURLIsMountTriggerKey.
func KCFURLIsPackageKey ¶
KCFURLIsPackageKey returns the value of the constant kCFURLIsPackageKey.
func KCFURLIsPurgeableKey ¶
KCFURLIsPurgeableKey returns the value of the constant kCFURLIsPurgeableKey.
func KCFURLIsReadableKey ¶
KCFURLIsReadableKey returns the value of the constant kCFURLIsReadableKey.
func KCFURLIsRegularFileKey ¶
KCFURLIsRegularFileKey returns the value of the constant kCFURLIsRegularFileKey.
func KCFURLIsSparseKey ¶
KCFURLIsSparseKey returns the value of the constant kCFURLIsSparseKey.
func KCFURLIsSymbolicLinkKey ¶
KCFURLIsSymbolicLinkKey returns the value of the constant kCFURLIsSymbolicLinkKey.
func KCFURLIsSystemImmutableKey ¶
KCFURLIsSystemImmutableKey returns the value of the constant kCFURLIsSystemImmutableKey.
func KCFURLIsUbiquitousItemKey ¶
KCFURLIsUbiquitousItemKey returns the value of the constant kCFURLIsUbiquitousItemKey.
func KCFURLIsUserImmutableKey ¶
KCFURLIsUserImmutableKey returns the value of the constant kCFURLIsUserImmutableKey.
func KCFURLIsVolumeKey ¶
KCFURLIsVolumeKey returns the value of the constant kCFURLIsVolumeKey.
func KCFURLIsWritableKey ¶
KCFURLIsWritableKey returns the value of the constant kCFURLIsWritableKey.
func KCFURLKeysOfUnsetValuesKey ¶
KCFURLKeysOfUnsetValuesKey returns the value of the constant kCFURLKeysOfUnsetValuesKey.
func KCFURLLabelColorKey ¶
KCFURLLabelColorKey returns the value of the constant kCFURLLabelColorKey.
func KCFURLLabelNumberKey ¶
KCFURLLabelNumberKey returns the value of the constant kCFURLLabelNumberKey.
func KCFURLLinkCountKey ¶
KCFURLLinkCountKey returns the value of the constant kCFURLLinkCountKey.
func KCFURLLocalizedLabelKey ¶
KCFURLLocalizedLabelKey returns the value of the constant kCFURLLocalizedLabelKey.
func KCFURLLocalizedNameKey ¶
KCFURLLocalizedNameKey returns the value of the constant kCFURLLocalizedNameKey.
func KCFURLLocalizedTypeDescriptionKey ¶
KCFURLLocalizedTypeDescriptionKey returns the value of the constant kCFURLLocalizedTypeDescriptionKey.
func KCFURLMayHaveExtendedAttributesKey ¶
KCFURLMayHaveExtendedAttributesKey returns the value of the constant kCFURLMayHaveExtendedAttributesKey.
func KCFURLMayShareFileContentKey ¶
KCFURLMayShareFileContentKey returns the value of the constant kCFURLMayShareFileContentKey.
func KCFURLNameKey ¶
KCFURLNameKey returns the value of the constant kCFURLNameKey.
func KCFURLParentDirectoryURLKey ¶
KCFURLParentDirectoryURLKey returns the value of the constant kCFURLParentDirectoryURLKey.
func KCFURLPathKey ¶
KCFURLPathKey returns the value of the constant kCFURLPathKey.
func KCFURLPreferredIOBlockSizeKey ¶
KCFURLPreferredIOBlockSizeKey returns the value of the constant kCFURLPreferredIOBlockSizeKey.
func KCFURLQuarantinePropertiesKey ¶
KCFURLQuarantinePropertiesKey returns the value of the constant kCFURLQuarantinePropertiesKey.
func KCFURLTagNamesKey ¶
KCFURLTagNamesKey returns the value of the constant kCFURLTagNamesKey.
func KCFURLTotalFileAllocatedSizeKey ¶
KCFURLTotalFileAllocatedSizeKey returns the value of the constant kCFURLTotalFileAllocatedSizeKey.
func KCFURLTotalFileSizeKey ¶
KCFURLTotalFileSizeKey returns the value of the constant kCFURLTotalFileSizeKey.
func KCFURLTypeIdentifierKey ¶
KCFURLTypeIdentifierKey returns the value of the constant kCFURLTypeIdentifierKey.
func KCFURLUbiquitousItemDownloadingErrorKey ¶
KCFURLUbiquitousItemDownloadingErrorKey returns the value of the constant kCFURLUbiquitousItemDownloadingErrorKey.
func KCFURLUbiquitousItemDownloadingStatusCurrent ¶
KCFURLUbiquitousItemDownloadingStatusCurrent returns the value of the constant kCFURLUbiquitousItemDownloadingStatusCurrent.
func KCFURLUbiquitousItemDownloadingStatusDownloaded ¶
KCFURLUbiquitousItemDownloadingStatusDownloaded returns the value of the constant kCFURLUbiquitousItemDownloadingStatusDownloaded.
func KCFURLUbiquitousItemDownloadingStatusKey ¶
KCFURLUbiquitousItemDownloadingStatusKey returns the value of the constant kCFURLUbiquitousItemDownloadingStatusKey.
func KCFURLUbiquitousItemDownloadingStatusNotDownloaded ¶
KCFURLUbiquitousItemDownloadingStatusNotDownloaded returns the value of the constant kCFURLUbiquitousItemDownloadingStatusNotDownloaded.
func KCFURLUbiquitousItemHasUnresolvedConflictsKey ¶
KCFURLUbiquitousItemHasUnresolvedConflictsKey returns the value of the constant kCFURLUbiquitousItemHasUnresolvedConflictsKey.
func KCFURLUbiquitousItemIsDownloadedKey ¶
KCFURLUbiquitousItemIsDownloadedKey returns the value of the constant kCFURLUbiquitousItemIsDownloadedKey.
func KCFURLUbiquitousItemIsDownloadingKey ¶
KCFURLUbiquitousItemIsDownloadingKey returns the value of the constant kCFURLUbiquitousItemIsDownloadingKey.
func KCFURLUbiquitousItemIsExcludedFromSyncKey ¶
KCFURLUbiquitousItemIsExcludedFromSyncKey returns the value of the constant kCFURLUbiquitousItemIsExcludedFromSyncKey.
func KCFURLUbiquitousItemIsSyncPausedKey ¶
KCFURLUbiquitousItemIsSyncPausedKey returns the value of the constant kCFURLUbiquitousItemIsSyncPausedKey.
func KCFURLUbiquitousItemIsUploadedKey ¶
KCFURLUbiquitousItemIsUploadedKey returns the value of the constant kCFURLUbiquitousItemIsUploadedKey.
func KCFURLUbiquitousItemIsUploadingKey ¶
KCFURLUbiquitousItemIsUploadingKey returns the value of the constant kCFURLUbiquitousItemIsUploadingKey.
func KCFURLUbiquitousItemPercentDownloadedKey ¶
KCFURLUbiquitousItemPercentDownloadedKey returns the value of the constant kCFURLUbiquitousItemPercentDownloadedKey.
func KCFURLUbiquitousItemPercentUploadedKey ¶
KCFURLUbiquitousItemPercentUploadedKey returns the value of the constant kCFURLUbiquitousItemPercentUploadedKey.
func KCFURLUbiquitousItemSupportedSyncControlsKey ¶
KCFURLUbiquitousItemSupportedSyncControlsKey returns the value of the constant kCFURLUbiquitousItemSupportedSyncControlsKey.
func KCFURLUbiquitousItemUploadingErrorKey ¶
KCFURLUbiquitousItemUploadingErrorKey returns the value of the constant kCFURLUbiquitousItemUploadingErrorKey.
func KCFURLVolumeAvailableCapacityForImportantUsageKey ¶
KCFURLVolumeAvailableCapacityForImportantUsageKey returns the value of the constant kCFURLVolumeAvailableCapacityForImportantUsageKey.
func KCFURLVolumeAvailableCapacityForOpportunisticUsageKey ¶
KCFURLVolumeAvailableCapacityForOpportunisticUsageKey returns the value of the constant kCFURLVolumeAvailableCapacityForOpportunisticUsageKey.
func KCFURLVolumeAvailableCapacityKey ¶
KCFURLVolumeAvailableCapacityKey returns the value of the constant kCFURLVolumeAvailableCapacityKey.
func KCFURLVolumeCreationDateKey ¶
KCFURLVolumeCreationDateKey returns the value of the constant kCFURLVolumeCreationDateKey.
func KCFURLVolumeIdentifierKey ¶
KCFURLVolumeIdentifierKey returns the value of the constant kCFURLVolumeIdentifierKey.
func KCFURLVolumeIsAutomountedKey ¶
KCFURLVolumeIsAutomountedKey returns the value of the constant kCFURLVolumeIsAutomountedKey.
func KCFURLVolumeIsBrowsableKey ¶
KCFURLVolumeIsBrowsableKey returns the value of the constant kCFURLVolumeIsBrowsableKey.
func KCFURLVolumeIsEjectableKey ¶
KCFURLVolumeIsEjectableKey returns the value of the constant kCFURLVolumeIsEjectableKey.
func KCFURLVolumeIsEncryptedKey ¶
KCFURLVolumeIsEncryptedKey returns the value of the constant kCFURLVolumeIsEncryptedKey.
func KCFURLVolumeIsInternalKey ¶
KCFURLVolumeIsInternalKey returns the value of the constant kCFURLVolumeIsInternalKey.
func KCFURLVolumeIsJournalingKey ¶
KCFURLVolumeIsJournalingKey returns the value of the constant kCFURLVolumeIsJournalingKey.
func KCFURLVolumeIsLocalKey ¶
KCFURLVolumeIsLocalKey returns the value of the constant kCFURLVolumeIsLocalKey.
func KCFURLVolumeIsReadOnlyKey ¶
KCFURLVolumeIsReadOnlyKey returns the value of the constant kCFURLVolumeIsReadOnlyKey.
func KCFURLVolumeIsRemovableKey ¶
KCFURLVolumeIsRemovableKey returns the value of the constant kCFURLVolumeIsRemovableKey.
func KCFURLVolumeIsRootFileSystemKey ¶
KCFURLVolumeIsRootFileSystemKey returns the value of the constant kCFURLVolumeIsRootFileSystemKey.
func KCFURLVolumeLocalizedFormatDescriptionKey ¶
KCFURLVolumeLocalizedFormatDescriptionKey returns the value of the constant kCFURLVolumeLocalizedFormatDescriptionKey.
func KCFURLVolumeLocalizedNameKey ¶
KCFURLVolumeLocalizedNameKey returns the value of the constant kCFURLVolumeLocalizedNameKey.
func KCFURLVolumeMaximumFileSizeKey ¶
KCFURLVolumeMaximumFileSizeKey returns the value of the constant kCFURLVolumeMaximumFileSizeKey.
func KCFURLVolumeMountFromLocationKey ¶
KCFURLVolumeMountFromLocationKey returns the value of the constant kCFURLVolumeMountFromLocationKey.
func KCFURLVolumeNameKey ¶
KCFURLVolumeNameKey returns the value of the constant kCFURLVolumeNameKey.
func KCFURLVolumeResourceCountKey ¶
KCFURLVolumeResourceCountKey returns the value of the constant kCFURLVolumeResourceCountKey.
func KCFURLVolumeSubtypeKey ¶
KCFURLVolumeSubtypeKey returns the value of the constant kCFURLVolumeSubtypeKey.
func KCFURLVolumeSupportsAccessPermissionsKey ¶
KCFURLVolumeSupportsAccessPermissionsKey returns the value of the constant kCFURLVolumeSupportsAccessPermissionsKey.
func KCFURLVolumeSupportsAdvisoryFileLockingKey ¶
KCFURLVolumeSupportsAdvisoryFileLockingKey returns the value of the constant kCFURLVolumeSupportsAdvisoryFileLockingKey.
func KCFURLVolumeSupportsCasePreservedNamesKey ¶
KCFURLVolumeSupportsCasePreservedNamesKey returns the value of the constant kCFURLVolumeSupportsCasePreservedNamesKey.
func KCFURLVolumeSupportsCaseSensitiveNamesKey ¶
KCFURLVolumeSupportsCaseSensitiveNamesKey returns the value of the constant kCFURLVolumeSupportsCaseSensitiveNamesKey.
func KCFURLVolumeSupportsCompressionKey ¶
KCFURLVolumeSupportsCompressionKey returns the value of the constant kCFURLVolumeSupportsCompressionKey.
func KCFURLVolumeSupportsExclusiveRenamingKey ¶
KCFURLVolumeSupportsExclusiveRenamingKey returns the value of the constant kCFURLVolumeSupportsExclusiveRenamingKey.
func KCFURLVolumeSupportsExtendedSecurityKey ¶
KCFURLVolumeSupportsExtendedSecurityKey returns the value of the constant kCFURLVolumeSupportsExtendedSecurityKey.
func KCFURLVolumeSupportsFileCloningKey ¶
KCFURLVolumeSupportsFileCloningKey returns the value of the constant kCFURLVolumeSupportsFileCloningKey.
func KCFURLVolumeSupportsFileProtectionKey ¶
KCFURLVolumeSupportsFileProtectionKey returns the value of the constant kCFURLVolumeSupportsFileProtectionKey.
func KCFURLVolumeSupportsHardLinksKey ¶
KCFURLVolumeSupportsHardLinksKey returns the value of the constant kCFURLVolumeSupportsHardLinksKey.
func KCFURLVolumeSupportsImmutableFilesKey ¶
KCFURLVolumeSupportsImmutableFilesKey returns the value of the constant kCFURLVolumeSupportsImmutableFilesKey.
func KCFURLVolumeSupportsJournalingKey ¶
KCFURLVolumeSupportsJournalingKey returns the value of the constant kCFURLVolumeSupportsJournalingKey.
func KCFURLVolumeSupportsPersistentIDsKey ¶
KCFURLVolumeSupportsPersistentIDsKey returns the value of the constant kCFURLVolumeSupportsPersistentIDsKey.
func KCFURLVolumeSupportsRenamingKey ¶
KCFURLVolumeSupportsRenamingKey returns the value of the constant kCFURLVolumeSupportsRenamingKey.
func KCFURLVolumeSupportsRootDirectoryDatesKey ¶
KCFURLVolumeSupportsRootDirectoryDatesKey returns the value of the constant kCFURLVolumeSupportsRootDirectoryDatesKey.
func KCFURLVolumeSupportsSparseFilesKey ¶
KCFURLVolumeSupportsSparseFilesKey returns the value of the constant kCFURLVolumeSupportsSparseFilesKey.
func KCFURLVolumeSupportsSwapRenamingKey ¶
KCFURLVolumeSupportsSwapRenamingKey returns the value of the constant kCFURLVolumeSupportsSwapRenamingKey.
func KCFURLVolumeSupportsSymbolicLinksKey ¶
KCFURLVolumeSupportsSymbolicLinksKey returns the value of the constant kCFURLVolumeSupportsSymbolicLinksKey.
func KCFURLVolumeSupportsVolumeSizesKey ¶
KCFURLVolumeSupportsVolumeSizesKey returns the value of the constant kCFURLVolumeSupportsVolumeSizesKey.
func KCFURLVolumeSupportsZeroRunsKey ¶
KCFURLVolumeSupportsZeroRunsKey returns the value of the constant kCFURLVolumeSupportsZeroRunsKey.
func KCFURLVolumeTotalCapacityKey ¶
KCFURLVolumeTotalCapacityKey returns the value of the constant kCFURLVolumeTotalCapacityKey.
func KCFURLVolumeTypeNameKey ¶
KCFURLVolumeTypeNameKey returns the value of the constant kCFURLVolumeTypeNameKey.
func KCFURLVolumeURLForRemountingKey ¶
KCFURLVolumeURLForRemountingKey returns the value of the constant kCFURLVolumeURLForRemountingKey.
func KCFURLVolumeURLKey ¶
KCFURLVolumeURLKey returns the value of the constant kCFURLVolumeURLKey.
func KCFURLVolumeUUIDStringKey ¶
KCFURLVolumeUUIDStringKey returns the value of the constant kCFURLVolumeUUIDStringKey.
func KCFUserNotificationAlertHeaderKey ¶
KCFUserNotificationAlertHeaderKey returns the value of the constant kCFUserNotificationAlertHeaderKey.
func KCFUserNotificationAlertMessageKey ¶
KCFUserNotificationAlertMessageKey returns the value of the constant kCFUserNotificationAlertMessageKey.
func KCFUserNotificationAlertTopMostKey ¶
KCFUserNotificationAlertTopMostKey returns the value of the constant kCFUserNotificationAlertTopMostKey.
func KCFUserNotificationAlternateButtonTitleKey ¶
KCFUserNotificationAlternateButtonTitleKey returns the value of the constant kCFUserNotificationAlternateButtonTitleKey.
func KCFUserNotificationCheckBoxTitlesKey ¶
KCFUserNotificationCheckBoxTitlesKey returns the value of the constant kCFUserNotificationCheckBoxTitlesKey.
func KCFUserNotificationDefaultButtonTitleKey ¶
KCFUserNotificationDefaultButtonTitleKey returns the value of the constant kCFUserNotificationDefaultButtonTitleKey.
func KCFUserNotificationIconURLKey ¶
KCFUserNotificationIconURLKey returns the value of the constant kCFUserNotificationIconURLKey.
func KCFUserNotificationKeyboardTypesKey ¶
KCFUserNotificationKeyboardTypesKey returns the value of the constant kCFUserNotificationKeyboardTypesKey.
func KCFUserNotificationLocalizationURLKey ¶
KCFUserNotificationLocalizationURLKey returns the value of the constant kCFUserNotificationLocalizationURLKey.
func KCFUserNotificationOtherButtonTitleKey ¶
KCFUserNotificationOtherButtonTitleKey returns the value of the constant kCFUserNotificationOtherButtonTitleKey.
func KCFUserNotificationPopUpSelectionKey ¶
KCFUserNotificationPopUpSelectionKey returns the value of the constant kCFUserNotificationPopUpSelectionKey.
func KCFUserNotificationPopUpTitlesKey ¶
KCFUserNotificationPopUpTitlesKey returns the value of the constant kCFUserNotificationPopUpTitlesKey.
func KCFUserNotificationProgressIndicatorValueKey ¶
KCFUserNotificationProgressIndicatorValueKey returns the value of the constant kCFUserNotificationProgressIndicatorValueKey.
func KCFUserNotificationSoundURLKey ¶
KCFUserNotificationSoundURLKey returns the value of the constant kCFUserNotificationSoundURLKey.
func KCFUserNotificationTextFieldTitlesKey ¶
KCFUserNotificationTextFieldTitlesKey returns the value of the constant kCFUserNotificationTextFieldTitlesKey.
func KCFUserNotificationTextFieldValuesKey ¶
KCFUserNotificationTextFieldValuesKey returns the value of the constant kCFUserNotificationTextFieldValuesKey.
func KCFVietnameseCalendar ¶
func KCFVietnameseCalendar() uintptr
KCFVietnameseCalendar returns the address of the symbol kCFVietnameseCalendar.
func KCFVikramCalendar ¶
func KCFVikramCalendar() uintptr
KCFVikramCalendar returns the address of the symbol kCFVikramCalendar.
func KCFXMLTreeErrorDescription ¶
KCFXMLTreeErrorDescription returns the value of the constant kCFXMLTreeErrorDescription.
func KCFXMLTreeErrorLineNumber ¶
KCFXMLTreeErrorLineNumber returns the value of the constant kCFXMLTreeErrorLineNumber.
func KCFXMLTreeErrorLocation ¶
KCFXMLTreeErrorLocation returns the value of the constant kCFXMLTreeErrorLocation.
func KCFXMLTreeErrorStatusCode ¶
KCFXMLTreeErrorStatusCode returns the value of the constant kCFXMLTreeErrorStatusCode.
Types ¶
type CFAllocator ¶
type CFAllocator struct{}
type CFAllocatorContext ¶
type CFAllocatorContext struct {
Version int
Info unsafe.Pointer
Retain unsafe.Pointer
Release unsafe.Pointer
CopyDescription unsafe.Pointer
Allocate unsafe.Pointer
Reallocate unsafe.Pointer
Deallocate unsafe.Pointer
PreferredSize unsafe.Pointer
}
A structure that defines the context or operating environment for an allocator (CFAllocator) object. Every Core Foundation allocator object must have a context defined for it.
type CFAllocatorRef ¶ added in v0.18.0
CFAllocatorRef is a handle for the opaque CFAllocatorRef type.
func CFAllocatorCreate ¶
func CFAllocatorCreate(allocator CFAllocatorRef, context_ unsafe.Pointer) CFAllocatorRef
CFAllocatorCreate calls the CoreFoundation framework function CFAllocatorCreate.
func CFAllocatorGetDefault ¶
func CFAllocatorGetDefault() CFAllocatorRef
CFAllocatorGetDefault calls the CoreFoundation framework function CFAllocatorGetDefault.
func CFGetAllocator ¶
func CFGetAllocator(cf obj.Object) CFAllocatorRef
CFGetAllocator calls the CoreFoundation framework function CFGetAllocator.
func (CFAllocatorRef) IsNil ¶ added in v0.18.0
func (h CFAllocatorRef) IsNil() bool
IsNil reports whether CFAllocatorRef is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.
type CFArrayCallBacks ¶
type CFArrayCallBacks struct {
Version int
Retain unsafe.Pointer
Release unsafe.Pointer
CopyDescription unsafe.Pointer
Equal unsafe.Pointer
}
Structure containing the callbacks of a CFArray.
type CFArrayRef ¶ added in v0.18.0
CFArrayRef is a handle for the opaque CFArrayRef type.
func CFArrayCreate ¶
func CFArrayCreate(allocator CFAllocatorRef, values unsafe.Pointer, numValues int, callBacks unsafe.Pointer) CFArrayRef
CFArrayCreate calls the CoreFoundation framework function CFArrayCreate.
func CFArrayCreateCopy ¶
func CFArrayCreateCopy(allocator CFAllocatorRef, theArray CFArrayRef) CFArrayRef
CFArrayCreateCopy calls the CoreFoundation framework function CFArrayCreateCopy.
func CFBundleCopyBundleLocalizations ¶
func CFBundleCopyBundleLocalizations(bundle CFBundleRef) CFArrayRef
CFBundleCopyBundleLocalizations calls the CoreFoundation framework function CFBundleCopyBundleLocalizations.
func CFBundleCopyExecutableArchitectures ¶
func CFBundleCopyExecutableArchitectures(bundle CFBundleRef) CFArrayRef
CFBundleCopyExecutableArchitectures calls the CoreFoundation framework function CFBundleCopyExecutableArchitectures.
func CFBundleCopyExecutableArchitecturesForURL ¶
func CFBundleCopyExecutableArchitecturesForURL(url CFURLRef) CFArrayRef
CFBundleCopyExecutableArchitecturesForURL calls the CoreFoundation framework function CFBundleCopyExecutableArchitecturesForURL.
func CFBundleCopyLocalizationsForPreferences ¶
func CFBundleCopyLocalizationsForPreferences(locArray CFArrayRef, prefArray CFArrayRef) CFArrayRef
CFBundleCopyLocalizationsForPreferences calls the CoreFoundation framework function CFBundleCopyLocalizationsForPreferences.
func CFBundleCopyLocalizationsForURL ¶
func CFBundleCopyLocalizationsForURL(url CFURLRef) CFArrayRef
CFBundleCopyLocalizationsForURL calls the CoreFoundation framework function CFBundleCopyLocalizationsForURL.
func CFBundleCopyPreferredLocalizationsFromArray ¶
func CFBundleCopyPreferredLocalizationsFromArray(locArray CFArrayRef) CFArrayRef
CFBundleCopyPreferredLocalizationsFromArray calls the CoreFoundation framework function CFBundleCopyPreferredLocalizationsFromArray.
func CFBundleCopyResourceURLsOfType ¶
func CFBundleCopyResourceURLsOfType(bundle CFBundleRef, resourceType CFStringRef, subDirName CFStringRef) CFArrayRef
CFBundleCopyResourceURLsOfType calls the CoreFoundation framework function CFBundleCopyResourceURLsOfType.
func CFBundleCopyResourceURLsOfTypeForLocalization ¶
func CFBundleCopyResourceURLsOfTypeForLocalization(bundle CFBundleRef, resourceType CFStringRef, subDirName CFStringRef, localizationName CFStringRef) CFArrayRef
CFBundleCopyResourceURLsOfTypeForLocalization calls the CoreFoundation framework function CFBundleCopyResourceURLsOfTypeForLocalization.
func CFBundleCopyResourceURLsOfTypeInDirectory ¶
func CFBundleCopyResourceURLsOfTypeInDirectory(bundleURL CFURLRef, resourceType CFStringRef, subDirName CFStringRef) CFArrayRef
CFBundleCopyResourceURLsOfTypeInDirectory calls the CoreFoundation framework function CFBundleCopyResourceURLsOfTypeInDirectory.
func CFBundleCreateBundlesFromDirectory ¶
func CFBundleCreateBundlesFromDirectory(allocator CFAllocatorRef, directoryURL CFURLRef, bundleType CFStringRef) CFArrayRef
CFBundleCreateBundlesFromDirectory calls the CoreFoundation framework function CFBundleCreateBundlesFromDirectory.
func CFBundleGetAllBundles ¶
func CFBundleGetAllBundles() CFArrayRef
CFBundleGetAllBundles calls the CoreFoundation framework function CFBundleGetAllBundles.
func CFLocaleCopyAvailableLocaleIdentifiers ¶
func CFLocaleCopyAvailableLocaleIdentifiers() CFArrayRef
CFLocaleCopyAvailableLocaleIdentifiers calls the CoreFoundation framework function CFLocaleCopyAvailableLocaleIdentifiers.
func CFLocaleCopyCommonISOCurrencyCodes ¶
func CFLocaleCopyCommonISOCurrencyCodes() CFArrayRef
CFLocaleCopyCommonISOCurrencyCodes calls the CoreFoundation framework function CFLocaleCopyCommonISOCurrencyCodes.
func CFLocaleCopyISOCountryCodes ¶
func CFLocaleCopyISOCountryCodes() CFArrayRef
CFLocaleCopyISOCountryCodes calls the CoreFoundation framework function CFLocaleCopyISOCountryCodes.
func CFLocaleCopyISOCurrencyCodes ¶
func CFLocaleCopyISOCurrencyCodes() CFArrayRef
CFLocaleCopyISOCurrencyCodes calls the CoreFoundation framework function CFLocaleCopyISOCurrencyCodes.
func CFLocaleCopyISOLanguageCodes ¶
func CFLocaleCopyISOLanguageCodes() CFArrayRef
CFLocaleCopyISOLanguageCodes calls the CoreFoundation framework function CFLocaleCopyISOLanguageCodes.
func CFLocaleCopyPreferredLanguages ¶
func CFLocaleCopyPreferredLanguages() CFArrayRef
CFLocaleCopyPreferredLanguages calls the CoreFoundation framework function CFLocaleCopyPreferredLanguages.
func CFPlugInFindFactoriesForPlugInType ¶
func CFPlugInFindFactoriesForPlugInType(typeUUID CFUUIDRef) CFArrayRef
CFPlugInFindFactoriesForPlugInType calls the CoreFoundation framework function CFPlugInFindFactoriesForPlugInType.
func CFPlugInFindFactoriesForPlugInTypeInPlugIn ¶
func CFPlugInFindFactoriesForPlugInTypeInPlugIn(typeUUID CFUUIDRef, plugIn CFPlugInRef) CFArrayRef
CFPlugInFindFactoriesForPlugInTypeInPlugIn calls the CoreFoundation framework function CFPlugInFindFactoriesForPlugInTypeInPlugIn.
func CFPreferencesCopyApplicationList ¶
func CFPreferencesCopyApplicationList(userName CFStringRef, hostName CFStringRef) CFArrayRef
CFPreferencesCopyApplicationList calls the CoreFoundation framework function CFPreferencesCopyApplicationList.
func CFPreferencesCopyKeyList ¶
func CFPreferencesCopyKeyList(applicationID CFStringRef, userName CFStringRef, hostName CFStringRef) CFArrayRef
CFPreferencesCopyKeyList calls the CoreFoundation framework function CFPreferencesCopyKeyList.
func CFRunLoopCopyAllModes ¶
func CFRunLoopCopyAllModes(rl CFRunLoopRef) CFArrayRef
CFRunLoopCopyAllModes calls the CoreFoundation framework function CFRunLoopCopyAllModes.
func CFStringCreateArrayBySeparatingStrings ¶
func CFStringCreateArrayBySeparatingStrings(alloc CFAllocatorRef, theString CFStringRef, separatorString CFStringRef) CFArrayRef
CFStringCreateArrayBySeparatingStrings calls the CoreFoundation framework function CFStringCreateArrayBySeparatingStrings.
func CFStringCreateArrayWithFindResults ¶
func CFStringCreateArrayWithFindResults(alloc CFAllocatorRef, theString CFStringRef, stringToFind CFStringRef, rangeToSearch CFRange, compareOptions CFStringCompareFlags) CFArrayRef
CFStringCreateArrayWithFindResults calls the CoreFoundation framework function CFStringCreateArrayWithFindResults.
func CFTimeZoneCopyKnownNames ¶
func CFTimeZoneCopyKnownNames() CFArrayRef
CFTimeZoneCopyKnownNames calls the CoreFoundation framework function CFTimeZoneCopyKnownNames.
func (CFArrayRef) IsNil ¶ added in v0.18.0
func (h CFArrayRef) IsNil() bool
IsNil reports whether CFArrayRef is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.
type CFAttributedString ¶
type CFAttributedString struct{}
type CFAttributedStringRef ¶ added in v0.18.0
CFAttributedStringRef is a handle for the opaque CFAttributedStringRef type.
func CFAttributedStringCreate ¶
func CFAttributedStringCreate(alloc CFAllocatorRef, str CFStringRef, attributes CFDictionaryRef) CFAttributedStringRef
CFAttributedStringCreate calls the CoreFoundation framework function CFAttributedStringCreate.
func CFAttributedStringCreateCopy ¶
func CFAttributedStringCreateCopy(alloc CFAllocatorRef, aStr CFAttributedStringRef) CFAttributedStringRef
CFAttributedStringCreateCopy calls the CoreFoundation framework function CFAttributedStringCreateCopy.
func CFAttributedStringCreateWithSubstring ¶
func CFAttributedStringCreateWithSubstring(alloc CFAllocatorRef, aStr CFAttributedStringRef, range_ CFRange) CFAttributedStringRef
CFAttributedStringCreateWithSubstring calls the CoreFoundation framework function CFAttributedStringCreateWithSubstring.
func (CFAttributedStringRef) IsNil ¶ added in v0.18.0
func (h CFAttributedStringRef) IsNil() bool
IsNil reports whether CFAttributedStringRef is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.
type CFBagCallBacks ¶
type CFBagCallBacks struct {
Version int
Retain unsafe.Pointer
Release unsafe.Pointer
CopyDescription unsafe.Pointer
Equal unsafe.Pointer
Hash unsafe.Pointer
}
This structure contains the callbacks used to retain, release, describe, and compare the values of a CFBag object.
type CFBagRef ¶ added in v0.18.0
CFBagRef is a handle for the opaque CFBagRef type.
func CFBagCreate ¶
func CFBagCreate(allocator CFAllocatorRef, values unsafe.Pointer, numValues int, callBacks unsafe.Pointer) CFBagRef
CFBagCreate calls the CoreFoundation framework function CFBagCreate.
func CFBagCreateCopy ¶
func CFBagCreateCopy(allocator CFAllocatorRef, theBag CFBagRef) CFBagRef
CFBagCreateCopy calls the CoreFoundation framework function CFBagCreateCopy.
type CFBinaryHeap ¶
type CFBinaryHeap struct{}
type CFBinaryHeapCallBacks ¶
type CFBinaryHeapCallBacks struct {
Version int
Retain unsafe.Pointer
Release unsafe.Pointer
CopyDescription unsafe.Pointer
Compare unsafe.Pointer
}
Structure containing the callbacks for values for a CFBinaryHeap object.
type CFBinaryHeapCompareContext ¶
type CFBinaryHeapCompareContext struct {
Version int
Info unsafe.Pointer
Retain unsafe.Pointer
Release unsafe.Pointer
CopyDescription unsafe.Pointer
}
Not used.
type CFBinaryHeapRef ¶ added in v0.18.0
CFBinaryHeapRef is a handle for the opaque CFBinaryHeapRef type.
func CFBinaryHeapCreate ¶
func CFBinaryHeapCreate(allocator CFAllocatorRef, capacity int, callBacks unsafe.Pointer, compareContext unsafe.Pointer) CFBinaryHeapRef
CFBinaryHeapCreate calls the CoreFoundation framework function CFBinaryHeapCreate.
func CFBinaryHeapCreateCopy ¶
func CFBinaryHeapCreateCopy(allocator CFAllocatorRef, capacity int, heap CFBinaryHeapRef) CFBinaryHeapRef
CFBinaryHeapCreateCopy calls the CoreFoundation framework function CFBinaryHeapCreateCopy.
func (CFBinaryHeapRef) IsNil ¶ added in v0.18.0
func (h CFBinaryHeapRef) IsNil() bool
IsNil reports whether CFBinaryHeapRef is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.
type CFBitVector ¶
type CFBitVector struct{}
type CFBitVectorRef ¶ added in v0.18.0
CFBitVectorRef is a handle for the opaque CFBitVectorRef type.
func CFBitVectorCreate ¶
func CFBitVectorCreate(allocator CFAllocatorRef, data unsafe.Pointer, numBits int) CFBitVectorRef
CFBitVectorCreate calls the CoreFoundation framework function CFBitVectorCreate.
func CFBitVectorCreateCopy ¶
func CFBitVectorCreateCopy(allocator CFAllocatorRef, bv CFBitVectorRef) CFBitVectorRef
CFBitVectorCreateCopy calls the CoreFoundation framework function CFBitVectorCreateCopy.
func (CFBitVectorRef) IsNil ¶ added in v0.18.0
func (h CFBitVectorRef) IsNil() bool
IsNil reports whether CFBitVectorRef is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.
type CFBooleanRef ¶ added in v0.18.0
CFBooleanRef is a handle for the opaque CFBooleanRef type.
func (CFBooleanRef) IsNil ¶ added in v0.18.0
func (h CFBooleanRef) IsNil() bool
IsNil reports whether CFBooleanRef is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.
type CFBundleRef ¶ added in v0.18.0
CFBundleRef is a handle for the opaque CFBundleRef type.
func CFBundleCreate ¶
func CFBundleCreate(allocator CFAllocatorRef, bundleURL CFURLRef) CFBundleRef
CFBundleCreate calls the CoreFoundation framework function CFBundleCreate.
func CFBundleGetBundleWithIdentifier ¶
func CFBundleGetBundleWithIdentifier(bundleID CFStringRef) CFBundleRef
CFBundleGetBundleWithIdentifier calls the CoreFoundation framework function CFBundleGetBundleWithIdentifier.
func CFBundleGetMainBundle ¶
func CFBundleGetMainBundle() CFBundleRef
CFBundleGetMainBundle calls the CoreFoundation framework function CFBundleGetMainBundle.
func CFPlugInGetBundle ¶
func CFPlugInGetBundle(plugIn CFPlugInRef) CFBundleRef
CFPlugInGetBundle calls the CoreFoundation framework function CFPlugInGetBundle.
func (CFBundleRef) IsNil ¶ added in v0.18.0
func (h CFBundleRef) IsNil() bool
IsNil reports whether CFBundleRef is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.
type CFByteOrder ¶ added in v0.17.0
type CFByteOrder int32
const ( CFByteOrderUnknown CFByteOrder = 0 CFByteOrderLittleEndian CFByteOrder = 1 CFByteOrderBigEndian CFByteOrder = 2 )
func (CFByteOrder) String ¶ added in v0.17.0
func (e CFByteOrder) String() string
String returns the CFByteOrder constant's name, or its numeric form when the value is not a known constant.
type CFCalendar ¶
type CFCalendar struct{}
type CFCalendarRef ¶ added in v0.18.0
CFCalendarRef is a handle for the opaque CFCalendarRef type.
func CFCalendarCopyCurrent ¶
func CFCalendarCopyCurrent() CFCalendarRef
CFCalendarCopyCurrent calls the CoreFoundation framework function CFCalendarCopyCurrent.
func CFCalendarCreateWithIdentifier ¶
func CFCalendarCreateWithIdentifier(allocator CFAllocatorRef, identifier unsafe.Pointer) CFCalendarRef
CFCalendarCreateWithIdentifier calls the CoreFoundation framework function CFCalendarCreateWithIdentifier.
func (CFCalendarRef) IsNil ¶ added in v0.18.0
func (h CFCalendarRef) IsNil() bool
IsNil reports whether CFCalendarRef is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.
type CFCalendarUnit ¶
type CFCalendarUnit uint64
CFCalendarUnit constants are used to specify calendrical units, such as day or month, in various calendar calculations. Bitmask — values may be combined with |.
const ( // Specifies the era unit. KCFCalendarUnitEra CFCalendarUnit = 2 // Specifies the year unit. KCFCalendarUnitYear CFCalendarUnit = 4 // Specifies the month unit. KCFCalendarUnitMonth CFCalendarUnit = 8 // Specifies the day unit. KCFCalendarUnitDay CFCalendarUnit = 16 // Specifies the hour unit. KCFCalendarUnitHour CFCalendarUnit = 32 // Specifies the minute unit. KCFCalendarUnitMinute CFCalendarUnit = 64 // Specifies the second unit. KCFCalendarUnitSecond CFCalendarUnit = 128 // Specifies the week unit. // // Deprecated: Use kCFCalendarUnitWeekOfYear or kCFCalendarUnitWeekOfMonth instead KCFCalendarUnitWeek CFCalendarUnit = 256 // Specifies the weekday unit. // // Deprecated: Use kCFCalendarUnitWeekOfYear or kCFCalendarUnitWeekOfMonth instead KCFCalendarUnitWeekday CFCalendarUnit = 512 // Specifies the ordinal weekday unit. // // Deprecated: Use kCFCalendarUnitWeekOfYear or kCFCalendarUnitWeekOfMonth instead KCFCalendarUnitWeekdayOrdinal CFCalendarUnit = 1024 // Specifies the quarter-year unit. KCFCalendarUnitQuarter CFCalendarUnit = 2048 // Specifies the original week of a month calendar unit. KCFCalendarUnitWeekOfMonth CFCalendarUnit = 4096 // Specifies the original week of the year calendar unit. KCFCalendarUnitWeekOfYear CFCalendarUnit = 8192 // Specifies the relative year for a week within a year calendar unit. KCFCalendarUnitYearForWeekOfYear CFCalendarUnit = 16384 KCFCalendarUnitDayOfYear CFCalendarUnit = 65536 )
func (CFCalendarUnit) String ¶
func (e CFCalendarUnit) String() string
String returns the CFCalendarUnit constant's name, or its numeric form when the value is not a known constant.
type CFCharacterSet ¶
type CFCharacterSet struct{}
type CFCharacterSetPredefinedSet ¶
type CFCharacterSetPredefinedSet int64
Defines a predefined character set.
const ( // Control character set (Unicode General Category Cc and Cf). KCFCharacterSetControl CFCharacterSetPredefinedSet = 1 // Whitespace character set (Unicode General Category Zs and U0009 CHARACTER TABULATION). KCFCharacterSetWhitespace CFCharacterSetPredefinedSet = 2 // Whitespace and Newline character set (Unicode General Category Z*, U000A ~ U000D, and U0085). KCFCharacterSetWhitespaceAndNewline CFCharacterSetPredefinedSet = 3 // Decimal digit character set. KCFCharacterSetDecimalDigit CFCharacterSetPredefinedSet = 4 // Letter character set (Unicode General Category L* & M*). KCFCharacterSetLetter CFCharacterSetPredefinedSet = 5 // Lowercase character set (Unicode General Category Ll). KCFCharacterSetLowercaseLetter CFCharacterSetPredefinedSet = 6 // Uppercase character set (Unicode General Category Lu and Lt). KCFCharacterSetUppercaseLetter CFCharacterSetPredefinedSet = 7 // Non-base character set (Unicode General Category M*). KCFCharacterSetNonBase CFCharacterSetPredefinedSet = 8 // Canonically decomposable character set. KCFCharacterSetDecomposable CFCharacterSetPredefinedSet = 9 // Alpha Numeric character set (Unicode General Category L*, M*, & N*). KCFCharacterSetAlphaNumeric CFCharacterSetPredefinedSet = 10 // Punctuation character set (Unicode General Category P*). KCFCharacterSetPunctuation CFCharacterSetPredefinedSet = 11 // Titlecase character set (Unicode General Category Lt). KCFCharacterSetCapitalizedLetter CFCharacterSetPredefinedSet = 13 // Symbol character set (Unicode General Category S*). KCFCharacterSetSymbol CFCharacterSetPredefinedSet = 14 // Newline character set (U000A ~ U000D, U0085, U2028, and U2029). KCFCharacterSetNewline CFCharacterSetPredefinedSet = 15 // Illegal character set. KCFCharacterSetIllegal CFCharacterSetPredefinedSet = 12 )
func (CFCharacterSetPredefinedSet) String ¶
func (e CFCharacterSetPredefinedSet) String() string
String returns the CFCharacterSetPredefinedSet constant's name, or its numeric form when the value is not a known constant.
type CFCharacterSetRef ¶ added in v0.18.0
CFCharacterSetRef is a handle for the opaque CFCharacterSetRef type.
func CFCharacterSetCreateCopy ¶
func CFCharacterSetCreateCopy(alloc CFAllocatorRef, theSet CFCharacterSetRef) CFCharacterSetRef
CFCharacterSetCreateCopy calls the CoreFoundation framework function CFCharacterSetCreateCopy.
func CFCharacterSetCreateInvertedSet ¶
func CFCharacterSetCreateInvertedSet(alloc CFAllocatorRef, theSet CFCharacterSetRef) CFCharacterSetRef
CFCharacterSetCreateInvertedSet calls the CoreFoundation framework function CFCharacterSetCreateInvertedSet.
func CFCharacterSetCreateWithBitmapRepresentation ¶
func CFCharacterSetCreateWithBitmapRepresentation(alloc CFAllocatorRef, theData CFDataRef) CFCharacterSetRef
CFCharacterSetCreateWithBitmapRepresentation calls the CoreFoundation framework function CFCharacterSetCreateWithBitmapRepresentation.
func CFCharacterSetCreateWithCharactersInRange ¶
func CFCharacterSetCreateWithCharactersInRange(alloc CFAllocatorRef, theRange CFRange) CFCharacterSetRef
CFCharacterSetCreateWithCharactersInRange calls the CoreFoundation framework function CFCharacterSetCreateWithCharactersInRange.
func CFCharacterSetCreateWithCharactersInString ¶
func CFCharacterSetCreateWithCharactersInString(alloc CFAllocatorRef, theString CFStringRef) CFCharacterSetRef
CFCharacterSetCreateWithCharactersInString calls the CoreFoundation framework function CFCharacterSetCreateWithCharactersInString.
func CFCharacterSetGetPredefined ¶
func CFCharacterSetGetPredefined(theSetIdentifier CFCharacterSetPredefinedSet) CFCharacterSetRef
CFCharacterSetGetPredefined calls the CoreFoundation framework function CFCharacterSetGetPredefined.
func (CFCharacterSetRef) IsNil ¶ added in v0.18.0
func (h CFCharacterSetRef) IsNil() bool
IsNil reports whether CFCharacterSetRef is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.
type CFComparisonResult ¶
type CFComparisonResult int64
Constants returned by comparison functions, indicating whether a value is equal to, less than, or greater than another value.
const ( // Returned by a comparison function if the first value is less than the second value. KCFCompareLessThan CFComparisonResult = -1 // Returned by a comparison function if the first value is equal to the second value. KCFCompareEqualTo CFComparisonResult = 0 // Returned by a comparison function if the first value is greater than the second value. KCFCompareGreaterThan CFComparisonResult = 1 )
func CFDateCompare ¶
func CFDateCompare(theDate CFDateRef, otherDate CFDateRef, context_ unsafe.Pointer) CFComparisonResult
CFDateCompare calls the CoreFoundation framework function CFDateCompare.
func CFNumberCompare ¶
func CFNumberCompare(number CFNumberRef, otherNumber CFNumberRef, context_ unsafe.Pointer) CFComparisonResult
CFNumberCompare calls the CoreFoundation framework function CFNumberCompare.
func CFStringCompare ¶
func CFStringCompare(theString1 CFStringRef, theString2 CFStringRef, compareOptions CFStringCompareFlags) CFComparisonResult
CFStringCompare calls the CoreFoundation framework function CFStringCompare.
func CFStringCompareWithOptions ¶
func CFStringCompareWithOptions(theString1 CFStringRef, theString2 CFStringRef, rangeToCompare CFRange, compareOptions CFStringCompareFlags) CFComparisonResult
CFStringCompareWithOptions calls the CoreFoundation framework function CFStringCompareWithOptions.
func CFStringCompareWithOptionsAndLocale ¶
func CFStringCompareWithOptionsAndLocale(theString1 CFStringRef, theString2 CFStringRef, rangeToCompare CFRange, compareOptions CFStringCompareFlags, locale CFLocaleRef) CFComparisonResult
CFStringCompareWithOptionsAndLocale calls the CoreFoundation framework function CFStringCompareWithOptionsAndLocale.
func (CFComparisonResult) String ¶
func (e CFComparisonResult) String() string
String returns the CFComparisonResult constant's name, or its numeric form when the value is not a known constant.
type CFDataRef ¶ added in v0.18.0
CFDataRef is a handle for the opaque CFDataRef type.
func CFCharacterSetCreateBitmapRepresentation ¶
func CFCharacterSetCreateBitmapRepresentation(alloc CFAllocatorRef, theSet CFCharacterSetRef) CFDataRef
CFCharacterSetCreateBitmapRepresentation calls the CoreFoundation framework function CFCharacterSetCreateBitmapRepresentation.
func CFDataCreate ¶
func CFDataCreate(allocator CFAllocatorRef, data unsafe.Pointer, length int) CFDataRef
CFDataCreate calls the CoreFoundation framework function CFDataCreate.
func CFDataCreateCopy ¶
func CFDataCreateCopy(allocator CFAllocatorRef, theData CFDataRef) CFDataRef
CFDataCreateCopy calls the CoreFoundation framework function CFDataCreateCopy.
func CFDataCreateWithBytesNoCopy ¶
func CFDataCreateWithBytesNoCopy(allocator CFAllocatorRef, data unsafe.Pointer, length int, bytesDeallocator CFAllocatorRef) CFDataRef
CFDataCreateWithBytesNoCopy calls the CoreFoundation framework function CFDataCreateWithBytesNoCopy.
func CFPropertyListCreateXMLData ¶
func CFPropertyListCreateXMLData(allocator CFAllocatorRef, propertyList CFPropertyListRef) CFDataRef
CFPropertyListCreateXMLData calls the CoreFoundation framework function CFPropertyListCreateXMLData.
func CFSocketCopyAddress ¶
func CFSocketCopyAddress(s CFSocketRef) CFDataRef
CFSocketCopyAddress calls the CoreFoundation framework function CFSocketCopyAddress.
func CFSocketCopyPeerAddress ¶
func CFSocketCopyPeerAddress(s CFSocketRef) CFDataRef
CFSocketCopyPeerAddress calls the CoreFoundation framework function CFSocketCopyPeerAddress.
func CFStringCreateExternalRepresentation ¶
func CFStringCreateExternalRepresentation(alloc CFAllocatorRef, theString CFStringRef, encoding int, lossByte uint8) CFDataRef
CFStringCreateExternalRepresentation calls the CoreFoundation framework function CFStringCreateExternalRepresentation.
func CFTimeZoneGetData ¶
func CFTimeZoneGetData(tz CFTimeZoneRef) CFDataRef
CFTimeZoneGetData calls the CoreFoundation framework function CFTimeZoneGetData.
func CFURLCreateBookmarkDataFromAliasRecord ¶
func CFURLCreateBookmarkDataFromAliasRecord(allocatorRef CFAllocatorRef, aliasRecordDataRef CFDataRef) CFDataRef
CFURLCreateBookmarkDataFromAliasRecord calls the CoreFoundation framework function CFURLCreateBookmarkDataFromAliasRecord.
func CFURLCreateData ¶
func CFURLCreateData(allocator CFAllocatorRef, url CFURLRef, encoding int, escapeWhitespace uint8) CFDataRef
CFURLCreateData calls the CoreFoundation framework function CFURLCreateData.
func CFXMLTreeCreateXMLData ¶
func CFXMLTreeCreateXMLData(allocator CFAllocatorRef, xmlTree CFXMLTreeRef) CFDataRef
CFXMLTreeCreateXMLData calls the CoreFoundation framework function CFXMLTreeCreateXMLData.
type CFDataSearchFlags ¶
type CFDataSearchFlags uint64
A CFOptionFlags type for specifying options for searching. Bitmask — values may be combined with |.
const ( KCFDataSearchBackwards CFDataSearchFlags = 1 KCFDataSearchAnchored CFDataSearchFlags = 2 )
func (CFDataSearchFlags) String ¶
func (e CFDataSearchFlags) String() string
String returns the CFDataSearchFlags constant's name, or its numeric form when the value is not a known constant.
type CFDateFormatter ¶
type CFDateFormatter struct{}
type CFDateFormatterRef ¶ added in v0.18.0
CFDateFormatterRef is a handle for the opaque CFDateFormatterRef type.
func CFDateFormatterCreate ¶
func CFDateFormatterCreate(allocator CFAllocatorRef, locale CFLocaleRef, dateStyle CFDateFormatterStyle, timeStyle CFDateFormatterStyle) CFDateFormatterRef
CFDateFormatterCreate calls the CoreFoundation framework function CFDateFormatterCreate.
func CFDateFormatterCreateISO8601Formatter ¶
func CFDateFormatterCreateISO8601Formatter(allocator CFAllocatorRef, formatOptions CFISO8601DateFormatOptions) CFDateFormatterRef
CFDateFormatterCreateISO8601Formatter calls the CoreFoundation framework function CFDateFormatterCreateISO8601Formatter.
func (CFDateFormatterRef) IsNil ¶ added in v0.18.0
func (h CFDateFormatterRef) IsNil() bool
IsNil reports whether CFDateFormatterRef is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.
type CFDateFormatterStyle ¶
type CFDateFormatterStyle int64
Data type for predefined date and time format styles.
const ( // Specifies no output. KCFDateFormatterNoStyle CFDateFormatterStyle = 0 // Specifies a short style, typically numeric only, such as “11/23/37” or “3:30pm”. KCFDateFormatterShortStyle CFDateFormatterStyle = 1 // Specifies a medium style, typically with abbreviated text, such as “Nov 23, 1937”. KCFDateFormatterMediumStyle CFDateFormatterStyle = 2 // Specifies a long style, typically with full text, such as “November 23, 1937” or “3:30:32pm”. KCFDateFormatterLongStyle CFDateFormatterStyle = 3 // Specifies a full style with complete details, such as “Tuesday, April 12, 1952 AD” or “3:30:42pm PST”. KCFDateFormatterFullStyle CFDateFormatterStyle = 4 )
func CFDateFormatterGetDateStyle ¶
func CFDateFormatterGetDateStyle(formatter CFDateFormatterRef) CFDateFormatterStyle
CFDateFormatterGetDateStyle calls the CoreFoundation framework function CFDateFormatterGetDateStyle.
func CFDateFormatterGetTimeStyle ¶
func CFDateFormatterGetTimeStyle(formatter CFDateFormatterRef) CFDateFormatterStyle
CFDateFormatterGetTimeStyle calls the CoreFoundation framework function CFDateFormatterGetTimeStyle.
func (CFDateFormatterStyle) String ¶
func (e CFDateFormatterStyle) String() string
String returns the CFDateFormatterStyle constant's name, or its numeric form when the value is not a known constant.
type CFDateRef ¶ added in v0.18.0
CFDateRef is a handle for the opaque CFDateRef type.
func CFDateCreate ¶
func CFDateCreate(allocator CFAllocatorRef, at float64) CFDateRef
CFDateCreate calls the CoreFoundation framework function CFDateCreate.
type CFDictionary ¶
type CFDictionary struct{}
type CFDictionaryKeyCallBacks ¶
type CFDictionaryKeyCallBacks struct {
Version int
Retain unsafe.Pointer
Release unsafe.Pointer
CopyDescription unsafe.Pointer
Equal unsafe.Pointer
Hash unsafe.Pointer
}
This structure contains the callbacks used to retain, release, describe, and compare the keys in a dictionary.
type CFDictionaryRef ¶ added in v0.18.0
CFDictionaryRef is a handle for the opaque CFDictionaryRef type.
func CFBundleCopyInfoDictionaryForURL ¶
func CFBundleCopyInfoDictionaryForURL(url CFURLRef) CFDictionaryRef
CFBundleCopyInfoDictionaryForURL calls the CoreFoundation framework function CFBundleCopyInfoDictionaryForURL.
func CFBundleCopyInfoDictionaryInDirectory ¶
func CFBundleCopyInfoDictionaryInDirectory(bundleURL CFURLRef) CFDictionaryRef
CFBundleCopyInfoDictionaryInDirectory calls the CoreFoundation framework function CFBundleCopyInfoDictionaryInDirectory.
func CFBundleGetInfoDictionary ¶
func CFBundleGetInfoDictionary(bundle CFBundleRef) CFDictionaryRef
CFBundleGetInfoDictionary calls the CoreFoundation framework function CFBundleGetInfoDictionary.
func CFBundleGetLocalInfoDictionary ¶
func CFBundleGetLocalInfoDictionary(bundle CFBundleRef) CFDictionaryRef
CFBundleGetLocalInfoDictionary calls the CoreFoundation framework function CFBundleGetLocalInfoDictionary.
func CFDictionaryCreate ¶
func CFDictionaryCreate(allocator CFAllocatorRef, keys unsafe.Pointer, values unsafe.Pointer, numValues int, keyCallBacks unsafe.Pointer, valueCallBacks unsafe.Pointer) CFDictionaryRef
CFDictionaryCreate calls the CoreFoundation framework function CFDictionaryCreate.
func CFDictionaryCreateCopy ¶
func CFDictionaryCreateCopy(allocator CFAllocatorRef, theDict CFDictionaryRef) CFDictionaryRef
CFDictionaryCreateCopy calls the CoreFoundation framework function CFDictionaryCreateCopy.
func CFErrorCopyUserInfo ¶
func CFErrorCopyUserInfo(err CFErrorRef) CFDictionaryRef
CFErrorCopyUserInfo calls the CoreFoundation framework function CFErrorCopyUserInfo.
func CFLocaleCreateComponentsFromLocaleIdentifier ¶
func CFLocaleCreateComponentsFromLocaleIdentifier(allocator CFAllocatorRef, localeID unsafe.Pointer) CFDictionaryRef
CFLocaleCreateComponentsFromLocaleIdentifier calls the CoreFoundation framework function CFLocaleCreateComponentsFromLocaleIdentifier.
func CFPreferencesCopyMultiple ¶
func CFPreferencesCopyMultiple(keysToFetch CFArrayRef, applicationID CFStringRef, userName CFStringRef, hostName CFStringRef) CFDictionaryRef
CFPreferencesCopyMultiple calls the CoreFoundation framework function CFPreferencesCopyMultiple.
func CFTimeZoneCopyAbbreviationDictionary ¶
func CFTimeZoneCopyAbbreviationDictionary() CFDictionaryRef
CFTimeZoneCopyAbbreviationDictionary calls the CoreFoundation framework function CFTimeZoneCopyAbbreviationDictionary.
func CFURLCreateResourcePropertiesForKeysFromBookmarkData ¶
func CFURLCreateResourcePropertiesForKeysFromBookmarkData(allocator CFAllocatorRef, resourcePropertiesToReturn CFArrayRef, bookmark CFDataRef) CFDictionaryRef
CFURLCreateResourcePropertiesForKeysFromBookmarkData calls the CoreFoundation framework function CFURLCreateResourcePropertiesForKeysFromBookmarkData.
func CFUserNotificationGetResponseDictionary ¶
func CFUserNotificationGetResponseDictionary(userNotification CFUserNotificationRef) CFDictionaryRef
CFUserNotificationGetResponseDictionary calls the CoreFoundation framework function CFUserNotificationGetResponseDictionary.
func (CFDictionaryRef) IsNil ¶ added in v0.18.0
func (h CFDictionaryRef) IsNil() bool
IsNil reports whether CFDictionaryRef is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.
type CFDictionaryValueCallBacks ¶
type CFDictionaryValueCallBacks struct {
Version int
Retain unsafe.Pointer
Release unsafe.Pointer
CopyDescription unsafe.Pointer
Equal unsafe.Pointer
}
This structure contains the callbacks used to retain, release, describe, and compare the values in a dictionary.
type CFErrorRef ¶ added in v0.18.0
CFErrorRef is a handle for the opaque CFErrorRef type.
func CFErrorCreate ¶
func CFErrorCreate(allocator CFAllocatorRef, domain unsafe.Pointer, code int, userInfo CFDictionaryRef) CFErrorRef
CFErrorCreate calls the CoreFoundation framework function CFErrorCreate.
func CFErrorCreateWithUserInfoKeysAndValues ¶
func CFErrorCreateWithUserInfoKeysAndValues(allocator CFAllocatorRef, domain unsafe.Pointer, code int, userInfoKeys unsafe.Pointer, userInfoValues unsafe.Pointer, numUserInfoValues int) CFErrorRef
CFErrorCreateWithUserInfoKeysAndValues calls the CoreFoundation framework function CFErrorCreateWithUserInfoKeysAndValues.
func CFReadStreamCopyError ¶
func CFReadStreamCopyError(stream CFReadStreamRef) CFErrorRef
CFReadStreamCopyError calls the CoreFoundation framework function CFReadStreamCopyError.
func CFWriteStreamCopyError ¶
func CFWriteStreamCopyError(stream CFWriteStreamRef) CFErrorRef
CFWriteStreamCopyError calls the CoreFoundation framework function CFWriteStreamCopyError.
func (CFErrorRef) IsNil ¶ added in v0.18.0
func (h CFErrorRef) IsNil() bool
IsNil reports whether CFErrorRef is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.
type CFFileDescriptor ¶
type CFFileDescriptor struct{}
type CFFileDescriptorContext ¶
type CFFileDescriptorContext struct {
Version int
Info unsafe.Pointer
Retain unsafe.Pointer
Release unsafe.Pointer
CopyDescription unsafe.Pointer
}
Defines a structure for the context of a CFFileDescriptor.
type CFFileDescriptorRef ¶ added in v0.18.0
CFFileDescriptorRef is a handle for the opaque CFFileDescriptorRef type.
func CFFileDescriptorCreate ¶
func CFFileDescriptorCreate(allocator CFAllocatorRef, fd int, closeOnInvalidate uint8, callout unsafe.Pointer, context_ unsafe.Pointer) CFFileDescriptorRef
CFFileDescriptorCreate calls the CoreFoundation framework function CFFileDescriptorCreate.
func (CFFileDescriptorRef) IsNil ¶ added in v0.18.0
func (h CFFileDescriptorRef) IsNil() bool
IsNil reports whether CFFileDescriptorRef is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.
type CFFileSecurity ¶
type CFFileSecurity struct{}
type CFFileSecurityClearOptions ¶
type CFFileSecurityClearOptions uint64
Bitmask — values may be combined with |.
const ( // Clear the (POSIX) owner ID. KCFFileSecurityClearOwner CFFileSecurityClearOptions = 1 // Clear the (POSIX) group ID. KCFFileSecurityClearGroup CFFileSecurityClearOptions = 2 // Clear the file’s mode (POSIX permissions). KCFFileSecurityClearMode CFFileSecurityClearOptions = 4 // Clear the owner UUID (for the access control list). KCFFileSecurityClearOwnerUUID CFFileSecurityClearOptions = 8 // Clear the group UUID (for the access control list). KCFFileSecurityClearGroupUUID CFFileSecurityClearOptions = 16 // Clear the access control list. KCFFileSecurityClearAccessControlList CFFileSecurityClearOptions = 32 )
func (CFFileSecurityClearOptions) String ¶
func (e CFFileSecurityClearOptions) String() string
String returns the CFFileSecurityClearOptions constant's name, or its numeric form when the value is not a known constant.
type CFFileSecurityRef ¶ added in v0.18.0
CFFileSecurityRef is a handle for the opaque CFFileSecurityRef type.
func CFFileSecurityCreate ¶
func CFFileSecurityCreate(allocator CFAllocatorRef) CFFileSecurityRef
CFFileSecurityCreate calls the CoreFoundation framework function CFFileSecurityCreate.
func CFFileSecurityCreateCopy ¶
func CFFileSecurityCreateCopy(allocator CFAllocatorRef, fileSec CFFileSecurityRef) CFFileSecurityRef
CFFileSecurityCreateCopy calls the CoreFoundation framework function CFFileSecurityCreateCopy.
func (CFFileSecurityRef) IsNil ¶ added in v0.18.0
func (h CFFileSecurityRef) IsNil() bool
IsNil reports whether CFFileSecurityRef is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.
type CFGregorianDate ¶
Structure used to represent a point in time using the Gregorian calendar.
func CFAbsoluteTimeGetGregorianDate ¶
func CFAbsoluteTimeGetGregorianDate(at float64, tz CFTimeZoneRef) CFGregorianDate
CFAbsoluteTimeGetGregorianDate calls the CoreFoundation framework function CFAbsoluteTimeGetGregorianDate.
type CFGregorianUnitFlags ¶
type CFGregorianUnitFlags uint64
These option flags are used as a mask to indicate a specific set of fields in the CFGregorianDate or CFGregorianUnits structures. Bitmask — values may be combined with |.
const ( // Specifies the year field. // // Deprecated: Use CFCalendar or NSCalendar API instead KCFGregorianUnitsYears CFGregorianUnitFlags = 1 // Specifies the month field. // // Deprecated: Use CFCalendar or NSCalendar API instead KCFGregorianUnitsMonths CFGregorianUnitFlags = 2 // Specifies the day field. // // Deprecated: Use CFCalendar or NSCalendar API instead KCFGregorianUnitsDays CFGregorianUnitFlags = 4 // Specifies the hours field. // // Deprecated: Use CFCalendar or NSCalendar API instead KCFGregorianUnitsHours CFGregorianUnitFlags = 8 // Specifies the minutes field. // // Deprecated: Use CFCalendar or NSCalendar API instead KCFGregorianUnitsMinutes CFGregorianUnitFlags = 16 // Specifies the seconds field. // // Deprecated: Use CFCalendar or NSCalendar API instead KCFGregorianUnitsSeconds CFGregorianUnitFlags = 32 // Specifies all fields. // // Deprecated: Use CFCalendar or NSCalendar API instead KCFGregorianAllUnits CFGregorianUnitFlags = 16777215 )
func (CFGregorianUnitFlags) String ¶
func (e CFGregorianUnitFlags) String() string
String returns the CFGregorianUnitFlags constant's name, or its numeric form when the value is not a known constant.
type CFGregorianUnits ¶
type CFGregorianUnits struct {
Years int32
Months int32
Days int32
Hours int32
Minutes int32
Seconds float64
}
Structure used to represent a time interval in Gregorian units.
func CFAbsoluteTimeGetDifferenceAsGregorianUnits ¶
func CFAbsoluteTimeGetDifferenceAsGregorianUnits(at1 float64, at2 float64, tz CFTimeZoneRef, unitFlags int) CFGregorianUnits
CFAbsoluteTimeGetDifferenceAsGregorianUnits calls the CoreFoundation framework function CFAbsoluteTimeGetDifferenceAsGregorianUnits.
type CFHTTPAuthenticationRef ¶ added in v0.18.0
CFHTTPAuthenticationRef is a handle for the opaque CFHTTPAuthenticationRef type.
func (CFHTTPAuthenticationRef) IsNil ¶ added in v0.18.0
func (h CFHTTPAuthenticationRef) IsNil() bool
IsNil reports whether CFHTTPAuthenticationRef is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.
type CFHTTPMessageRef ¶ added in v0.18.0
CFHTTPMessageRef is a handle for the opaque CFHTTPMessageRef type.
func (CFHTTPMessageRef) IsNil ¶ added in v0.18.0
func (h CFHTTPMessageRef) IsNil() bool
IsNil reports whether CFHTTPMessageRef is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.
type CFISO8601DateFormatOptions ¶
type CFISO8601DateFormatOptions uint64
Bitmask — values may be combined with |.
const ( KCFISO8601DateFormatWithYear CFISO8601DateFormatOptions = 1 KCFISO8601DateFormatWithMonth CFISO8601DateFormatOptions = 2 KCFISO8601DateFormatWithWeekOfYear CFISO8601DateFormatOptions = 4 KCFISO8601DateFormatWithDay CFISO8601DateFormatOptions = 16 KCFISO8601DateFormatWithTime CFISO8601DateFormatOptions = 32 KCFISO8601DateFormatWithTimeZone CFISO8601DateFormatOptions = 64 KCFISO8601DateFormatWithSpaceBetweenDateAndTime CFISO8601DateFormatOptions = 128 KCFISO8601DateFormatWithDashSeparatorInDate CFISO8601DateFormatOptions = 256 KCFISO8601DateFormatWithColonSeparatorInTime CFISO8601DateFormatOptions = 512 KCFISO8601DateFormatWithColonSeparatorInTimeZone CFISO8601DateFormatOptions = 1024 KCFISO8601DateFormatWithFractionalSeconds CFISO8601DateFormatOptions = 2048 KCFISO8601DateFormatWithFullDate CFISO8601DateFormatOptions = 275 KCFISO8601DateFormatWithFullTime CFISO8601DateFormatOptions = 1632 KCFISO8601DateFormatWithInternetDateTime CFISO8601DateFormatOptions = 1907 )
func (CFISO8601DateFormatOptions) String ¶
func (e CFISO8601DateFormatOptions) String() string
String returns the CFISO8601DateFormatOptions constant's name, or its numeric form when the value is not a known constant.
type CFLocaleLanguageDirection ¶
type CFLocaleLanguageDirection int64
These constants describe the text direction for a language. They are returned by the functions CFLocaleGetLanguageCharacterDirection and CFLocaleGetLanguageLineDirection.
const ( KCFLocaleLanguageDirectionUnknown CFLocaleLanguageDirection = 0 KCFLocaleLanguageDirectionLeftToRight CFLocaleLanguageDirection = 1 KCFLocaleLanguageDirectionRightToLeft CFLocaleLanguageDirection = 2 KCFLocaleLanguageDirectionTopToBottom CFLocaleLanguageDirection = 3 KCFLocaleLanguageDirectionBottomToTop CFLocaleLanguageDirection = 4 )
func CFLocaleGetLanguageCharacterDirection ¶
func CFLocaleGetLanguageCharacterDirection(isoLangCode CFStringRef) CFLocaleLanguageDirection
CFLocaleGetLanguageCharacterDirection calls the CoreFoundation framework function CFLocaleGetLanguageCharacterDirection.
func CFLocaleGetLanguageLineDirection ¶
func CFLocaleGetLanguageLineDirection(isoLangCode CFStringRef) CFLocaleLanguageDirection
CFLocaleGetLanguageLineDirection calls the CoreFoundation framework function CFLocaleGetLanguageLineDirection.
func (CFLocaleLanguageDirection) String ¶
func (e CFLocaleLanguageDirection) String() string
String returns the CFLocaleLanguageDirection constant's name, or its numeric form when the value is not a known constant.
type CFLocaleRef ¶ added in v0.18.0
CFLocaleRef is a handle for the opaque CFLocaleRef type.
func CFCalendarCopyLocale ¶
func CFCalendarCopyLocale(calendar CFCalendarRef) CFLocaleRef
CFCalendarCopyLocale calls the CoreFoundation framework function CFCalendarCopyLocale.
func CFDateFormatterGetLocale ¶
func CFDateFormatterGetLocale(formatter CFDateFormatterRef) CFLocaleRef
CFDateFormatterGetLocale calls the CoreFoundation framework function CFDateFormatterGetLocale.
func CFLocaleCopyCurrent ¶
func CFLocaleCopyCurrent() CFLocaleRef
CFLocaleCopyCurrent calls the CoreFoundation framework function CFLocaleCopyCurrent.
func CFLocaleCreate ¶
func CFLocaleCreate(allocator CFAllocatorRef, localeIdentifier unsafe.Pointer) CFLocaleRef
CFLocaleCreate calls the CoreFoundation framework function CFLocaleCreate.
func CFLocaleCreateCopy ¶
func CFLocaleCreateCopy(allocator CFAllocatorRef, locale CFLocaleRef) CFLocaleRef
CFLocaleCreateCopy calls the CoreFoundation framework function CFLocaleCreateCopy.
func CFLocaleGetSystem ¶
func CFLocaleGetSystem() CFLocaleRef
CFLocaleGetSystem calls the CoreFoundation framework function CFLocaleGetSystem.
func CFNumberFormatterGetLocale ¶
func CFNumberFormatterGetLocale(formatter CFNumberFormatterRef) CFLocaleRef
CFNumberFormatterGetLocale calls the CoreFoundation framework function CFNumberFormatterGetLocale.
func (CFLocaleRef) IsNil ¶ added in v0.18.0
func (h CFLocaleRef) IsNil() bool
IsNil reports whether CFLocaleRef is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.
type CFMachPort ¶
type CFMachPort struct{}
type CFMachPortContext ¶
type CFMachPortContext struct {
Version int
Info unsafe.Pointer
Retain unsafe.Pointer
Release unsafe.Pointer
CopyDescription unsafe.Pointer
}
A structure that contains program-defined data and callbacks with which you can configure a CFMachPort object’s behavior.
type CFMachPortRef ¶ added in v0.18.0
CFMachPortRef is a handle for the opaque CFMachPortRef type.
func CFMachPortCreate ¶
func CFMachPortCreate(allocator CFAllocatorRef, callout unsafe.Pointer, context_ unsafe.Pointer) (result CFMachPortRef, shouldFreeInfo uint8)
CFMachPortCreate calls the CoreFoundation framework function CFMachPortCreate.
func CFMachPortCreateWithPort ¶
func CFMachPortCreateWithPort(allocator CFAllocatorRef, portNum int, callout unsafe.Pointer, context_ unsafe.Pointer) (result CFMachPortRef, shouldFreeInfo uint8)
CFMachPortCreateWithPort calls the CoreFoundation framework function CFMachPortCreateWithPort.
func (CFMachPortRef) IsNil ¶ added in v0.18.0
func (h CFMachPortRef) IsNil() bool
IsNil reports whether CFMachPortRef is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.
type CFMessagePort ¶
type CFMessagePort struct{}
type CFMessagePortContext ¶
type CFMessagePortContext struct {
Version int
Info unsafe.Pointer
Retain unsafe.Pointer
Release unsafe.Pointer
CopyDescription unsafe.Pointer
}
A structure that contains program-defined data and callbacks with which you can configure a CFMessagePort object’s behavior.
type CFMessagePortRef ¶ added in v0.18.0
CFMessagePortRef is a handle for the opaque CFMessagePortRef type.
func CFMessagePortCreateLocal ¶
func CFMessagePortCreateLocal(allocator CFAllocatorRef, name CFStringRef, callout unsafe.Pointer, context_ unsafe.Pointer) (result CFMessagePortRef, shouldFreeInfo uint8)
CFMessagePortCreateLocal calls the CoreFoundation framework function CFMessagePortCreateLocal.
func CFMessagePortCreateRemote ¶
func CFMessagePortCreateRemote(allocator CFAllocatorRef, name CFStringRef) CFMessagePortRef
CFMessagePortCreateRemote calls the CoreFoundation framework function CFMessagePortCreateRemote.
func (CFMessagePortRef) IsNil ¶ added in v0.18.0
func (h CFMessagePortRef) IsNil() bool
IsNil reports whether CFMessagePortRef is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.
type CFMutableArrayRef ¶ added in v0.18.0
CFMutableArrayRef is a handle for the opaque CFMutableArrayRef type.
func CFArrayCreateMutable ¶
func CFArrayCreateMutable(allocator CFAllocatorRef, capacity int, callBacks unsafe.Pointer) CFMutableArrayRef
CFArrayCreateMutable calls the CoreFoundation framework function CFArrayCreateMutable.
func CFArrayCreateMutableCopy ¶
func CFArrayCreateMutableCopy(allocator CFAllocatorRef, capacity int, theArray CFArrayRef) CFMutableArrayRef
CFArrayCreateMutableCopy calls the CoreFoundation framework function CFArrayCreateMutableCopy.
func (CFMutableArrayRef) AsArray ¶ added in v0.18.0
func (h CFMutableArrayRef) AsArray() CFArrayRef
AsArray returns this handle as its immutable CFArrayRef counterpart, which any function taking a CFArrayRef accepts (a mutable ref is-a immutable ref).
func (CFMutableArrayRef) IsNil ¶ added in v0.18.0
func (h CFMutableArrayRef) IsNil() bool
IsNil reports whether CFMutableArrayRef is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.
type CFMutableAttributedStringRef ¶ added in v0.18.0
CFMutableAttributedStringRef is a handle for the opaque CFMutableAttributedStringRef type.
func CFAttributedStringCreateMutable ¶
func CFAttributedStringCreateMutable(alloc CFAllocatorRef, maxLength int) CFMutableAttributedStringRef
CFAttributedStringCreateMutable calls the CoreFoundation framework function CFAttributedStringCreateMutable.
func CFAttributedStringCreateMutableCopy ¶
func CFAttributedStringCreateMutableCopy(alloc CFAllocatorRef, maxLength int, aStr CFAttributedStringRef) CFMutableAttributedStringRef
CFAttributedStringCreateMutableCopy calls the CoreFoundation framework function CFAttributedStringCreateMutableCopy.
func (CFMutableAttributedStringRef) AsAttributedString ¶ added in v0.18.0
func (h CFMutableAttributedStringRef) AsAttributedString() CFAttributedStringRef
AsAttributedString returns this handle as its immutable CFAttributedStringRef counterpart, which any function taking a CFAttributedStringRef accepts (a mutable ref is-a immutable ref).
func (CFMutableAttributedStringRef) IsNil ¶ added in v0.18.0
func (h CFMutableAttributedStringRef) IsNil() bool
IsNil reports whether CFMutableAttributedStringRef is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.
type CFMutableBagRef ¶ added in v0.18.0
CFMutableBagRef is a handle for the opaque CFMutableBagRef type.
func CFBagCreateMutable ¶
func CFBagCreateMutable(allocator CFAllocatorRef, capacity int, callBacks unsafe.Pointer) CFMutableBagRef
CFBagCreateMutable calls the CoreFoundation framework function CFBagCreateMutable.
func CFBagCreateMutableCopy ¶
func CFBagCreateMutableCopy(allocator CFAllocatorRef, capacity int, theBag CFBagRef) CFMutableBagRef
CFBagCreateMutableCopy calls the CoreFoundation framework function CFBagCreateMutableCopy.
func (CFMutableBagRef) AsBag ¶ added in v0.18.0
func (h CFMutableBagRef) AsBag() CFBagRef
AsBag returns this handle as its immutable CFBagRef counterpart, which any function taking a CFBagRef accepts (a mutable ref is-a immutable ref).
func (CFMutableBagRef) IsNil ¶ added in v0.18.0
func (h CFMutableBagRef) IsNil() bool
IsNil reports whether CFMutableBagRef is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.
type CFMutableBitVectorRef ¶ added in v0.18.0
CFMutableBitVectorRef is a handle for the opaque CFMutableBitVectorRef type.
func CFBitVectorCreateMutable ¶
func CFBitVectorCreateMutable(allocator CFAllocatorRef, capacity int) CFMutableBitVectorRef
CFBitVectorCreateMutable calls the CoreFoundation framework function CFBitVectorCreateMutable.
func CFBitVectorCreateMutableCopy ¶
func CFBitVectorCreateMutableCopy(allocator CFAllocatorRef, capacity int, bv CFBitVectorRef) CFMutableBitVectorRef
CFBitVectorCreateMutableCopy calls the CoreFoundation framework function CFBitVectorCreateMutableCopy.
func (CFMutableBitVectorRef) AsBitVector ¶ added in v0.18.0
func (h CFMutableBitVectorRef) AsBitVector() CFBitVectorRef
AsBitVector returns this handle as its immutable CFBitVectorRef counterpart, which any function taking a CFBitVectorRef accepts (a mutable ref is-a immutable ref).
func (CFMutableBitVectorRef) IsNil ¶ added in v0.18.0
func (h CFMutableBitVectorRef) IsNil() bool
IsNil reports whether CFMutableBitVectorRef is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.
type CFMutableCharacterSetRef ¶ added in v0.18.0
CFMutableCharacterSetRef is a handle for the opaque CFMutableCharacterSetRef type.
func CFCharacterSetCreateMutable ¶
func CFCharacterSetCreateMutable(alloc CFAllocatorRef) CFMutableCharacterSetRef
CFCharacterSetCreateMutable calls the CoreFoundation framework function CFCharacterSetCreateMutable.
func CFCharacterSetCreateMutableCopy ¶
func CFCharacterSetCreateMutableCopy(alloc CFAllocatorRef, theSet CFCharacterSetRef) CFMutableCharacterSetRef
CFCharacterSetCreateMutableCopy calls the CoreFoundation framework function CFCharacterSetCreateMutableCopy.
func (CFMutableCharacterSetRef) AsCharacterSet ¶ added in v0.18.0
func (h CFMutableCharacterSetRef) AsCharacterSet() CFCharacterSetRef
AsCharacterSet returns this handle as its immutable CFCharacterSetRef counterpart, which any function taking a CFCharacterSetRef accepts (a mutable ref is-a immutable ref).
func (CFMutableCharacterSetRef) IsNil ¶ added in v0.18.0
func (h CFMutableCharacterSetRef) IsNil() bool
IsNil reports whether CFMutableCharacterSetRef is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.
type CFMutableDataRef ¶ added in v0.18.0
CFMutableDataRef is a handle for the opaque CFMutableDataRef type.
func CFDataCreateMutable ¶
func CFDataCreateMutable(allocator CFAllocatorRef, capacity int) CFMutableDataRef
CFDataCreateMutable calls the CoreFoundation framework function CFDataCreateMutable.
func CFDataCreateMutableCopy ¶
func CFDataCreateMutableCopy(allocator CFAllocatorRef, capacity int, theData CFDataRef) CFMutableDataRef
CFDataCreateMutableCopy calls the CoreFoundation framework function CFDataCreateMutableCopy.
func (CFMutableDataRef) AsData ¶ added in v0.18.0
func (h CFMutableDataRef) AsData() CFDataRef
AsData returns this handle as its immutable CFDataRef counterpart, which any function taking a CFDataRef accepts (a mutable ref is-a immutable ref).
func (CFMutableDataRef) IsNil ¶ added in v0.18.0
func (h CFMutableDataRef) IsNil() bool
IsNil reports whether CFMutableDataRef is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.
type CFMutableDictionaryRef ¶ added in v0.18.0
CFMutableDictionaryRef is a handle for the opaque CFMutableDictionaryRef type.
func CFDictionaryCreateMutable ¶
func CFDictionaryCreateMutable(allocator CFAllocatorRef, capacity int, keyCallBacks unsafe.Pointer, valueCallBacks unsafe.Pointer) CFMutableDictionaryRef
CFDictionaryCreateMutable calls the CoreFoundation framework function CFDictionaryCreateMutable.
func CFDictionaryCreateMutableCopy ¶
func CFDictionaryCreateMutableCopy(allocator CFAllocatorRef, capacity int, theDict CFDictionaryRef) CFMutableDictionaryRef
CFDictionaryCreateMutableCopy calls the CoreFoundation framework function CFDictionaryCreateMutableCopy.
func (CFMutableDictionaryRef) AsDictionary ¶ added in v0.18.0
func (h CFMutableDictionaryRef) AsDictionary() CFDictionaryRef
AsDictionary returns this handle as its immutable CFDictionaryRef counterpart, which any function taking a CFDictionaryRef accepts (a mutable ref is-a immutable ref).
func (CFMutableDictionaryRef) IsNil ¶ added in v0.18.0
func (h CFMutableDictionaryRef) IsNil() bool
IsNil reports whether CFMutableDictionaryRef is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.
type CFMutableSetRef ¶ added in v0.18.0
CFMutableSetRef is a handle for the opaque CFMutableSetRef type.
func CFSetCreateMutable ¶
func CFSetCreateMutable(allocator CFAllocatorRef, capacity int, callBacks unsafe.Pointer) CFMutableSetRef
CFSetCreateMutable calls the CoreFoundation framework function CFSetCreateMutable.
func CFSetCreateMutableCopy ¶
func CFSetCreateMutableCopy(allocator CFAllocatorRef, capacity int, theSet CFSetRef) CFMutableSetRef
CFSetCreateMutableCopy calls the CoreFoundation framework function CFSetCreateMutableCopy.
func (CFMutableSetRef) AsSet ¶ added in v0.18.0
func (h CFMutableSetRef) AsSet() CFSetRef
AsSet returns this handle as its immutable CFSetRef counterpart, which any function taking a CFSetRef accepts (a mutable ref is-a immutable ref).
func (CFMutableSetRef) IsNil ¶ added in v0.18.0
func (h CFMutableSetRef) IsNil() bool
IsNil reports whether CFMutableSetRef is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.
type CFMutableStringRef ¶ added in v0.18.0
CFMutableStringRef is a handle for the opaque CFMutableStringRef type.
func CFAttributedStringGetMutableString ¶
func CFAttributedStringGetMutableString(aStr CFMutableAttributedStringRef) CFMutableStringRef
CFAttributedStringGetMutableString calls the CoreFoundation framework function CFAttributedStringGetMutableString.
func CFStringCreateMutable ¶
func CFStringCreateMutable(alloc CFAllocatorRef, maxLength int) CFMutableStringRef
CFStringCreateMutable calls the CoreFoundation framework function CFStringCreateMutable.
func CFStringCreateMutableCopy ¶
func CFStringCreateMutableCopy(alloc CFAllocatorRef, maxLength int, theString CFStringRef) CFMutableStringRef
CFStringCreateMutableCopy calls the CoreFoundation framework function CFStringCreateMutableCopy.
func CFStringCreateMutableWithExternalCharactersNoCopy ¶
func CFStringCreateMutableWithExternalCharactersNoCopy(alloc CFAllocatorRef, numChars int, capacity int, externalCharactersAllocator CFAllocatorRef) (result CFMutableStringRef, chars uint16)
CFStringCreateMutableWithExternalCharactersNoCopy calls the CoreFoundation framework function CFStringCreateMutableWithExternalCharactersNoCopy.
func (CFMutableStringRef) AsString ¶ added in v0.18.0
func (h CFMutableStringRef) AsString() CFStringRef
AsString returns this handle as its immutable CFStringRef counterpart, which any function taking a CFStringRef accepts (a mutable ref is-a immutable ref).
func (CFMutableStringRef) IsNil ¶ added in v0.18.0
func (h CFMutableStringRef) IsNil() bool
IsNil reports whether CFMutableStringRef is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.
type CFNetDiagnosticRef ¶ added in v0.18.0
CFNetDiagnosticRef is a handle for the opaque CFNetDiagnosticRef type.
func (CFNetDiagnosticRef) IsNil ¶ added in v0.18.0
func (h CFNetDiagnosticRef) IsNil() bool
IsNil reports whether CFNetDiagnosticRef is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.
type CFNetServiceBrowserRef ¶ added in v0.18.0
CFNetServiceBrowserRef is a handle for the opaque CFNetServiceBrowserRef type.
func (CFNetServiceBrowserRef) IsNil ¶ added in v0.18.0
func (h CFNetServiceBrowserRef) IsNil() bool
IsNil reports whether CFNetServiceBrowserRef is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.
type CFNetServiceMonitorRef ¶ added in v0.18.0
CFNetServiceMonitorRef is a handle for the opaque CFNetServiceMonitorRef type.
func (CFNetServiceMonitorRef) IsNil ¶ added in v0.18.0
func (h CFNetServiceMonitorRef) IsNil() bool
IsNil reports whether CFNetServiceMonitorRef is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.
type CFNetServiceRef ¶ added in v0.18.0
CFNetServiceRef is a handle for the opaque CFNetServiceRef type.
func (CFNetServiceRef) IsNil ¶ added in v0.18.0
func (h CFNetServiceRef) IsNil() bool
IsNil reports whether CFNetServiceRef is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.
type CFNotificationCenter ¶
type CFNotificationCenter struct{}
type CFNotificationCenterRef ¶ added in v0.18.0
CFNotificationCenterRef is a handle for the opaque CFNotificationCenterRef type.
func CFNotificationCenterGetDarwinNotifyCenter ¶
func CFNotificationCenterGetDarwinNotifyCenter() CFNotificationCenterRef
CFNotificationCenterGetDarwinNotifyCenter calls the CoreFoundation framework function CFNotificationCenterGetDarwinNotifyCenter.
func CFNotificationCenterGetDistributedCenter ¶
func CFNotificationCenterGetDistributedCenter() CFNotificationCenterRef
CFNotificationCenterGetDistributedCenter calls the CoreFoundation framework function CFNotificationCenterGetDistributedCenter.
func CFNotificationCenterGetLocalCenter ¶
func CFNotificationCenterGetLocalCenter() CFNotificationCenterRef
CFNotificationCenterGetLocalCenter calls the CoreFoundation framework function CFNotificationCenterGetLocalCenter.
func (CFNotificationCenterRef) IsNil ¶ added in v0.18.0
func (h CFNotificationCenterRef) IsNil() bool
IsNil reports whether CFNotificationCenterRef is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.
type CFNotificationSuspensionBehavior ¶
type CFNotificationSuspensionBehavior int64
Suspension flags that indicate how distributed notifications should be handled when the receiving application is in the background.
const ( // The server will not queue any notifications of the specified name and object while the receiving application is in the background. CFNotificationSuspensionBehaviorDrop CFNotificationSuspensionBehavior = 1 // The server will only queue the last notification of the specified name and object; earlier notifications are dropped. CFNotificationSuspensionBehaviorCoalesce CFNotificationSuspensionBehavior = 2 // The server will hold all matching notifications until the queue has been filled (queue size determined by the server) at which point the server may flush queued notifications. CFNotificationSuspensionBehaviorHold CFNotificationSuspensionBehavior = 3 // The server will deliver notifications of the specified name and object whether or not the application is in the background. When a notification with this suspension behavior is matched, it has the effect of first flushing any queued notifications. CFNotificationSuspensionBehaviorDeliverImmediately CFNotificationSuspensionBehavior = 4 )
func (CFNotificationSuspensionBehavior) String ¶
func (e CFNotificationSuspensionBehavior) String() string
String returns the CFNotificationSuspensionBehavior constant's name, or its numeric form when the value is not a known constant.
type CFNumberFormatter ¶
type CFNumberFormatter struct{}
type CFNumberFormatterOptionFlags ¶
type CFNumberFormatterOptionFlags uint64
Type for constants specifying how numbers should be parsed. Bitmask — values may be combined with |.
const ( // Specifies that only integers should be parsed. KCFNumberFormatterParseIntegersOnly CFNumberFormatterOptionFlags = 1 )
func (CFNumberFormatterOptionFlags) String ¶
func (e CFNumberFormatterOptionFlags) String() string
String returns the CFNumberFormatterOptionFlags constant's name, or its numeric form when the value is not a known constant.
type CFNumberFormatterPadPosition ¶
type CFNumberFormatterPadPosition int64
Type for constants specifying how numbers should be padded.
const ( // Specifies the number of padding characters before the prefix. KCFNumberFormatterPadBeforePrefix CFNumberFormatterPadPosition = 0 // Specifies the number of padding characters after the prefix. KCFNumberFormatterPadAfterPrefix CFNumberFormatterPadPosition = 1 // Specifies the number of padding characters before the suffix. KCFNumberFormatterPadBeforeSuffix CFNumberFormatterPadPosition = 2 // Specifies the number of padding characters after the suffix. KCFNumberFormatterPadAfterSuffix CFNumberFormatterPadPosition = 3 )
func (CFNumberFormatterPadPosition) String ¶
func (e CFNumberFormatterPadPosition) String() string
String returns the CFNumberFormatterPadPosition constant's name, or its numeric form when the value is not a known constant.
type CFNumberFormatterRef ¶ added in v0.18.0
CFNumberFormatterRef is a handle for the opaque CFNumberFormatterRef type.
func CFNumberFormatterCreate ¶
func CFNumberFormatterCreate(allocator CFAllocatorRef, locale CFLocaleRef, style CFNumberFormatterStyle) CFNumberFormatterRef
CFNumberFormatterCreate calls the CoreFoundation framework function CFNumberFormatterCreate.
func (CFNumberFormatterRef) IsNil ¶ added in v0.18.0
func (h CFNumberFormatterRef) IsNil() bool
IsNil reports whether CFNumberFormatterRef is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.
type CFNumberFormatterRoundingMode ¶
type CFNumberFormatterRoundingMode int64
These constants are used to specify how numbers should be rounded.
const ( // Round towards positive infinity. KCFNumberFormatterRoundCeiling CFNumberFormatterRoundingMode = 0 // Round towards negative infinity. KCFNumberFormatterRoundFloor CFNumberFormatterRoundingMode = 1 // Round towards zero. KCFNumberFormatterRoundDown CFNumberFormatterRoundingMode = 2 // Round away from zero. KCFNumberFormatterRoundUp CFNumberFormatterRoundingMode = 3 // Round towards the nearest integer, or towards an even number if equidistant. KCFNumberFormatterRoundHalfEven CFNumberFormatterRoundingMode = 4 // Round towards the nearest integer, or towards zero if equidistant. KCFNumberFormatterRoundHalfDown CFNumberFormatterRoundingMode = 5 // Round towards the nearest integer, or away from zero if equidistant. KCFNumberFormatterRoundHalfUp CFNumberFormatterRoundingMode = 6 )
func (CFNumberFormatterRoundingMode) String ¶
func (e CFNumberFormatterRoundingMode) String() string
String returns the CFNumberFormatterRoundingMode constant's name, or its numeric form when the value is not a known constant.
type CFNumberFormatterStyle ¶
type CFNumberFormatterStyle int64
Type for constants specifying a formatter style.
const ( // Specifies no style. KCFNumberFormatterNoStyle CFNumberFormatterStyle = 0 // Specifies a decimal style format. KCFNumberFormatterDecimalStyle CFNumberFormatterStyle = 1 // Specifies a currency style format. KCFNumberFormatterCurrencyStyle CFNumberFormatterStyle = 2 // Specifies a percent style format. KCFNumberFormatterPercentStyle CFNumberFormatterStyle = 3 // Specifies a scientific style format. KCFNumberFormatterScientificStyle CFNumberFormatterStyle = 4 // Specifies a spelled out format. KCFNumberFormatterSpellOutStyle CFNumberFormatterStyle = 5 KCFNumberFormatterOrdinalStyle CFNumberFormatterStyle = 6 KCFNumberFormatterCurrencyISOCodeStyle CFNumberFormatterStyle = 8 KCFNumberFormatterCurrencyPluralStyle CFNumberFormatterStyle = 9 KCFNumberFormatterCurrencyAccountingStyle CFNumberFormatterStyle = 10 )
func CFNumberFormatterGetStyle ¶
func CFNumberFormatterGetStyle(formatter CFNumberFormatterRef) CFNumberFormatterStyle
CFNumberFormatterGetStyle calls the CoreFoundation framework function CFNumberFormatterGetStyle.
func (CFNumberFormatterStyle) String ¶
func (e CFNumberFormatterStyle) String() string
String returns the CFNumberFormatterStyle constant's name, or its numeric form when the value is not a known constant.
type CFNumberRef ¶ added in v0.18.0
CFNumberRef is a handle for the opaque CFNumberRef type.
func CFNumberCreate ¶
func CFNumberCreate(allocator CFAllocatorRef, theType CFNumberType, valuePtr unsafe.Pointer) CFNumberRef
CFNumberCreate calls the CoreFoundation framework function CFNumberCreate.
func (CFNumberRef) IsNil ¶ added in v0.18.0
func (h CFNumberRef) IsNil() bool
IsNil reports whether CFNumberRef is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.
type CFNumberType ¶
type CFNumberType int64
Flags used by CFNumber to indicate the data type of a value.
const ( // Eight-bit, signed integer. The SInt8 data type is defined in MacTypes.h. KCFNumberSInt8Type CFNumberType = 1 // Sixteen-bit, signed integer. The SInt16 data type is defined in MacTypes.h. KCFNumberSInt16Type CFNumberType = 2 // Thirty-two-bit, signed integer. The SInt32 data type is defined in MacTypes.h. KCFNumberSInt32Type CFNumberType = 3 // Sixty-four-bit, signed integer. The SInt64 data type is defined in MacTypes.h. KCFNumberSInt64Type CFNumberType = 4 // Thirty-two-bit real. The Float32 data type is defined in MacTypes.h. KCFNumberFloat32Type CFNumberType = 5 // Sixty-four-bit real. The Float64 data type is defined in MacTypes.h and conforms to the 64-bit IEEE 754 standard. KCFNumberFloat64Type CFNumberType = 6 // Basic C char type. KCFNumberCharType CFNumberType = 7 // Basic C short type. KCFNumberShortType CFNumberType = 8 // Basic C int type. KCFNumberIntType CFNumberType = 9 // Basic C long type. KCFNumberLongType CFNumberType = 10 // Basic C long long type. KCFNumberLongLongType CFNumberType = 11 // Basic C float type. KCFNumberFloatType CFNumberType = 12 // Basic C double type. KCFNumberDoubleType CFNumberType = 13 // CFIndex value. KCFNumberCFIndexType CFNumberType = 14 // NSInteger value. KCFNumberNSIntegerType CFNumberType = 15 // CGFloat value. KCFNumberCGFloatType CFNumberType = 16 // Same as kCFNumberCGFloatType. KCFNumberMaxType CFNumberType = 16 )
func CFNumberGetType ¶
func CFNumberGetType(number CFNumberRef) CFNumberType
CFNumberGetType calls the CoreFoundation framework function CFNumberGetType.
func (CFNumberType) String ¶
func (e CFNumberType) String() string
String returns the CFNumberType constant's name, or its numeric form when the value is not a known constant.
type CFPlugInInstance ¶
type CFPlugInInstance struct{}
type CFPlugInInstanceRef ¶ added in v0.18.0
CFPlugInInstanceRef is a handle for the opaque CFPlugInInstanceRef type.
func CFPlugInInstanceCreateWithInstanceDataSize ¶
func CFPlugInInstanceCreateWithInstanceDataSize(allocator CFAllocatorRef, instanceDataSize int, deallocateInstanceFunction unsafe.Pointer, factoryName CFStringRef, getInterfaceFunction unsafe.Pointer) CFPlugInInstanceRef
CFPlugInInstanceCreateWithInstanceDataSize calls the CoreFoundation framework function CFPlugInInstanceCreateWithInstanceDataSize.
func (CFPlugInInstanceRef) IsNil ¶ added in v0.18.0
func (h CFPlugInInstanceRef) IsNil() bool
IsNil reports whether CFPlugInInstanceRef is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.
type CFPlugInRef ¶ added in v0.18.0
CFPlugInRef is a handle for the opaque CFPlugInRef type.
func CFBundleGetPlugIn ¶
func CFBundleGetPlugIn(bundle CFBundleRef) CFPlugInRef
CFBundleGetPlugIn calls the CoreFoundation framework function CFBundleGetPlugIn.
func CFPlugInCreate ¶
func CFPlugInCreate(allocator CFAllocatorRef, plugInURL CFURLRef) CFPlugInRef
CFPlugInCreate calls the CoreFoundation framework function CFPlugInCreate.
func (CFPlugInRef) IsNil ¶ added in v0.18.0
func (h CFPlugInRef) IsNil() bool
IsNil reports whether CFPlugInRef is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.
type CFPropertyListFormat ¶
type CFPropertyListFormat int64
Specifies the format of a property list.
const ( // OpenStep format (use of this format is discouraged). KCFPropertyListOpenStepFormat CFPropertyListFormat = 1 // XML format version 1.0. KCFPropertyListXMLFormat_v1_0 CFPropertyListFormat = 100 // Binary format version 1.0. KCFPropertyListBinaryFormat_v1_0 CFPropertyListFormat = 200 )
func (CFPropertyListFormat) String ¶
func (e CFPropertyListFormat) String() string
String returns the CFPropertyListFormat constant's name, or its numeric form when the value is not a known constant.
type CFPropertyListMutabilityOptions ¶
type CFPropertyListMutabilityOptions uint64
Type for flags that determine the degree of mutability of newly created property lists. Bitmask — values may be combined with |.
const ( // Specifies that the property list should be immutable. KCFPropertyListImmutable CFPropertyListMutabilityOptions = 0 // Specifies that the property list should have mutable containers but immutable leaves. KCFPropertyListMutableContainers CFPropertyListMutabilityOptions = 1 // Specifies that the property list should have mutable containers and mutable leaves. KCFPropertyListMutableContainersAndLeaves CFPropertyListMutabilityOptions = 2 )
func (CFPropertyListMutabilityOptions) String ¶
func (e CFPropertyListMutabilityOptions) String() string
String returns the CFPropertyListMutabilityOptions constant's name, or its numeric form when the value is not a known constant.
type CFPropertyListRef ¶ added in v0.18.0
CFPropertyListRef is a handle for the opaque CFPropertyListRef type.
func CFPreferencesCopyAppValue ¶
func CFPreferencesCopyAppValue(key CFStringRef, applicationID CFStringRef) CFPropertyListRef
CFPreferencesCopyAppValue calls the CoreFoundation framework function CFPreferencesCopyAppValue.
func CFPreferencesCopyValue ¶
func CFPreferencesCopyValue(key CFStringRef, applicationID CFStringRef, userName CFStringRef, hostName CFStringRef) CFPropertyListRef
CFPreferencesCopyValue calls the CoreFoundation framework function CFPreferencesCopyValue.
func CFPropertyListCreateDeepCopy ¶
func CFPropertyListCreateDeepCopy(allocator CFAllocatorRef, propertyList CFPropertyListRef, mutabilityOption int) CFPropertyListRef
CFPropertyListCreateDeepCopy calls the CoreFoundation framework function CFPropertyListCreateDeepCopy.
func CFPropertyListCreateFromXMLData ¶
func CFPropertyListCreateFromXMLData(allocator CFAllocatorRef, xmlData CFDataRef, mutabilityOption int, errorString unsafe.Pointer) CFPropertyListRef
CFPropertyListCreateFromXMLData calls the CoreFoundation framework function CFPropertyListCreateFromXMLData.
func (CFPropertyListRef) IsNil ¶ added in v0.18.0
func (h CFPropertyListRef) IsNil() bool
IsNil reports whether CFPropertyListRef is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.
type CFRange ¶
A structure representing a range of sequential items in a container, such as characters in a buffer or elements in a collection.
func CFAttributedStringGetAttribute ¶
func CFAttributedStringGetAttribute(aStr CFAttributedStringRef, loc int, attrName CFStringRef) (result obj.Object, effectiveRange CFRange)
CFAttributedStringGetAttribute calls the CoreFoundation framework function CFAttributedStringGetAttribute.
func CFAttributedStringGetAttributeAndLongestEffectiveRange ¶
func CFAttributedStringGetAttributeAndLongestEffectiveRange(aStr CFAttributedStringRef, loc int, attrName CFStringRef, inRange CFRange) (result obj.Object, longestEffectiveRange CFRange)
CFAttributedStringGetAttributeAndLongestEffectiveRange calls the CoreFoundation framework function CFAttributedStringGetAttributeAndLongestEffectiveRange.
func CFCalendarGetMaximumRangeOfUnit ¶
func CFCalendarGetMaximumRangeOfUnit(calendar CFCalendarRef, unit CFCalendarUnit) CFRange
CFCalendarGetMaximumRangeOfUnit calls the CoreFoundation framework function CFCalendarGetMaximumRangeOfUnit.
func CFCalendarGetMinimumRangeOfUnit ¶
func CFCalendarGetMinimumRangeOfUnit(calendar CFCalendarRef, unit CFCalendarUnit) CFRange
CFCalendarGetMinimumRangeOfUnit calls the CoreFoundation framework function CFCalendarGetMinimumRangeOfUnit.
func CFCalendarGetRangeOfUnit ¶
func CFCalendarGetRangeOfUnit(calendar CFCalendarRef, smallerUnit CFCalendarUnit, biggerUnit CFCalendarUnit, at float64) CFRange
CFCalendarGetRangeOfUnit calls the CoreFoundation framework function CFCalendarGetRangeOfUnit.
func CFDataFind ¶
func CFDataFind(theData CFDataRef, dataToFind CFDataRef, searchRange CFRange, compareOptions CFDataSearchFlags) CFRange
CFDataFind calls the CoreFoundation framework function CFDataFind.
func CFDateFormatterGetAbsoluteTimeFromString ¶
func CFDateFormatterGetAbsoluteTimeFromString(formatter CFDateFormatterRef, str CFStringRef) (result uint8, rangep CFRange, atp float64)
CFDateFormatterGetAbsoluteTimeFromString calls the CoreFoundation framework function CFDateFormatterGetAbsoluteTimeFromString.
func CFNumberFormatterGetValueFromString ¶
func CFNumberFormatterGetValueFromString(formatter CFNumberFormatterRef, str CFStringRef, numberType CFNumberType, valuePtr unsafe.Pointer) (result uint8, rangep CFRange)
CFNumberFormatterGetValueFromString calls the CoreFoundation framework function CFNumberFormatterGetValueFromString.
func CFRangeMake ¶
CFRangeMake calls the CoreFoundation framework function CFRangeMake.
func CFStringFind ¶
func CFStringFind(theString CFStringRef, stringToFind CFStringRef, compareOptions CFStringCompareFlags) CFRange
CFStringFind calls the CoreFoundation framework function CFStringFind.
func CFStringFindCharacterFromSet ¶
func CFStringFindCharacterFromSet(theString CFStringRef, theSet CFCharacterSetRef, rangeToSearch CFRange, searchOptions CFStringCompareFlags) (result uint8, result_ CFRange)
CFStringFindCharacterFromSet calls the CoreFoundation framework function CFStringFindCharacterFromSet.
func CFStringFindWithOptions ¶
func CFStringFindWithOptions(theString CFStringRef, stringToFind CFStringRef, rangeToSearch CFRange, searchOptions CFStringCompareFlags) (result uint8, result_ CFRange)
CFStringFindWithOptions calls the CoreFoundation framework function CFStringFindWithOptions.
func CFStringFindWithOptionsAndLocale ¶
func CFStringFindWithOptionsAndLocale(theString CFStringRef, stringToFind CFStringRef, rangeToSearch CFRange, searchOptions CFStringCompareFlags, locale CFLocaleRef) (result uint8, result_ CFRange)
CFStringFindWithOptionsAndLocale calls the CoreFoundation framework function CFStringFindWithOptionsAndLocale.
func CFStringGetRangeOfComposedCharactersAtIndex ¶
func CFStringGetRangeOfComposedCharactersAtIndex(theString CFStringRef, theIndex int) CFRange
CFStringGetRangeOfComposedCharactersAtIndex calls the CoreFoundation framework function CFStringGetRangeOfComposedCharactersAtIndex.
func CFStringTokenizerGetCurrentSubTokens ¶
func CFStringTokenizerGetCurrentSubTokens(tokenizer CFStringTokenizerRef, maxRangeLength int, derivedSubTokens CFMutableArrayRef) (result int, ranges CFRange)
CFStringTokenizerGetCurrentSubTokens calls the CoreFoundation framework function CFStringTokenizerGetCurrentSubTokens.
func CFStringTokenizerGetCurrentTokenRange ¶
func CFStringTokenizerGetCurrentTokenRange(tokenizer CFStringTokenizerRef) CFRange
CFStringTokenizerGetCurrentTokenRange calls the CoreFoundation framework function CFStringTokenizerGetCurrentTokenRange.
func CFStringTransform ¶
func CFStringTransform(str CFMutableStringRef, transform CFStringRef, reverse uint8) (result uint8, range_ CFRange)
CFStringTransform calls the CoreFoundation framework function CFStringTransform.
type CFReadStream ¶
type CFReadStream struct{}
type CFReadStreamRef ¶ added in v0.18.0
CFReadStreamRef is a handle for the opaque CFReadStreamRef type.
func CFReadStreamCreateWithBytesNoCopy ¶
func CFReadStreamCreateWithBytesNoCopy(alloc CFAllocatorRef, data unsafe.Pointer, length int, bytesDeallocator CFAllocatorRef) CFReadStreamRef
CFReadStreamCreateWithBytesNoCopy calls the CoreFoundation framework function CFReadStreamCreateWithBytesNoCopy.
func CFReadStreamCreateWithFile ¶
func CFReadStreamCreateWithFile(alloc CFAllocatorRef, fileURL CFURLRef) CFReadStreamRef
CFReadStreamCreateWithFile calls the CoreFoundation framework function CFReadStreamCreateWithFile.
func (CFReadStreamRef) IsNil ¶ added in v0.18.0
func (h CFReadStreamRef) IsNil() bool
IsNil reports whether CFReadStreamRef is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.
type CFRunLoopActivity ¶
type CFRunLoopActivity uint64
Run loop activity stages in which run loop observers can be scheduled. Bitmask — values may be combined with |.
const ( // The entrance of the run loop, before entering the event processing loop. This activity occurs once for each call to CFRunLoopRun and CFRunLoopRunInMode. KCFRunLoopEntry CFRunLoopActivity = 1 // Inside the event processing loop before any timers are processed. KCFRunLoopBeforeTimers CFRunLoopActivity = 2 // Inside the event processing loop before any sources are processed. KCFRunLoopBeforeSources CFRunLoopActivity = 4 KCFRunLoopBeforeWaiting CFRunLoopActivity = 32 // Inside the event processing loop after the run loop wakes up, but before processing the event that woke it up. This activity occurs only if the run loop did in fact go to sleep during the current loop. KCFRunLoopAfterWaiting CFRunLoopActivity = 64 // The exit of the run loop, after exiting the event processing loop. This activity occurs once for each call to CFRunLoopRun and CFRunLoopRunInMode. KCFRunLoopExit CFRunLoopActivity = 128 // A combination of all the preceding stages. KCFRunLoopAllActivities CFRunLoopActivity = 268435455 )
func (CFRunLoopActivity) String ¶
func (e CFRunLoopActivity) String() string
String returns the CFRunLoopActivity constant's name, or its numeric form when the value is not a known constant.
type CFRunLoopObserver ¶
type CFRunLoopObserver struct{}
type CFRunLoopObserverContext ¶
type CFRunLoopObserverContext struct {
Version int
Info unsafe.Pointer
Retain unsafe.Pointer
Release unsafe.Pointer
CopyDescription unsafe.Pointer
}
A structure that contains program-defined data and callbacks with which you can configure a CFRunLoopObserver object’s behavior.
type CFRunLoopObserverRef ¶ added in v0.18.0
CFRunLoopObserverRef is a handle for the opaque CFRunLoopObserverRef type.
func CFRunLoopObserverCreate ¶
func CFRunLoopObserverCreate(allocator CFAllocatorRef, activities int, repeats uint8, order int, callout unsafe.Pointer, context_ unsafe.Pointer) CFRunLoopObserverRef
CFRunLoopObserverCreate calls the CoreFoundation framework function CFRunLoopObserverCreate.
func CFRunLoopObserverCreateWithHandler ¶
func CFRunLoopObserverCreateWithHandler(allocator CFAllocatorRef, activities int, repeats uint8, order int, block func(unsafe.Pointer, CFRunLoopActivity)) CFRunLoopObserverRef
CFRunLoopObserverCreateWithHandler calls the CoreFoundation framework function CFRunLoopObserverCreateWithHandler.
func (CFRunLoopObserverRef) IsNil ¶ added in v0.18.0
func (h CFRunLoopObserverRef) IsNil() bool
IsNil reports whether CFRunLoopObserverRef is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.
type CFRunLoopRef ¶ added in v0.18.0
CFRunLoopRef is a handle for the opaque CFRunLoopRef type.
func CFRunLoopGetCurrent ¶
func CFRunLoopGetCurrent() CFRunLoopRef
CFRunLoopGetCurrent calls the CoreFoundation framework function CFRunLoopGetCurrent.
func CFRunLoopGetMain ¶
func CFRunLoopGetMain() CFRunLoopRef
CFRunLoopGetMain calls the CoreFoundation framework function CFRunLoopGetMain.
func (CFRunLoopRef) IsNil ¶ added in v0.18.0
func (h CFRunLoopRef) IsNil() bool
IsNil reports whether CFRunLoopRef is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.
type CFRunLoopRunResult ¶
type CFRunLoopRunResult int32
const ( // The running run loop mode has no sources or timers to process. KCFRunLoopRunFinished CFRunLoopRunResult = 1 // CFRunLoopStop was called on the run loop. KCFRunLoopRunStopped CFRunLoopRunResult = 2 // The specified time interval for running the run loop has passed. KCFRunLoopRunTimedOut CFRunLoopRunResult = 3 // A source has been processed. This value is returned only if the run loop was told to run only until a source was processed. KCFRunLoopRunHandledSource CFRunLoopRunResult = 4 )
func CFRunLoopRunInMode ¶
func CFRunLoopRunInMode(mode unsafe.Pointer, seconds float64, returnAfterSourceHandled uint8) CFRunLoopRunResult
CFRunLoopRunInMode calls the CoreFoundation framework function CFRunLoopRunInMode.
func (CFRunLoopRunResult) String ¶
func (e CFRunLoopRunResult) String() string
String returns the CFRunLoopRunResult constant's name, or its numeric form when the value is not a known constant.
type CFRunLoopSource ¶
type CFRunLoopSource struct{}
type CFRunLoopSourceContext ¶
type CFRunLoopSourceContext struct {
Version int
Info unsafe.Pointer
Retain unsafe.Pointer
Release unsafe.Pointer
CopyDescription unsafe.Pointer
Equal unsafe.Pointer
Hash unsafe.Pointer
Schedule unsafe.Pointer
Cancel unsafe.Pointer
Perform unsafe.Pointer
}
A structure that contains program-defined data and callbacks with which you can configure a version 0 CFRunLoopSource’s behavior.
type CFRunLoopSourceContext1 ¶
type CFRunLoopSourceContext1 struct {
Version int
Info unsafe.Pointer
Retain unsafe.Pointer
Release unsafe.Pointer
CopyDescription unsafe.Pointer
Equal unsafe.Pointer
Hash unsafe.Pointer
GetPort unsafe.Pointer
Perform unsafe.Pointer
}
A structure that contains program-defined data and callbacks with which you can configure a version 1 CFRunLoopSource’s behavior.
type CFRunLoopSourceRef ¶ added in v0.18.0
CFRunLoopSourceRef is a handle for the opaque CFRunLoopSourceRef type.
func CFFileDescriptorCreateRunLoopSource ¶
func CFFileDescriptorCreateRunLoopSource(allocator CFAllocatorRef, f CFFileDescriptorRef, order int) CFRunLoopSourceRef
CFFileDescriptorCreateRunLoopSource calls the CoreFoundation framework function CFFileDescriptorCreateRunLoopSource.
func CFMachPortCreateRunLoopSource ¶
func CFMachPortCreateRunLoopSource(allocator CFAllocatorRef, port CFMachPortRef, order int) CFRunLoopSourceRef
CFMachPortCreateRunLoopSource calls the CoreFoundation framework function CFMachPortCreateRunLoopSource.
func CFMessagePortCreateRunLoopSource ¶
func CFMessagePortCreateRunLoopSource(allocator CFAllocatorRef, local CFMessagePortRef, order int) CFRunLoopSourceRef
CFMessagePortCreateRunLoopSource calls the CoreFoundation framework function CFMessagePortCreateRunLoopSource.
func CFRunLoopSourceCreate ¶
func CFRunLoopSourceCreate(allocator CFAllocatorRef, order int, context_ unsafe.Pointer) CFRunLoopSourceRef
CFRunLoopSourceCreate calls the CoreFoundation framework function CFRunLoopSourceCreate.
func CFSocketCreateRunLoopSource ¶
func CFSocketCreateRunLoopSource(allocator CFAllocatorRef, s CFSocketRef, order int) CFRunLoopSourceRef
CFSocketCreateRunLoopSource calls the CoreFoundation framework function CFSocketCreateRunLoopSource.
func CFUserNotificationCreateRunLoopSource ¶
func CFUserNotificationCreateRunLoopSource(allocator CFAllocatorRef, userNotification CFUserNotificationRef, callout unsafe.Pointer, order int) CFRunLoopSourceRef
CFUserNotificationCreateRunLoopSource calls the CoreFoundation framework function CFUserNotificationCreateRunLoopSource.
func (CFRunLoopSourceRef) IsNil ¶ added in v0.18.0
func (h CFRunLoopSourceRef) IsNil() bool
IsNil reports whether CFRunLoopSourceRef is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.
type CFRunLoopTimer ¶
type CFRunLoopTimer struct{}
type CFRunLoopTimerContext ¶
type CFRunLoopTimerContext struct {
Version int
Info unsafe.Pointer
Retain unsafe.Pointer
Release unsafe.Pointer
CopyDescription unsafe.Pointer
}
A structure that contains program-defined data and callbacks with which you can configure a CFRunLoopTimer’s behavior.
type CFRunLoopTimerRef ¶ added in v0.18.0
CFRunLoopTimerRef is a handle for the opaque CFRunLoopTimerRef type.
func CFRunLoopTimerCreate ¶
func CFRunLoopTimerCreate(allocator CFAllocatorRef, fireDate float64, interval float64, flags int, order int, callout unsafe.Pointer, context_ unsafe.Pointer) CFRunLoopTimerRef
CFRunLoopTimerCreate calls the CoreFoundation framework function CFRunLoopTimerCreate.
func CFRunLoopTimerCreateWithHandler ¶
func CFRunLoopTimerCreateWithHandler(allocator CFAllocatorRef, fireDate float64, interval float64, flags int, order int, block func(unsafe.Pointer)) CFRunLoopTimerRef
CFRunLoopTimerCreateWithHandler calls the CoreFoundation framework function CFRunLoopTimerCreateWithHandler.
func (CFRunLoopTimerRef) IsNil ¶ added in v0.18.0
func (h CFRunLoopTimerRef) IsNil() bool
IsNil reports whether CFRunLoopTimerRef is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.
type CFSetCallBacks ¶
type CFSetCallBacks struct {
Version int
Retain unsafe.Pointer
Release unsafe.Pointer
CopyDescription unsafe.Pointer
Equal unsafe.Pointer
Hash unsafe.Pointer
}
This structure contains the callbacks used to retain, release, describe, and compare the values of a CFSet object.
type CFSetRef ¶ added in v0.18.0
CFSetRef is a handle for the opaque CFSetRef type.
func CFSetCreate ¶
func CFSetCreate(allocator CFAllocatorRef, values unsafe.Pointer, numValues int, callBacks unsafe.Pointer) CFSetRef
CFSetCreate calls the CoreFoundation framework function CFSetCreate.
func CFSetCreateCopy ¶
func CFSetCreateCopy(allocator CFAllocatorRef, theSet CFSetRef) CFSetRef
CFSetCreateCopy calls the CoreFoundation framework function CFSetCreateCopy.
type CFSocketCallBackType ¶
type CFSocketCallBackType uint64
Types of socket activity that can cause the callback function of a CFSocket object to be called. Bitmask — values may be combined with |.
const ( // No callback should be made for any activity. KCFSocketNoCallBack CFSocketCallBackType = 0 // The callback is called when data is available to be read or a new connection is waiting to be accepted. The data is not automatically read; the callback must read the data itself. KCFSocketReadCallBack CFSocketCallBackType = 1 // New connections will be automatically accepted and the callback is called with the data argument being a pointer to a CFSocketNativeHandle of the child socket. This callback is usable only with listening sockets. KCFSocketAcceptCallBack CFSocketCallBackType = 2 // Incoming data will be read in chunks in the background and the callback is called with the data argument being a CFData object containing the read data. KCFSocketDataCallBack CFSocketCallBackType = 3 KCFSocketConnectCallBack CFSocketCallBackType = 4 // The callback is called when the socket is writable. This callback type may be useful when large amounts of data are being sent rapidly over the socket and you want a notification when there is space in the kernel buffers for more data. KCFSocketWriteCallBack CFSocketCallBackType = 8 )
func (CFSocketCallBackType) String ¶
func (e CFSocketCallBackType) String() string
String returns the CFSocketCallBackType constant's name, or its numeric form when the value is not a known constant.
type CFSocketContext ¶
type CFSocketContext struct {
Version int
Info unsafe.Pointer
Retain unsafe.Pointer
Release unsafe.Pointer
CopyDescription unsafe.Pointer
}
A structure that contains program-defined data and callbacks with which you can configure a CFSocket object’s behavior.
type CFSocketError ¶
type CFSocketError int64
Error codes for many CFSocket functions.
const ( // The socket operation succeeded. KCFSocketSuccess CFSocketError = 0 // The socket operation failed. KCFSocketError CFSocketError = -1 // The socket operation timed out. KCFSocketTimeout CFSocketError = -2 )
func CFSocketConnectToAddress ¶
func CFSocketConnectToAddress(s CFSocketRef, address CFDataRef, timeout float64) CFSocketError
CFSocketConnectToAddress calls the CoreFoundation framework function CFSocketConnectToAddress.
func CFSocketCopyRegisteredSocketSignature ¶
func CFSocketCopyRegisteredSocketSignature(nameServerSignature unsafe.Pointer, timeout float64, name CFStringRef, signature unsafe.Pointer, nameServerAddress unsafe.Pointer) CFSocketError
CFSocketCopyRegisteredSocketSignature calls the CoreFoundation framework function CFSocketCopyRegisteredSocketSignature.
func CFSocketCopyRegisteredValue ¶
func CFSocketCopyRegisteredValue(nameServerSignature unsafe.Pointer, timeout float64, name CFStringRef, value unsafe.Pointer, nameServerAddress unsafe.Pointer) CFSocketError
CFSocketCopyRegisteredValue calls the CoreFoundation framework function CFSocketCopyRegisteredValue.
func CFSocketRegisterSocketSignature ¶
func CFSocketRegisterSocketSignature(nameServerSignature unsafe.Pointer, timeout float64, name CFStringRef, signature unsafe.Pointer) CFSocketError
CFSocketRegisterSocketSignature calls the CoreFoundation framework function CFSocketRegisterSocketSignature.
func CFSocketRegisterValue ¶
func CFSocketRegisterValue(nameServerSignature unsafe.Pointer, timeout float64, name CFStringRef, value CFPropertyListRef) CFSocketError
CFSocketRegisterValue calls the CoreFoundation framework function CFSocketRegisterValue.
func CFSocketSendData ¶
func CFSocketSendData(s CFSocketRef, address CFDataRef, data CFDataRef, timeout float64) CFSocketError
CFSocketSendData calls the CoreFoundation framework function CFSocketSendData.
func CFSocketSetAddress ¶
func CFSocketSetAddress(s CFSocketRef, address CFDataRef) CFSocketError
CFSocketSetAddress calls the CoreFoundation framework function CFSocketSetAddress.
func CFSocketUnregister ¶
func CFSocketUnregister(nameServerSignature unsafe.Pointer, timeout float64, name CFStringRef) CFSocketError
CFSocketUnregister calls the CoreFoundation framework function CFSocketUnregister.
func (CFSocketError) String ¶
func (e CFSocketError) String() string
String returns the CFSocketError constant's name, or its numeric form when the value is not a known constant.
type CFSocketRef ¶ added in v0.18.0
CFSocketRef is a handle for the opaque CFSocketRef type.
func CFSocketCreate ¶
func CFSocketCreate(allocator CFAllocatorRef, protocolFamily int, socketType int, protocol int, callBackTypes int, callout unsafe.Pointer, context_ unsafe.Pointer) CFSocketRef
CFSocketCreate calls the CoreFoundation framework function CFSocketCreate.
func CFSocketCreateConnectedToSocketSignature ¶
func CFSocketCreateConnectedToSocketSignature(allocator CFAllocatorRef, signature unsafe.Pointer, callBackTypes int, callout unsafe.Pointer, context_ unsafe.Pointer, timeout float64) CFSocketRef
CFSocketCreateConnectedToSocketSignature calls the CoreFoundation framework function CFSocketCreateConnectedToSocketSignature.
func CFSocketCreateWithNative ¶
func CFSocketCreateWithNative(allocator CFAllocatorRef, sock int, callBackTypes int, callout unsafe.Pointer, context_ unsafe.Pointer) CFSocketRef
CFSocketCreateWithNative calls the CoreFoundation framework function CFSocketCreateWithNative.
func CFSocketCreateWithSocketSignature ¶
func CFSocketCreateWithSocketSignature(allocator CFAllocatorRef, signature unsafe.Pointer, callBackTypes int, callout unsafe.Pointer, context_ unsafe.Pointer) CFSocketRef
CFSocketCreateWithSocketSignature calls the CoreFoundation framework function CFSocketCreateWithSocketSignature.
func (CFSocketRef) IsNil ¶ added in v0.18.0
func (h CFSocketRef) IsNil() bool
IsNil reports whether CFSocketRef is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.
type CFSocketSignature ¶
type CFSocketSignature struct {
ProtocolFamily int32
SocketType int32
Protocol int32
Address unsafe.Pointer
}
A structure that fully specifies the communication protocol and connection address of a CFSocket object.
type CFStreamClientContext ¶
type CFStreamClientContext struct {
Version int
Info unsafe.Pointer
Retain unsafe.Pointer
Release unsafe.Pointer
CopyDescription unsafe.Pointer
}
A structure that contains program-defined data and callbacks with which you can configure a stream’s client behavior.
type CFStreamError ¶
The structure returned by CFReadStreamGetError and CFWriteStreamGetError.
func CFReadStreamGetError ¶
func CFReadStreamGetError(stream CFReadStreamRef) CFStreamError
CFReadStreamGetError calls the CoreFoundation framework function CFReadStreamGetError.
func CFWriteStreamGetError ¶
func CFWriteStreamGetError(stream CFWriteStreamRef) CFStreamError
CFWriteStreamGetError calls the CoreFoundation framework function CFWriteStreamGetError.
type CFStreamErrorDomain ¶
type CFStreamErrorDomain int64
Defines constants for values returned in the domain field of the CFStreamError structure.
const ( // The error code is a custom error code. KCFStreamErrorDomainCustom CFStreamErrorDomain = -1 // The error code is an error code defined in errno.h. KCFStreamErrorDomainPOSIX CFStreamErrorDomain = 1 // The error is an OSStatus value defined in MacErrors.h. KCFStreamErrorDomainMacOSStatus CFStreamErrorDomain = 2 )
func (CFStreamErrorDomain) String ¶
func (e CFStreamErrorDomain) String() string
String returns the CFStreamErrorDomain constant's name, or its numeric form when the value is not a known constant.
type CFStreamEventType ¶
type CFStreamEventType uint64
Defines constants for stream-related events. Bitmask — values may be combined with |.
const ( // No event has occurred. KCFStreamEventNone CFStreamEventType = 0 // The open has completed successfully. KCFStreamEventOpenCompleted CFStreamEventType = 1 // The stream has bytes to be read. KCFStreamEventHasBytesAvailable CFStreamEventType = 2 // The stream can accept bytes for writing. KCFStreamEventCanAcceptBytes CFStreamEventType = 4 // An error has occurred on the stream. KCFStreamEventErrorOccurred CFStreamEventType = 8 // The end of the stream has been reached. KCFStreamEventEndEncountered CFStreamEventType = 16 )
func (CFStreamEventType) String ¶
func (e CFStreamEventType) String() string
String returns the CFStreamEventType constant's name, or its numeric form when the value is not a known constant.
type CFStreamStatus ¶
type CFStreamStatus int64
Constants that describe the status of a stream.
const ( // The stream is not open for reading or writing. KCFStreamStatusNotOpen CFStreamStatus = 0 // The stream is being opened for reading or for writing. KCFStreamStatusOpening CFStreamStatus = 1 // The stream is open. KCFStreamStatusOpen CFStreamStatus = 2 // The stream is being read from. KCFStreamStatusReading CFStreamStatus = 3 // The stream is being written to. KCFStreamStatusWriting CFStreamStatus = 4 // There is no more data to read, or no more data can be written. KCFStreamStatusAtEnd CFStreamStatus = 5 // The stream is closed. KCFStreamStatusClosed CFStreamStatus = 6 // An error occurred on the stream. KCFStreamStatusError CFStreamStatus = 7 )
func CFReadStreamGetStatus ¶
func CFReadStreamGetStatus(stream CFReadStreamRef) CFStreamStatus
CFReadStreamGetStatus calls the CoreFoundation framework function CFReadStreamGetStatus.
func CFWriteStreamGetStatus ¶
func CFWriteStreamGetStatus(stream CFWriteStreamRef) CFStreamStatus
CFWriteStreamGetStatus calls the CoreFoundation framework function CFWriteStreamGetStatus.
func (CFStreamStatus) String ¶
func (e CFStreamStatus) String() string
String returns the CFStreamStatus constant's name, or its numeric form when the value is not a known constant.
type CFStringBuiltInEncodings ¶
type CFStringBuiltInEncodings uint32
Encodings that are built-in on all platforms on which macOS runs.
const ( // An encoding constant that identifies the Mac Roman encoding. KCFStringEncodingMacRoman CFStringBuiltInEncodings = 0 // An encoding constant that identifies the Windows Latin 1 encoding (ANSI codepage 1252). KCFStringEncodingWindowsLatin1 CFStringBuiltInEncodings = 1280 // An encoding constant that identifies the ISO Latin 1 encoding (ISO 8859-1) KCFStringEncodingISOLatin1 CFStringBuiltInEncodings = 513 // An encoding constant that identifies the NextStep/OpenStep encoding. KCFStringEncodingNextStepLatin CFStringBuiltInEncodings = 2817 // An encoding constant that identifies the ASCII encoding (decimal values 0 through 127). KCFStringEncodingASCII CFStringBuiltInEncodings = 1536 // An encoding constant that identifies the Unicode encoding. KCFStringEncodingUnicode CFStringBuiltInEncodings = 256 // An encoding constant that identifies the UTF 8 encoding. KCFStringEncodingUTF8 CFStringBuiltInEncodings = 134217984 // An encoding constant that identifies non-lossy ASCII encoding. KCFStringEncodingNonLossyASCII CFStringBuiltInEncodings = 3071 // An encoding constant that identifies kTextEncodingUnicodeDefault + kUnicodeUTF16Format encoding (alias of kCFStringEncodingUnicode). KCFStringEncodingUTF16 CFStringBuiltInEncodings = 256 // An encoding constant that identifies kTextEncodingUnicodeDefault + kUnicodeUTF16BEFormat encoding. This constant specifies big-endian byte order. KCFStringEncodingUTF16BE CFStringBuiltInEncodings = 268435712 // An encoding constant that identifies kTextEncodingUnicodeDefault + kUnicodeUTF16LEFormat encoding. This constant specifies little-endian byte order. KCFStringEncodingUTF16LE CFStringBuiltInEncodings = 335544576 // An encoding constant that identifies kTextEncodingUnicodeDefault + kUnicodeUTF32Format encoding. KCFStringEncodingUTF32 CFStringBuiltInEncodings = 201326848 // An encoding constant that identifies kTextEncodingUnicodeDefault + kUnicodeUTF32BEFormat encoding. This constant specifies big-endian byte order. KCFStringEncodingUTF32BE CFStringBuiltInEncodings = 402653440 // An encoding constant that identifies kTextEncodingUnicodeDefault + kUnicodeUTF32LEFormat encoding. This constant specifies little-endian byte order. KCFStringEncodingUTF32LE CFStringBuiltInEncodings = 469762304 )
func (CFStringBuiltInEncodings) String ¶
func (e CFStringBuiltInEncodings) String() string
String returns the CFStringBuiltInEncodings constant's name, or its numeric form when the value is not a known constant.
type CFStringCompareFlags ¶
type CFStringCompareFlags uint64
A CFOptionFlags type for specifying options for string comparison . Bitmask — values may be combined with |.
const ( // Specifies that the comparison should ignore differences in case between alphabetical characters. KCFCompareCaseInsensitive CFStringCompareFlags = 1 // Specifies that the comparison should start at the last elements of the entities being compared (for example, strings or arrays). KCFCompareBackwards CFStringCompareFlags = 4 // Performs searching only on characters at the beginning or end of the range. KCFCompareAnchored CFStringCompareFlags = 8 // Specifies that loose equivalence is acceptable, especially as pertains to diacritical marks. KCFCompareNonliteral CFStringCompareFlags = 16 // Specifies that the comparison should take into account differences related to locale, such as the thousands separator character. KCFCompareLocalized CFStringCompareFlags = 32 // Specifies that represented numeric values should be used as the basis for comparison and not the actual character values. KCFCompareNumerically CFStringCompareFlags = 64 // Specifies that the comparison should ignore diacritic markers. KCFCompareDiacriticInsensitive CFStringCompareFlags = 128 // Specifies that the comparison should ignore width differences. KCFCompareWidthInsensitive CFStringCompareFlags = 256 // Specifies that the comparison is forced to return either kCFCompareLessThan or kCFCompareGreaterThan if the strings are equivalent but not strictly equal. KCFCompareForcedOrdering CFStringCompareFlags = 512 )
func (CFStringCompareFlags) String ¶
func (e CFStringCompareFlags) String() string
String returns the CFStringCompareFlags constant's name, or its numeric form when the value is not a known constant.
type CFStringEncodings ¶
type CFStringEncodings int64
Index type for constants used to specify external string encodings.
const ( KCFStringEncodingMacJapanese CFStringEncodings = 1 KCFStringEncodingMacChineseTrad CFStringEncodings = 2 KCFStringEncodingMacKorean CFStringEncodings = 3 KCFStringEncodingMacArabic CFStringEncodings = 4 KCFStringEncodingMacHebrew CFStringEncodings = 5 KCFStringEncodingMacGreek CFStringEncodings = 6 KCFStringEncodingMacCyrillic CFStringEncodings = 7 KCFStringEncodingMacDevanagari CFStringEncodings = 9 KCFStringEncodingMacGurmukhi CFStringEncodings = 10 KCFStringEncodingMacGujarati CFStringEncodings = 11 KCFStringEncodingMacOriya CFStringEncodings = 12 KCFStringEncodingMacBengali CFStringEncodings = 13 KCFStringEncodingMacTamil CFStringEncodings = 14 KCFStringEncodingMacTelugu CFStringEncodings = 15 KCFStringEncodingMacKannada CFStringEncodings = 16 KCFStringEncodingMacMalayalam CFStringEncodings = 17 KCFStringEncodingMacSinhalese CFStringEncodings = 18 KCFStringEncodingMacBurmese CFStringEncodings = 19 KCFStringEncodingMacKhmer CFStringEncodings = 20 KCFStringEncodingMacThai CFStringEncodings = 21 KCFStringEncodingMacLaotian CFStringEncodings = 22 KCFStringEncodingMacGeorgian CFStringEncodings = 23 KCFStringEncodingMacArmenian CFStringEncodings = 24 KCFStringEncodingMacChineseSimp CFStringEncodings = 25 KCFStringEncodingMacTibetan CFStringEncodings = 26 KCFStringEncodingMacMongolian CFStringEncodings = 27 KCFStringEncodingMacEthiopic CFStringEncodings = 28 KCFStringEncodingMacCentralEurRoman CFStringEncodings = 29 KCFStringEncodingMacVietnamese CFStringEncodings = 30 KCFStringEncodingMacExtArabic CFStringEncodings = 31 KCFStringEncodingMacSymbol CFStringEncodings = 33 KCFStringEncodingMacDingbats CFStringEncodings = 34 KCFStringEncodingMacTurkish CFStringEncodings = 35 KCFStringEncodingMacCroatian CFStringEncodings = 36 KCFStringEncodingMacIcelandic CFStringEncodings = 37 KCFStringEncodingMacRomanian CFStringEncodings = 38 KCFStringEncodingMacCeltic CFStringEncodings = 39 KCFStringEncodingMacGaelic CFStringEncodings = 40 // Like MacArabic but uses Farsi digits. KCFStringEncodingMacFarsi CFStringEncodings = 140 KCFStringEncodingMacUkrainian CFStringEncodings = 152 KCFStringEncodingMacInuit CFStringEncodings = 236 // VT100102 font from Comm Toolbox: Latin-1 repertoire + box drawing etc. KCFStringEncodingMacVT100 CFStringEncodings = 252 // Meta-value, should never appear in a table. KCFStringEncodingMacHFS CFStringEncodings = 255 // ISO 8859-2. KCFStringEncodingISOLatin2 CFStringEncodings = 514 // ISO 8859-3. KCFStringEncodingISOLatin3 CFStringEncodings = 515 // ISO 8859-4. KCFStringEncodingISOLatin4 CFStringEncodings = 516 // ISO 8859-5. KCFStringEncodingISOLatinCyrillic CFStringEncodings = 517 // ISO 8859-6, =ASMO 708, =DOS CP 708. KCFStringEncodingISOLatinArabic CFStringEncodings = 518 // ISO 8859-7. KCFStringEncodingISOLatinGreek CFStringEncodings = 519 // ISO 8859-8. KCFStringEncodingISOLatinHebrew CFStringEncodings = 520 // ISO 8859-9. KCFStringEncodingISOLatin5 CFStringEncodings = 521 // ISO 8859-10. KCFStringEncodingISOLatin6 CFStringEncodings = 522 // ISO 8859-11. KCFStringEncodingISOLatinThai CFStringEncodings = 523 // ISO 8859-13. KCFStringEncodingISOLatin7 CFStringEncodings = 525 // ISO 8859-14. KCFStringEncodingISOLatin8 CFStringEncodings = 526 // ISO 8859-15. KCFStringEncodingISOLatin9 CFStringEncodings = 527 // ISO 8859-16. KCFStringEncodingISOLatin10 CFStringEncodings = 528 // Code page 437. KCFStringEncodingDOSLatinUS CFStringEncodings = 1024 // Code page 737 (formerly code page 437G). KCFStringEncodingDOSGreek CFStringEncodings = 1029 // Code page 775. KCFStringEncodingDOSBalticRim CFStringEncodings = 1030 // Code page 850, “Multilingual”. KCFStringEncodingDOSLatin1 CFStringEncodings = 1040 // Code page 851. KCFStringEncodingDOSGreek1 CFStringEncodings = 1041 // Code page 852, Slavic. KCFStringEncodingDOSLatin2 CFStringEncodings = 1042 // Code page 855, IBM Cyrillic. KCFStringEncodingDOSCyrillic CFStringEncodings = 1043 // Code page 857, IBM Turkish. KCFStringEncodingDOSTurkish CFStringEncodings = 1044 // Code page 860. KCFStringEncodingDOSPortuguese CFStringEncodings = 1045 // Code page 861. KCFStringEncodingDOSIcelandic CFStringEncodings = 1046 // Code page 862. KCFStringEncodingDOSHebrew CFStringEncodings = 1047 // Code page 863. KCFStringEncodingDOSCanadianFrench CFStringEncodings = 1048 // Code page 864. KCFStringEncodingDOSArabic CFStringEncodings = 1049 // Code page 865. KCFStringEncodingDOSNordic CFStringEncodings = 1050 // Code page 866. KCFStringEncodingDOSRussian CFStringEncodings = 1051 // Code page 869, IBM Modern Greek. KCFStringEncodingDOSGreek2 CFStringEncodings = 1052 // Code page 874, also for Windows. KCFStringEncodingDOSThai CFStringEncodings = 1053 // Code page 932, also for Windows. KCFStringEncodingDOSJapanese CFStringEncodings = 1056 // Code page 936, also for Windows. KCFStringEncodingDOSChineseSimplif CFStringEncodings = 1057 // Code page 949, also for Windows; Unified Hangul Code. KCFStringEncodingDOSKorean CFStringEncodings = 1058 // Code page 950, also for Windows. KCFStringEncodingDOSChineseTrad CFStringEncodings = 1059 // Code page 1250, Central Europe. KCFStringEncodingWindowsLatin2 CFStringEncodings = 1281 // Code page 1251, Slavic Cyrillic. KCFStringEncodingWindowsCyrillic CFStringEncodings = 1282 // Code page 1253. KCFStringEncodingWindowsGreek CFStringEncodings = 1283 // Code page 1254, Turkish. KCFStringEncodingWindowsLatin5 CFStringEncodings = 1284 // Code page 1255. KCFStringEncodingWindowsHebrew CFStringEncodings = 1285 // Code page 1256. KCFStringEncodingWindowsArabic CFStringEncodings = 1286 // Code page 1257. KCFStringEncodingWindowsBalticRim CFStringEncodings = 1287 // Code page 1258. KCFStringEncodingWindowsVietnamese CFStringEncodings = 1288 // Code page 1361, for Windows NT. KCFStringEncodingWindowsKoreanJohab CFStringEncodings = 1296 // ANSEL (ANSI Z39.47). KCFStringEncodingANSEL CFStringEncodings = 1537 KCFStringEncodingJIS_X0201_76 CFStringEncodings = 1568 KCFStringEncodingJIS_X0208_83 CFStringEncodings = 1569 KCFStringEncodingJIS_X0208_90 CFStringEncodings = 1570 KCFStringEncodingJIS_X0212_90 CFStringEncodings = 1571 KCFStringEncodingJIS_C6226_78 CFStringEncodings = 1572 // Shift-JIS format encoding of JIS X0213 planes 1 and 2. KCFStringEncodingShiftJIS_X0213 CFStringEncodings = 1576 // JIS X0213 in plane-row-column notation. KCFStringEncodingShiftJIS_X0213_MenKuTen CFStringEncodings = 1577 KCFStringEncodingGB_2312_80 CFStringEncodings = 1584 // Annex to GB 13000-93; for Windows 95. KCFStringEncodingGBK_95 CFStringEncodings = 1585 KCFStringEncodingGB_18030_2000 CFStringEncodings = 1586 // Same as KSC 5601-92 without Johab annex. KCFStringEncodingKSC_5601_87 CFStringEncodings = 1600 // KSC 5601-92 Johab annex. KCFStringEncodingKSC_5601_92_Johab CFStringEncodings = 1601 // CNS 11643-1992 plane 1. KCFStringEncodingCNS_11643_92_P1 CFStringEncodings = 1617 // CNS 11643-1992 plane 2. KCFStringEncodingCNS_11643_92_P2 CFStringEncodings = 1618 // CNS 11643-1992 plane 3 (was plane 14 in 1986 version). KCFStringEncodingCNS_11643_92_P3 CFStringEncodings = 1619 KCFStringEncodingISO_2022_JP CFStringEncodings = 2080 KCFStringEncodingISO_2022_JP_2 CFStringEncodings = 2081 // RFC 2237. KCFStringEncodingISO_2022_JP_1 CFStringEncodings = 2082 // JIS X0213. KCFStringEncodingISO_2022_JP_3 CFStringEncodings = 2083 KCFStringEncodingISO_2022_CN CFStringEncodings = 2096 KCFStringEncodingISO_2022_CN_EXT CFStringEncodings = 2097 KCFStringEncodingISO_2022_KR CFStringEncodings = 2112 // ISO 646, 1-byte katakana, JIS 208, JIS 212. KCFStringEncodingEUC_JP CFStringEncodings = 2336 // ISO 646, GB 2312-80. KCFStringEncodingEUC_CN CFStringEncodings = 2352 // ISO 646, CNS 11643-1992 Planes 1-16. KCFStringEncodingEUC_TW CFStringEncodings = 2353 // ISO 646, KS C 5601-1987. KCFStringEncodingEUC_KR CFStringEncodings = 2368 // Plain Shift-JIS. KCFStringEncodingShiftJIS CFStringEncodings = 2561 // Russian internet standard. KCFStringEncodingKOI8_R CFStringEncodings = 2562 // Big-5 (has variants) KCFStringEncodingBig5 CFStringEncodings = 2563 // Mac OS Roman permuted to align with ISO Latin-1. KCFStringEncodingMacRomanLatin1 CFStringEncodings = 2564 // HZ (RFC 1842, for Chinese mail & news). KCFStringEncodingHZ_GB_2312 CFStringEncodings = 2565 // Big-5 with Hong Kong special char set supplement. KCFStringEncodingBig5_HKSCS_1999 CFStringEncodings = 2566 // RFC 1456, Vietnamese. KCFStringEncodingVISCII CFStringEncodings = 2567 // RFC 2319, Ukrainian. KCFStringEncodingKOI8_U CFStringEncodings = 2568 // Taiwan Big-5E standard. KCFStringEncodingBig5_E CFStringEncodings = 2569 // NextStep Japanese encoding. KCFStringEncodingNextStepJapanese CFStringEncodings = 2818 // basic EBCDIC-US KCFStringEncodingEBCDIC_US CFStringEncodings = 3073 // code page 037, extended EBCDIC (Latin-1 set) for US, Canada. KCFStringEncodingEBCDIC_CP037 CFStringEncodings = 3074 // kTextEncodingUnicodeDefault + kUnicodeUTF7Format RFC2152. KCFStringEncodingUTF7 CFStringEncodings = 67109120 // UTF-7 (IMAP folder variant) RFC3501. KCFStringEncodingUTF7_IMAP CFStringEncodings = 2576 // Shift-JIS format encoding of JIS X0213 planes 1 and 2. KCFStringEncodingShiftJIS_X0213_00 CFStringEncodings = 1576 )
func (CFStringEncodings) String ¶
func (e CFStringEncodings) String() string
String returns the CFStringEncodings constant's name, or its numeric form when the value is not a known constant.
type CFStringInlineBuffer ¶
type CFStringInlineBuffer struct {
Buffer [64]uint16
TheString unsafe.Pointer
DirectUniCharBuffer unsafe.Pointer
DirectCStringBuffer unsafe.Pointer
RangeToBuffer CFRange
BufferedRangeStart int
BufferedRangeEnd int
}
Defines the buffer and related fields used for in-line buffer access of characters in CFString objects.
type CFStringNormalizationForm ¶
type CFStringNormalizationForm int64
Unicode normalization forms as described in Unicode Technical Report #15.
const ( // Canonical decomposition. KCFStringNormalizationFormD CFStringNormalizationForm = 0 // Compatibility decomposition. KCFStringNormalizationFormKD CFStringNormalizationForm = 1 // Canonical decomposition followed by canonical composition. KCFStringNormalizationFormC CFStringNormalizationForm = 2 // Compatibility decomposition followed by canonical composition. KCFStringNormalizationFormKC CFStringNormalizationForm = 3 )
func (CFStringNormalizationForm) String ¶
func (e CFStringNormalizationForm) String() string
String returns the CFStringNormalizationForm constant's name, or its numeric form when the value is not a known constant.
type CFStringRef ¶ added in v0.18.0
CFStringRef is a handle for the opaque CFStringRef type.
func CFAttributedStringGetString ¶
func CFAttributedStringGetString(aStr CFAttributedStringRef) CFStringRef
CFAttributedStringGetString calls the CoreFoundation framework function CFAttributedStringGetString.
func CFBundleCopyLocalizedString ¶
func CFBundleCopyLocalizedString(bundle CFBundleRef, key CFStringRef, value CFStringRef, tableName CFStringRef) CFStringRef
CFBundleCopyLocalizedString calls the CoreFoundation framework function CFBundleCopyLocalizedString.
func CFBundleCopyLocalizedStringForLocalizations ¶
func CFBundleCopyLocalizedStringForLocalizations(bundle CFBundleRef, key CFStringRef, value CFStringRef, tableName CFStringRef, localizations CFArrayRef) CFStringRef
CFBundleCopyLocalizedStringForLocalizations calls the CoreFoundation framework function CFBundleCopyLocalizedStringForLocalizations.
func CFBundleGetDevelopmentRegion ¶
func CFBundleGetDevelopmentRegion(bundle CFBundleRef) CFStringRef
CFBundleGetDevelopmentRegion calls the CoreFoundation framework function CFBundleGetDevelopmentRegion.
func CFBundleGetIdentifier ¶
func CFBundleGetIdentifier(bundle CFBundleRef) CFStringRef
CFBundleGetIdentifier calls the CoreFoundation framework function CFBundleGetIdentifier.
func CFCopyDescription ¶
func CFCopyDescription(cf obj.Object) CFStringRef
CFCopyDescription calls the CoreFoundation framework function CFCopyDescription.
func CFCopyTypeIDDescription ¶
func CFCopyTypeIDDescription(typeId int) CFStringRef
CFCopyTypeIDDescription calls the CoreFoundation framework function CFCopyTypeIDDescription.
func CFDateFormatterCreateDateFormatFromTemplate ¶
func CFDateFormatterCreateDateFormatFromTemplate(allocator CFAllocatorRef, tmplate CFStringRef, options int, locale CFLocaleRef) CFStringRef
CFDateFormatterCreateDateFormatFromTemplate calls the CoreFoundation framework function CFDateFormatterCreateDateFormatFromTemplate.
func CFDateFormatterCreateStringWithAbsoluteTime ¶
func CFDateFormatterCreateStringWithAbsoluteTime(allocator CFAllocatorRef, formatter CFDateFormatterRef, at float64) CFStringRef
CFDateFormatterCreateStringWithAbsoluteTime calls the CoreFoundation framework function CFDateFormatterCreateStringWithAbsoluteTime.
func CFDateFormatterCreateStringWithDate ¶
func CFDateFormatterCreateStringWithDate(allocator CFAllocatorRef, formatter CFDateFormatterRef, date CFDateRef) CFStringRef
CFDateFormatterCreateStringWithDate calls the CoreFoundation framework function CFDateFormatterCreateStringWithDate.
func CFDateFormatterGetFormat ¶
func CFDateFormatterGetFormat(formatter CFDateFormatterRef) CFStringRef
CFDateFormatterGetFormat calls the CoreFoundation framework function CFDateFormatterGetFormat.
func CFErrorCopyDescription ¶
func CFErrorCopyDescription(err CFErrorRef) CFStringRef
CFErrorCopyDescription calls the CoreFoundation framework function CFErrorCopyDescription.
func CFErrorCopyFailureReason ¶
func CFErrorCopyFailureReason(err CFErrorRef) CFStringRef
CFErrorCopyFailureReason calls the CoreFoundation framework function CFErrorCopyFailureReason.
func CFErrorCopyRecoverySuggestion ¶
func CFErrorCopyRecoverySuggestion(err CFErrorRef) CFStringRef
CFErrorCopyRecoverySuggestion calls the CoreFoundation framework function CFErrorCopyRecoverySuggestion.
func CFLocaleCopyDisplayNameForPropertyValue ¶
func CFLocaleCopyDisplayNameForPropertyValue(displayLocale CFLocaleRef, key unsafe.Pointer, value CFStringRef) CFStringRef
CFLocaleCopyDisplayNameForPropertyValue calls the CoreFoundation framework function CFLocaleCopyDisplayNameForPropertyValue.
func CFMessagePortGetName ¶
func CFMessagePortGetName(ms CFMessagePortRef) CFStringRef
CFMessagePortGetName calls the CoreFoundation framework function CFMessagePortGetName.
func CFNumberFormatterCreateStringWithNumber ¶
func CFNumberFormatterCreateStringWithNumber(allocator CFAllocatorRef, formatter CFNumberFormatterRef, number CFNumberRef) CFStringRef
CFNumberFormatterCreateStringWithNumber calls the CoreFoundation framework function CFNumberFormatterCreateStringWithNumber.
func CFNumberFormatterCreateStringWithValue ¶
func CFNumberFormatterCreateStringWithValue(allocator CFAllocatorRef, formatter CFNumberFormatterRef, numberType CFNumberType, valuePtr unsafe.Pointer) CFStringRef
CFNumberFormatterCreateStringWithValue calls the CoreFoundation framework function CFNumberFormatterCreateStringWithValue.
func CFNumberFormatterGetFormat ¶
func CFNumberFormatterGetFormat(formatter CFNumberFormatterRef) CFStringRef
CFNumberFormatterGetFormat calls the CoreFoundation framework function CFNumberFormatterGetFormat.
func CFPlugInInstanceGetFactoryName ¶
func CFPlugInInstanceGetFactoryName(instance CFPlugInInstanceRef) CFStringRef
CFPlugInInstanceGetFactoryName calls the CoreFoundation framework function CFPlugInInstanceGetFactoryName.
func CFStringConvertEncodingToIANACharSetName ¶
func CFStringConvertEncodingToIANACharSetName(encoding int) CFStringRef
CFStringConvertEncodingToIANACharSetName calls the CoreFoundation framework function CFStringConvertEncodingToIANACharSetName.
func CFStringCreateByCombiningStrings ¶
func CFStringCreateByCombiningStrings(alloc CFAllocatorRef, theArray CFArrayRef, separatorString CFStringRef) CFStringRef
CFStringCreateByCombiningStrings calls the CoreFoundation framework function CFStringCreateByCombiningStrings.
func CFStringCreateCopy ¶
func CFStringCreateCopy(alloc CFAllocatorRef, theString CFStringRef) CFStringRef
CFStringCreateCopy calls the CoreFoundation framework function CFStringCreateCopy.
func CFStringCreateFromExternalRepresentation ¶
func CFStringCreateFromExternalRepresentation(alloc CFAllocatorRef, data CFDataRef, encoding int) CFStringRef
CFStringCreateFromExternalRepresentation calls the CoreFoundation framework function CFStringCreateFromExternalRepresentation.
func CFStringCreateWithBytes ¶
func CFStringCreateWithBytes(alloc CFAllocatorRef, data unsafe.Pointer, numBytes int, encoding int, isExternalRepresentation uint8) CFStringRef
CFStringCreateWithBytes calls the CoreFoundation framework function CFStringCreateWithBytes.
func CFStringCreateWithBytesNoCopy ¶
func CFStringCreateWithBytesNoCopy(alloc CFAllocatorRef, data unsafe.Pointer, numBytes int, encoding int, isExternalRepresentation uint8, contentsDeallocator CFAllocatorRef) CFStringRef
CFStringCreateWithBytesNoCopy calls the CoreFoundation framework function CFStringCreateWithBytesNoCopy.
func CFStringCreateWithCString ¶
func CFStringCreateWithCString(alloc CFAllocatorRef, cStr string, encoding int) CFStringRef
CFStringCreateWithCString calls the CoreFoundation framework function CFStringCreateWithCString.
func CFStringCreateWithCStringNoCopy ¶
func CFStringCreateWithCStringNoCopy(alloc CFAllocatorRef, cStr string, encoding int, contentsDeallocator CFAllocatorRef) CFStringRef
CFStringCreateWithCStringNoCopy calls the CoreFoundation framework function CFStringCreateWithCStringNoCopy.
func CFStringCreateWithCharacters ¶
func CFStringCreateWithCharacters(alloc CFAllocatorRef, chars unsafe.Pointer, numChars int) CFStringRef
CFStringCreateWithCharacters calls the CoreFoundation framework function CFStringCreateWithCharacters.
func CFStringCreateWithCharactersNoCopy ¶
func CFStringCreateWithCharactersNoCopy(alloc CFAllocatorRef, chars unsafe.Pointer, numChars int, contentsDeallocator CFAllocatorRef) CFStringRef
CFStringCreateWithCharactersNoCopy calls the CoreFoundation framework function CFStringCreateWithCharactersNoCopy.
func CFStringCreateWithFileSystemRepresentation ¶
func CFStringCreateWithFileSystemRepresentation(alloc CFAllocatorRef, buffer string) CFStringRef
CFStringCreateWithFileSystemRepresentation calls the CoreFoundation framework function CFStringCreateWithFileSystemRepresentation.
func CFStringCreateWithFormat ¶
func CFStringCreateWithFormat(alloc CFAllocatorRef, formatOptions CFDictionaryRef, format CFStringRef) CFStringRef
CFStringCreateWithFormat calls the CoreFoundation framework function CFStringCreateWithFormat.
func CFStringCreateWithFormatAndArguments ¶
func CFStringCreateWithFormatAndArguments(alloc CFAllocatorRef, formatOptions CFDictionaryRef, format CFStringRef, arguments string) CFStringRef
CFStringCreateWithFormatAndArguments calls the CoreFoundation framework function CFStringCreateWithFormatAndArguments.
func CFStringCreateWithPascalString ¶
func CFStringCreateWithPascalString(alloc CFAllocatorRef, encoding int) (result CFStringRef, pStr uint8)
CFStringCreateWithPascalString calls the CoreFoundation framework function CFStringCreateWithPascalString.
func CFStringCreateWithPascalStringNoCopy ¶
func CFStringCreateWithPascalStringNoCopy(alloc CFAllocatorRef, encoding int, contentsDeallocator CFAllocatorRef) (result CFStringRef, pStr uint8)
CFStringCreateWithPascalStringNoCopy calls the CoreFoundation framework function CFStringCreateWithPascalStringNoCopy.
func CFStringCreateWithSubstring ¶
func CFStringCreateWithSubstring(alloc CFAllocatorRef, str CFStringRef, range_ CFRange) CFStringRef
CFStringCreateWithSubstring calls the CoreFoundation framework function CFStringCreateWithSubstring.
func CFStringGetNameOfEncoding ¶
func CFStringGetNameOfEncoding(encoding int) CFStringRef
CFStringGetNameOfEncoding calls the CoreFoundation framework function CFStringGetNameOfEncoding.
func CFStringMakeConstantString ¶
func CFStringMakeConstantString(cStr string) CFStringRef
CFStringMakeConstantString calls the CoreFoundation framework function __CFStringMakeConstantString.
func CFStringTokenizerCopyBestStringLanguage ¶
func CFStringTokenizerCopyBestStringLanguage(str CFStringRef, range_ CFRange) CFStringRef
CFStringTokenizerCopyBestStringLanguage calls the CoreFoundation framework function CFStringTokenizerCopyBestStringLanguage.
func CFTimeZoneCopyAbbreviation ¶
func CFTimeZoneCopyAbbreviation(tz CFTimeZoneRef, at float64) CFStringRef
CFTimeZoneCopyAbbreviation calls the CoreFoundation framework function CFTimeZoneCopyAbbreviation.
func CFTimeZoneCopyLocalizedName ¶
func CFTimeZoneCopyLocalizedName(tz CFTimeZoneRef, style CFTimeZoneNameStyle, locale CFLocaleRef) CFStringRef
CFTimeZoneCopyLocalizedName calls the CoreFoundation framework function CFTimeZoneCopyLocalizedName.
func CFTimeZoneGetName ¶
func CFTimeZoneGetName(tz CFTimeZoneRef) CFStringRef
CFTimeZoneGetName calls the CoreFoundation framework function CFTimeZoneGetName.
func CFURLCopyFileSystemPath ¶
func CFURLCopyFileSystemPath(anURL CFURLRef, pathStyle CFURLPathStyle) CFStringRef
CFURLCopyFileSystemPath calls the CoreFoundation framework function CFURLCopyFileSystemPath.
func CFURLCopyFragment ¶
func CFURLCopyFragment(anURL CFURLRef, charactersToLeaveEscaped CFStringRef) CFStringRef
CFURLCopyFragment calls the CoreFoundation framework function CFURLCopyFragment.
func CFURLCopyHostName ¶
func CFURLCopyHostName(anURL CFURLRef) CFStringRef
CFURLCopyHostName calls the CoreFoundation framework function CFURLCopyHostName.
func CFURLCopyLastPathComponent ¶
func CFURLCopyLastPathComponent(url CFURLRef) CFStringRef
CFURLCopyLastPathComponent calls the CoreFoundation framework function CFURLCopyLastPathComponent.
func CFURLCopyNetLocation ¶
func CFURLCopyNetLocation(anURL CFURLRef) CFStringRef
CFURLCopyNetLocation calls the CoreFoundation framework function CFURLCopyNetLocation.
func CFURLCopyParameterString ¶
func CFURLCopyParameterString(anURL CFURLRef, charactersToLeaveEscaped CFStringRef) CFStringRef
CFURLCopyParameterString calls the CoreFoundation framework function CFURLCopyParameterString.
func CFURLCopyPassword ¶
func CFURLCopyPassword(anURL CFURLRef) CFStringRef
CFURLCopyPassword calls the CoreFoundation framework function CFURLCopyPassword.
func CFURLCopyPath ¶
func CFURLCopyPath(anURL CFURLRef) CFStringRef
CFURLCopyPath calls the CoreFoundation framework function CFURLCopyPath.
func CFURLCopyPathExtension ¶
func CFURLCopyPathExtension(url CFURLRef) CFStringRef
CFURLCopyPathExtension calls the CoreFoundation framework function CFURLCopyPathExtension.
func CFURLCopyQueryString ¶
func CFURLCopyQueryString(anURL CFURLRef, charactersToLeaveEscaped CFStringRef) CFStringRef
CFURLCopyQueryString calls the CoreFoundation framework function CFURLCopyQueryString.
func CFURLCopyResourceSpecifier ¶
func CFURLCopyResourceSpecifier(anURL CFURLRef) CFStringRef
CFURLCopyResourceSpecifier calls the CoreFoundation framework function CFURLCopyResourceSpecifier.
func CFURLCopyScheme ¶
func CFURLCopyScheme(anURL CFURLRef) CFStringRef
CFURLCopyScheme calls the CoreFoundation framework function CFURLCopyScheme.
func CFURLCopyStrictPath ¶
func CFURLCopyStrictPath(anURL CFURLRef) (result CFStringRef, isAbsolute uint8)
CFURLCopyStrictPath calls the CoreFoundation framework function CFURLCopyStrictPath.
func CFURLCopyUserName ¶
func CFURLCopyUserName(anURL CFURLRef) CFStringRef
CFURLCopyUserName calls the CoreFoundation framework function CFURLCopyUserName.
func CFURLCreateStringByAddingPercentEscapes ¶
func CFURLCreateStringByAddingPercentEscapes(allocator CFAllocatorRef, originalString CFStringRef, charactersToLeaveUnescaped CFStringRef, legalURLCharactersToBeEscaped CFStringRef, encoding int) CFStringRef
CFURLCreateStringByAddingPercentEscapes calls the CoreFoundation framework function CFURLCreateStringByAddingPercentEscapes.
func CFURLCreateStringByReplacingPercentEscapes ¶
func CFURLCreateStringByReplacingPercentEscapes(allocator CFAllocatorRef, originalString CFStringRef, charactersToLeaveEscaped CFStringRef) CFStringRef
CFURLCreateStringByReplacingPercentEscapes calls the CoreFoundation framework function CFURLCreateStringByReplacingPercentEscapes.
func CFURLCreateStringByReplacingPercentEscapesUsingEncoding ¶
func CFURLCreateStringByReplacingPercentEscapesUsingEncoding(allocator CFAllocatorRef, origString CFStringRef, charsToLeaveEscaped CFStringRef, encoding int) CFStringRef
CFURLCreateStringByReplacingPercentEscapesUsingEncoding calls the CoreFoundation framework function CFURLCreateStringByReplacingPercentEscapesUsingEncoding.
func CFURLGetString ¶
func CFURLGetString(anURL CFURLRef) CFStringRef
CFURLGetString calls the CoreFoundation framework function CFURLGetString.
func CFUUIDCreateString ¶
func CFUUIDCreateString(alloc CFAllocatorRef, uuid CFUUIDRef) CFStringRef
CFUUIDCreateString calls the CoreFoundation framework function CFUUIDCreateString.
func CFUserNotificationGetResponseValue ¶
func CFUserNotificationGetResponseValue(userNotification CFUserNotificationRef, key CFStringRef, idx int) CFStringRef
CFUserNotificationGetResponseValue calls the CoreFoundation framework function CFUserNotificationGetResponseValue.
func CFXMLCreateStringByEscapingEntities ¶
func CFXMLCreateStringByEscapingEntities(allocator CFAllocatorRef, str CFStringRef, entitiesDictionary CFDictionaryRef) CFStringRef
CFXMLCreateStringByEscapingEntities calls the CoreFoundation framework function CFXMLCreateStringByEscapingEntities.
func CFXMLCreateStringByUnescapingEntities ¶
func CFXMLCreateStringByUnescapingEntities(allocator CFAllocatorRef, str CFStringRef, entitiesDictionary CFDictionaryRef) CFStringRef
CFXMLCreateStringByUnescapingEntities calls the CoreFoundation framework function CFXMLCreateStringByUnescapingEntities.
func CFXMLNodeGetString ¶
func CFXMLNodeGetString(node CFXMLNodeRef) CFStringRef
CFXMLNodeGetString calls the CoreFoundation framework function CFXMLNodeGetString.
func CFXMLParserCopyErrorDescription ¶
func CFXMLParserCopyErrorDescription(parser CFXMLParserRef) CFStringRef
CFXMLParserCopyErrorDescription calls the CoreFoundation framework function CFXMLParserCopyErrorDescription.
func (CFStringRef) IsNil ¶ added in v0.18.0
func (h CFStringRef) IsNil() bool
IsNil reports whether CFStringRef is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.
type CFStringTokenizer ¶
type CFStringTokenizer struct{}
type CFStringTokenizerRef ¶ added in v0.18.0
CFStringTokenizerRef is a handle for the opaque CFStringTokenizerRef type.
func CFStringTokenizerCreate ¶
func CFStringTokenizerCreate(alloc CFAllocatorRef, str CFStringRef, range_ CFRange, options int, locale CFLocaleRef) CFStringTokenizerRef
CFStringTokenizerCreate calls the CoreFoundation framework function CFStringTokenizerCreate.
func (CFStringTokenizerRef) IsNil ¶ added in v0.18.0
func (h CFStringTokenizerRef) IsNil() bool
IsNil reports whether CFStringTokenizerRef is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.
type CFStringTokenizerTokenType ¶
type CFStringTokenizerTokenType uint64
Token types returned by CFStringTokenizerGoToTokenAtIndex and CFStringTokenizerAdvanceToNextToken. Bitmask — values may be combined with |.
const ( // Has no token. KCFStringTokenizerTokenNone CFStringTokenizerTokenType = 0 // Has a normal token. KCFStringTokenizerTokenNormal CFStringTokenizerTokenType = 1 // Compound token which may contain subtokens but with no derived subtokens. KCFStringTokenizerTokenHasSubTokensMask CFStringTokenizerTokenType = 2 // Compound token which may contain derived subtokens. KCFStringTokenizerTokenHasDerivedSubTokensMask CFStringTokenizerTokenType = 4 // Appears to contain a number. KCFStringTokenizerTokenHasHasNumbersMask CFStringTokenizerTokenType = 8 // Contains punctuation, symbols, and so on. KCFStringTokenizerTokenHasNonLettersMask CFStringTokenizerTokenType = 16 // Contains kana and/or ideographs. KCFStringTokenizerTokenIsCJWordMask CFStringTokenizerTokenType = 32 )
func CFStringTokenizerAdvanceToNextToken ¶
func CFStringTokenizerAdvanceToNextToken(tokenizer CFStringTokenizerRef) CFStringTokenizerTokenType
CFStringTokenizerAdvanceToNextToken calls the CoreFoundation framework function CFStringTokenizerAdvanceToNextToken.
func CFStringTokenizerGoToTokenAtIndex ¶
func CFStringTokenizerGoToTokenAtIndex(tokenizer CFStringTokenizerRef, index int) CFStringTokenizerTokenType
CFStringTokenizerGoToTokenAtIndex calls the CoreFoundation framework function CFStringTokenizerGoToTokenAtIndex.
func (CFStringTokenizerTokenType) String ¶
func (e CFStringTokenizerTokenType) String() string
String returns the CFStringTokenizerTokenType constant's name, or its numeric form when the value is not a known constant.
type CFSwappedFloat32 ¶
type CFSwappedFloat32 struct {
V uint32
}
Structure holding a 32-bit float value in a platform-independentbyte order.
func CFConvertFloat32HostToSwapped ¶
func CFConvertFloat32HostToSwapped(arg float32) CFSwappedFloat32
CFConvertFloat32HostToSwapped calls the CoreFoundation framework function CFConvertFloat32HostToSwapped.
func CFConvertFloatHostToSwapped ¶
func CFConvertFloatHostToSwapped(arg float32) CFSwappedFloat32
CFConvertFloatHostToSwapped calls the CoreFoundation framework function CFConvertFloatHostToSwapped.
type CFSwappedFloat64 ¶
type CFSwappedFloat64 struct {
V uint64
}
Structure holding a 64-bit float value in a platform-independentbyte order.
func CFConvertDoubleHostToSwapped ¶
func CFConvertDoubleHostToSwapped(arg float64) CFSwappedFloat64
CFConvertDoubleHostToSwapped calls the CoreFoundation framework function CFConvertDoubleHostToSwapped.
func CFConvertFloat64HostToSwapped ¶
func CFConvertFloat64HostToSwapped(arg float64) CFSwappedFloat64
CFConvertFloat64HostToSwapped calls the CoreFoundation framework function CFConvertFloat64HostToSwapped.
type CFTimeZone ¶
type CFTimeZone struct{}
type CFTimeZoneNameStyle ¶
type CFTimeZoneNameStyle int64
Index type for constants used to specify styles of time zone names.
const ( // Specifies the standard name style; for example, “Central Standard Time” for the Central time zone. KCFTimeZoneNameStyleStandard CFTimeZoneNameStyle = 0 // Specifies the short standard name style; for example, “CST” for the Central time zone. KCFTimeZoneNameStyleShortStandard CFTimeZoneNameStyle = 1 // Specifies the daylight saving name style; for example, “Central Daylight Time” for the Central time zone. KCFTimeZoneNameStyleDaylightSaving CFTimeZoneNameStyle = 2 // Specifies the short daylight saving name style; for example, “CDT” for the Central time zone. KCFTimeZoneNameStyleShortDaylightSaving CFTimeZoneNameStyle = 3 // Specifies the generic name style, which does not distinguish between daylight saving and standard time; for example, “Central Time” for the Central time zone. KCFTimeZoneNameStyleGeneric CFTimeZoneNameStyle = 4 // Specifies the short generic name style, which does not distinguish between daylight saving and standard time; for example, “CT” for the Central time zone. KCFTimeZoneNameStyleShortGeneric CFTimeZoneNameStyle = 5 )
func (CFTimeZoneNameStyle) String ¶
func (e CFTimeZoneNameStyle) String() string
String returns the CFTimeZoneNameStyle constant's name, or its numeric form when the value is not a known constant.
type CFTimeZoneRef ¶ added in v0.18.0
CFTimeZoneRef is a handle for the opaque CFTimeZoneRef type.
func CFCalendarCopyTimeZone ¶
func CFCalendarCopyTimeZone(calendar CFCalendarRef) CFTimeZoneRef
CFCalendarCopyTimeZone calls the CoreFoundation framework function CFCalendarCopyTimeZone.
func CFTimeZoneCopyDefault ¶
func CFTimeZoneCopyDefault() CFTimeZoneRef
CFTimeZoneCopyDefault calls the CoreFoundation framework function CFTimeZoneCopyDefault.
func CFTimeZoneCopySystem ¶
func CFTimeZoneCopySystem() CFTimeZoneRef
CFTimeZoneCopySystem calls the CoreFoundation framework function CFTimeZoneCopySystem.
func CFTimeZoneCreate ¶
func CFTimeZoneCreate(allocator CFAllocatorRef, name CFStringRef, data CFDataRef) CFTimeZoneRef
CFTimeZoneCreate calls the CoreFoundation framework function CFTimeZoneCreate.
func CFTimeZoneCreateWithName ¶
func CFTimeZoneCreateWithName(allocator CFAllocatorRef, name CFStringRef, tryAbbrev uint8) CFTimeZoneRef
CFTimeZoneCreateWithName calls the CoreFoundation framework function CFTimeZoneCreateWithName.
func CFTimeZoneCreateWithTimeIntervalFromGMT ¶
func CFTimeZoneCreateWithTimeIntervalFromGMT(allocator CFAllocatorRef, ti float64) CFTimeZoneRef
CFTimeZoneCreateWithTimeIntervalFromGMT calls the CoreFoundation framework function CFTimeZoneCreateWithTimeIntervalFromGMT.
func (CFTimeZoneRef) IsNil ¶ added in v0.18.0
func (h CFTimeZoneRef) IsNil() bool
IsNil reports whether CFTimeZoneRef is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.
type CFTreeContext ¶
type CFTreeContext struct {
Version int
Info unsafe.Pointer
Retain unsafe.Pointer
Release unsafe.Pointer
CopyDescription unsafe.Pointer
}
Structure containing program-defined data and callbacks for a CFTree object.
type CFTreeRef ¶ added in v0.18.0
CFTreeRef is a handle for the opaque CFTreeRef type.
func CFTreeCreate ¶
func CFTreeCreate(allocator CFAllocatorRef, context_ unsafe.Pointer) CFTreeRef
CFTreeCreate calls the CoreFoundation framework function CFTreeCreate.
func CFTreeFindRoot ¶
CFTreeFindRoot calls the CoreFoundation framework function CFTreeFindRoot.
func CFTreeGetChildAtIndex ¶
CFTreeGetChildAtIndex calls the CoreFoundation framework function CFTreeGetChildAtIndex.
func CFTreeGetFirstChild ¶
CFTreeGetFirstChild calls the CoreFoundation framework function CFTreeGetFirstChild.
func CFTreeGetNextSibling ¶
CFTreeGetNextSibling calls the CoreFoundation framework function CFTreeGetNextSibling.
func CFTreeGetParent ¶
CFTreeGetParent calls the CoreFoundation framework function CFTreeGetParent.
type CFURLBookmarkCreationOptions ¶
type CFURLBookmarkCreationOptions uint64
Type for bookmark data creation options. Bitmask — values may be combined with |.
const ( // Specifies that an alias created with the bookmark data be created with minimal information, which may make it smaller but still able to resolve in certain ways. KCFURLBookmarkCreationMinimalBookmarkMask CFURLBookmarkCreationOptions = 512 // Specifies that the bookmark data include properties required to create Finder alias files. KCFURLBookmarkCreationSuitableForBookmarkFile CFURLBookmarkCreationOptions = 1024 // Specifies that you want to create a security-scoped bookmark that, when resolved, provides a security-scoped URL allowing read/write access to a file-system resource; for use in an app that adopts App Sandbox. KCFURLBookmarkCreationWithSecurityScope CFURLBookmarkCreationOptions = 2048 // When combined with the kCFURLBookmarkCreationWithSecurityScope option, specifies that you want to create a security-scoped bookmark that, when resolved, provides a security-scoped URL allowing read-only access to a file-system resource; for use in an app that adopts App Sandbox. KCFURLBookmarkCreationSecurityScopeAllowOnlyReadAccess CFURLBookmarkCreationOptions = 4096 KCFURLBookmarkCreationWithoutImplicitSecurityScope CFURLBookmarkCreationOptions = 536870912 // Specifies that an alias created with the bookmark data prefers resolving with its embedded file ID. // // Deprecated: kCFURLBookmarkCreationPreferFileIDResolutionMask does nothing and has no effect on bookmark resolution KCFURLBookmarkCreationPreferFileIDResolutionMask CFURLBookmarkCreationOptions = 256 )
func (CFURLBookmarkCreationOptions) String ¶
func (e CFURLBookmarkCreationOptions) String() string
String returns the CFURLBookmarkCreationOptions constant's name, or its numeric form when the value is not a known constant.
type CFURLBookmarkResolutionOptions ¶
type CFURLBookmarkResolutionOptions uint64
Type for bookmark data resolution options. Bitmask — values may be combined with |.
const ( KCFURLBookmarkResolutionWithoutUIMask CFURLBookmarkResolutionOptions = 256 KCFURLBookmarkResolutionWithoutMountingMask CFURLBookmarkResolutionOptions = 512 // Specifies that the security scope, applied to the bookmark when it was created, should be used during resolution of the bookmark data. KCFURLBookmarkResolutionWithSecurityScope CFURLBookmarkResolutionOptions = 1024 KCFURLBookmarkResolutionWithoutImplicitStartAccessing CFURLBookmarkResolutionOptions = 32768 // Specifies that no UI feedback accompany resolution of the bookmark data. KCFBookmarkResolutionWithoutUIMask CFURLBookmarkResolutionOptions = 256 // Specifies that no volume should be mounted during resolution of the bookmark data. KCFBookmarkResolutionWithoutMountingMask CFURLBookmarkResolutionOptions = 512 )
func (CFURLBookmarkResolutionOptions) String ¶
func (e CFURLBookmarkResolutionOptions) String() string
String returns the CFURLBookmarkResolutionOptions constant's name, or its numeric form when the value is not a known constant.
type CFURLComponentType ¶
type CFURLComponentType int64
The types of components in a URL.
const ( // The URL’s scheme. KCFURLComponentScheme CFURLComponentType = 1 // The URL’s network location. KCFURLComponentNetLocation CFURLComponentType = 2 // The URL’s path component. KCFURLComponentPath CFURLComponentType = 3 // The URL’s resource specifier. KCFURLComponentResourceSpecifier CFURLComponentType = 4 // The URL’s user. KCFURLComponentUser CFURLComponentType = 5 // The user’s password. KCFURLComponentPassword CFURLComponentType = 6 // The user’s information. KCFURLComponentUserInfo CFURLComponentType = 7 // The URL’s host. KCFURLComponentHost CFURLComponentType = 8 // The URL’s port. KCFURLComponentPort CFURLComponentType = 9 // The URL’s parameter string. KCFURLComponentParameterString CFURLComponentType = 10 // The URL’s query. KCFURLComponentQuery CFURLComponentType = 11 // The URL’s fragment. KCFURLComponentFragment CFURLComponentType = 12 )
func (CFURLComponentType) String ¶
func (e CFURLComponentType) String() string
String returns the CFURLComponentType constant's name, or its numeric form when the value is not a known constant.
type CFURLEnumerator ¶
type CFURLEnumerator struct{}
type CFURLEnumeratorOptions ¶
type CFURLEnumeratorOptions uint64
Options for controlling enumerator behavior. Bitmask — values may be combined with |.
const ( // The enumerator performs its default behavior. KCFURLEnumeratorDefaultBehavior CFURLEnumeratorOptions = 0 // The enumerator recurses into each subdirectory enumerated. KCFURLEnumeratorDescendRecursively CFURLEnumeratorOptions = 1 // The enumerator skips “hidden” or “invisible” objects. KCFURLEnumeratorSkipInvisibles CFURLEnumeratorOptions = 2 // The enumerator generates file reference URLs instead of file path URLs. KCFURLEnumeratorGenerateFileReferenceURLs CFURLEnumeratorOptions = 4 // The enumerator skips package directory contents. KCFURLEnumeratorSkipPackageContents CFURLEnumeratorOptions = 8 // If provided along with the kCFURLEnumeratorDescendRecursively option, the recursive enumerator returns a directory’s URL before returning the URLs of the directory’s descendents. KCFURLEnumeratorIncludeDirectoriesPreOrder CFURLEnumeratorOptions = 16 // If provided along with the kCFURLEnumeratorDescendRecursively option, the recursive enumerator returns a directory’s URL after returning the URLs of the directory’s descendents. KCFURLEnumeratorIncludeDirectoriesPostOrder CFURLEnumeratorOptions = 32 KCFURLEnumeratorGenerateRelativePathURLs CFURLEnumeratorOptions = 64 )
func (CFURLEnumeratorOptions) String ¶
func (e CFURLEnumeratorOptions) String() string
String returns the CFURLEnumeratorOptions constant's name, or its numeric form when the value is not a known constant.
type CFURLEnumeratorRef ¶ added in v0.18.0
CFURLEnumeratorRef is a handle for the opaque CFURLEnumeratorRef type.
func CFURLEnumeratorCreateForDirectoryURL ¶
func CFURLEnumeratorCreateForDirectoryURL(alloc CFAllocatorRef, directoryURL CFURLRef, option CFURLEnumeratorOptions, propertyKeys CFArrayRef) CFURLEnumeratorRef
CFURLEnumeratorCreateForDirectoryURL calls the CoreFoundation framework function CFURLEnumeratorCreateForDirectoryURL.
func CFURLEnumeratorCreateForMountedVolumes ¶
func CFURLEnumeratorCreateForMountedVolumes(alloc CFAllocatorRef, option CFURLEnumeratorOptions, propertyKeys CFArrayRef) CFURLEnumeratorRef
CFURLEnumeratorCreateForMountedVolumes calls the CoreFoundation framework function CFURLEnumeratorCreateForMountedVolumes.
func (CFURLEnumeratorRef) IsNil ¶ added in v0.18.0
func (h CFURLEnumeratorRef) IsNil() bool
IsNil reports whether CFURLEnumeratorRef is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.
type CFURLEnumeratorResult ¶
type CFURLEnumeratorResult int64
Result codes from the CFURLEnumeratorGetNextURL function.
const ( // The enumerator was advanced successfully and returned a valid URL. KCFURLEnumeratorSuccess CFURLEnumeratorResult = 1 // The enumeration is complete. KCFURLEnumeratorEnd CFURLEnumeratorResult = 2 // An error occurred during enumeration. The error parameter of the function is populated with error information. KCFURLEnumeratorError CFURLEnumeratorResult = 3 // The recursive post-order enumerator returned the URL for a directory after having returned the URLs for all of the directory’s descendents. KCFURLEnumeratorDirectoryPostOrderSuccess CFURLEnumeratorResult = 4 )
func (CFURLEnumeratorResult) String ¶
func (e CFURLEnumeratorResult) String() string
String returns the CFURLEnumeratorResult constant's name, or its numeric form when the value is not a known constant.
type CFURLError
deprecated
type CFURLError int64
CFURL error codes.
Deprecated: Use CFError codes instead
const ( // Indicates an unknown error. KCFURLUnknownError CFURLError = -10 // Indicates that the scheme is not recognized. KCFURLUnknownSchemeError CFURLError = -11 // Indicates a resource was not found. KCFURLResourceNotFoundError CFURLError = -12 // Indicates an error in accessing a resource. KCFURLResourceAccessViolationError CFURLError = -13 KCFURLRemoteHostUnavailableError CFURLError = -14 // Indicates one or more arguments are improper. KCFURLImproperArgumentsError CFURLError = -15 // Indicates a property key is unknown. KCFURLUnknownPropertyKeyError CFURLError = -16 KCFURLPropertyKeyUnavailableError CFURLError = -17 // Indicates a timeout. KCFURLTimeoutError CFURLError = -18 )
func (CFURLError) String ¶
func (e CFURLError) String() string
String returns the CFURLError constant's name, or its numeric form when the value is not a known constant.
type CFURLPathStyle ¶
type CFURLPathStyle int64
Options you can use to determine how CFURL functions parse a file system path name.
const ( // Indicates a POSIX style path name. Components are slash delimited. A leading slash indicates an absolute path; a trailing slash is not significant. KCFURLPOSIXPathStyle CFURLPathStyle = 0 // Indicates a HFS style path name. Components are colon delimited. A leading colon indicates a relative path, otherwise the first path component denotes the volume. // // Deprecated: Carbon File Manager is deprecated, use kCFURLPOSIXPathStyle where possible KCFURLHFSPathStyle CFURLPathStyle = 1 // Indicates a Windows style path name. // // Deprecated: Carbon File Manager is deprecated, use kCFURLPOSIXPathStyle where possible KCFURLWindowsPathStyle CFURLPathStyle = 2 )
func (CFURLPathStyle) String ¶
func (e CFURLPathStyle) String() string
String returns the CFURLPathStyle constant's name, or its numeric form when the value is not a known constant.
type CFURLRef ¶ added in v0.18.0
CFURLRef is a handle for the opaque CFURLRef type.
func CFBundleCopyAuxiliaryExecutableURL ¶
func CFBundleCopyAuxiliaryExecutableURL(bundle CFBundleRef, executableName CFStringRef) CFURLRef
CFBundleCopyAuxiliaryExecutableURL calls the CoreFoundation framework function CFBundleCopyAuxiliaryExecutableURL.
func CFBundleCopyBuiltInPlugInsURL ¶
func CFBundleCopyBuiltInPlugInsURL(bundle CFBundleRef) CFURLRef
CFBundleCopyBuiltInPlugInsURL calls the CoreFoundation framework function CFBundleCopyBuiltInPlugInsURL.
func CFBundleCopyBundleURL ¶
func CFBundleCopyBundleURL(bundle CFBundleRef) CFURLRef
CFBundleCopyBundleURL calls the CoreFoundation framework function CFBundleCopyBundleURL.
func CFBundleCopyExecutableURL ¶
func CFBundleCopyExecutableURL(bundle CFBundleRef) CFURLRef
CFBundleCopyExecutableURL calls the CoreFoundation framework function CFBundleCopyExecutableURL.
func CFBundleCopyPrivateFrameworksURL ¶
func CFBundleCopyPrivateFrameworksURL(bundle CFBundleRef) CFURLRef
CFBundleCopyPrivateFrameworksURL calls the CoreFoundation framework function CFBundleCopyPrivateFrameworksURL.
func CFBundleCopyResourceURL ¶
func CFBundleCopyResourceURL(bundle CFBundleRef, resourceName CFStringRef, resourceType CFStringRef, subDirName CFStringRef) CFURLRef
CFBundleCopyResourceURL calls the CoreFoundation framework function CFBundleCopyResourceURL.
func CFBundleCopyResourceURLForLocalization ¶
func CFBundleCopyResourceURLForLocalization(bundle CFBundleRef, resourceName CFStringRef, resourceType CFStringRef, subDirName CFStringRef, localizationName CFStringRef) CFURLRef
CFBundleCopyResourceURLForLocalization calls the CoreFoundation framework function CFBundleCopyResourceURLForLocalization.
func CFBundleCopyResourceURLInDirectory ¶
func CFBundleCopyResourceURLInDirectory(bundleURL CFURLRef, resourceName CFStringRef, resourceType CFStringRef, subDirName CFStringRef) CFURLRef
CFBundleCopyResourceURLInDirectory calls the CoreFoundation framework function CFBundleCopyResourceURLInDirectory.
func CFBundleCopyResourcesDirectoryURL ¶
func CFBundleCopyResourcesDirectoryURL(bundle CFBundleRef) CFURLRef
CFBundleCopyResourcesDirectoryURL calls the CoreFoundation framework function CFBundleCopyResourcesDirectoryURL.
func CFBundleCopySharedFrameworksURL ¶
func CFBundleCopySharedFrameworksURL(bundle CFBundleRef) CFURLRef
CFBundleCopySharedFrameworksURL calls the CoreFoundation framework function CFBundleCopySharedFrameworksURL.
func CFBundleCopySharedSupportURL ¶
func CFBundleCopySharedSupportURL(bundle CFBundleRef) CFURLRef
CFBundleCopySharedSupportURL calls the CoreFoundation framework function CFBundleCopySharedSupportURL.
func CFBundleCopySupportFilesDirectoryURL ¶
func CFBundleCopySupportFilesDirectoryURL(bundle CFBundleRef) CFURLRef
CFBundleCopySupportFilesDirectoryURL calls the CoreFoundation framework function CFBundleCopySupportFilesDirectoryURL.
func CFURLCopyAbsoluteURL ¶
CFURLCopyAbsoluteURL calls the CoreFoundation framework function CFURLCopyAbsoluteURL.
func CFURLCreateAbsoluteURLWithBytes ¶
func CFURLCreateAbsoluteURLWithBytes(alloc CFAllocatorRef, relativeURLBytes unsafe.Pointer, length int, encoding int, baseURL CFURLRef, useCompatibilityMode uint8) CFURLRef
CFURLCreateAbsoluteURLWithBytes calls the CoreFoundation framework function CFURLCreateAbsoluteURLWithBytes.
func CFURLCreateByResolvingBookmarkData ¶
func CFURLCreateByResolvingBookmarkData(allocator CFAllocatorRef, bookmark CFDataRef, options CFURLBookmarkResolutionOptions, relativeToURL CFURLRef, resourcePropertiesToInclude CFArrayRef, err unsafe.Pointer) (result CFURLRef, isStale uint8)
CFURLCreateByResolvingBookmarkData calls the CoreFoundation framework function CFURLCreateByResolvingBookmarkData.
func CFURLCreateCopyAppendingPathComponent ¶
func CFURLCreateCopyAppendingPathComponent(allocator CFAllocatorRef, url CFURLRef, pathComponent CFStringRef, isDirectory uint8) CFURLRef
CFURLCreateCopyAppendingPathComponent calls the CoreFoundation framework function CFURLCreateCopyAppendingPathComponent.
func CFURLCreateCopyAppendingPathExtension ¶
func CFURLCreateCopyAppendingPathExtension(allocator CFAllocatorRef, url CFURLRef, extension CFStringRef) CFURLRef
CFURLCreateCopyAppendingPathExtension calls the CoreFoundation framework function CFURLCreateCopyAppendingPathExtension.
func CFURLCreateCopyDeletingLastPathComponent ¶
func CFURLCreateCopyDeletingLastPathComponent(allocator CFAllocatorRef, url CFURLRef) CFURLRef
CFURLCreateCopyDeletingLastPathComponent calls the CoreFoundation framework function CFURLCreateCopyDeletingLastPathComponent.
func CFURLCreateCopyDeletingPathExtension ¶
func CFURLCreateCopyDeletingPathExtension(allocator CFAllocatorRef, url CFURLRef) CFURLRef
CFURLCreateCopyDeletingPathExtension calls the CoreFoundation framework function CFURLCreateCopyDeletingPathExtension.
func CFURLCreateFromFSRef ¶
func CFURLCreateFromFSRef(allocator CFAllocatorRef, fsRef obj.Object) CFURLRef
CFURLCreateFromFSRef calls the CoreFoundation framework function CFURLCreateFromFSRef.
func CFURLCreateFromFileSystemRepresentation ¶
func CFURLCreateFromFileSystemRepresentation(allocator CFAllocatorRef, buffer unsafe.Pointer, bufLen int, isDirectory uint8) CFURLRef
CFURLCreateFromFileSystemRepresentation calls the CoreFoundation framework function CFURLCreateFromFileSystemRepresentation.
func CFURLCreateFromFileSystemRepresentationRelativeToBase ¶
func CFURLCreateFromFileSystemRepresentationRelativeToBase(allocator CFAllocatorRef, buffer unsafe.Pointer, bufLen int, isDirectory uint8, baseURL CFURLRef) CFURLRef
CFURLCreateFromFileSystemRepresentationRelativeToBase calls the CoreFoundation framework function CFURLCreateFromFileSystemRepresentationRelativeToBase.
func CFURLCreateWithBytes ¶
func CFURLCreateWithBytes(allocator CFAllocatorRef, urlBytes unsafe.Pointer, length int, encoding int, baseURL CFURLRef) CFURLRef
CFURLCreateWithBytes calls the CoreFoundation framework function CFURLCreateWithBytes.
func CFURLCreateWithFileSystemPath ¶
func CFURLCreateWithFileSystemPath(allocator CFAllocatorRef, filePath CFStringRef, pathStyle CFURLPathStyle, isDirectory uint8) CFURLRef
CFURLCreateWithFileSystemPath calls the CoreFoundation framework function CFURLCreateWithFileSystemPath.
func CFURLCreateWithFileSystemPathRelativeToBase ¶
func CFURLCreateWithFileSystemPathRelativeToBase(allocator CFAllocatorRef, filePath CFStringRef, pathStyle CFURLPathStyle, isDirectory uint8, baseURL CFURLRef) CFURLRef
CFURLCreateWithFileSystemPathRelativeToBase calls the CoreFoundation framework function CFURLCreateWithFileSystemPathRelativeToBase.
func CFURLCreateWithString ¶
func CFURLCreateWithString(allocator CFAllocatorRef, urlString CFStringRef, baseURL CFURLRef) CFURLRef
CFURLCreateWithString calls the CoreFoundation framework function CFURLCreateWithString.
func CFURLGetBaseURL ¶
CFURLGetBaseURL calls the CoreFoundation framework function CFURLGetBaseURL.
func CFXMLParserGetSourceURL ¶
func CFXMLParserGetSourceURL(parser CFXMLParserRef) CFURLRef
CFXMLParserGetSourceURL calls the CoreFoundation framework function CFXMLParserGetSourceURL.
type CFUUIDBytes ¶
type CFUUIDBytes struct {
Byte0 uint8
Byte1 uint8
Byte2 uint8
Byte3 uint8
Byte4 uint8
Byte5 uint8
Byte6 uint8
Byte7 uint8
Byte8 uint8
Byte9 uint8
Byte10 uint8
Byte11 uint8
Byte12 uint8
Byte13 uint8
Byte14 uint8
Byte15 uint8
}
A 128-bit struct that represents a UUID as raw bytes.
func CFUUIDGetUUIDBytes ¶
func CFUUIDGetUUIDBytes(uuid CFUUIDRef) CFUUIDBytes
CFUUIDGetUUIDBytes calls the CoreFoundation framework function CFUUIDGetUUIDBytes.
type CFUUIDRef ¶ added in v0.18.0
CFUUIDRef is a handle for the opaque CFUUIDRef type.
func CFUUIDCreate ¶
func CFUUIDCreate(alloc CFAllocatorRef) CFUUIDRef
CFUUIDCreate calls the CoreFoundation framework function CFUUIDCreate.
func CFUUIDCreateFromString ¶
func CFUUIDCreateFromString(alloc CFAllocatorRef, uuidStr CFStringRef) CFUUIDRef
CFUUIDCreateFromString calls the CoreFoundation framework function CFUUIDCreateFromString.
func CFUUIDCreateFromUUIDBytes ¶
func CFUUIDCreateFromUUIDBytes(alloc CFAllocatorRef, data CFUUIDBytes) CFUUIDRef
CFUUIDCreateFromUUIDBytes calls the CoreFoundation framework function CFUUIDCreateFromUUIDBytes.
func CFUUIDCreateWithBytes ¶
func CFUUIDCreateWithBytes(alloc CFAllocatorRef, byte0 uint8, byte1 uint8, byte2 uint8, byte3 uint8, byte4 uint8, byte5 uint8, byte6 uint8, byte7 uint8, byte8 uint8, byte9 uint8, byte10 uint8, byte11 uint8, byte12 uint8, byte13 uint8, byte14 uint8, byte15 uint8) CFUUIDRef
CFUUIDCreateWithBytes calls the CoreFoundation framework function CFUUIDCreateWithBytes.
func CFUUIDGetConstantUUIDWithBytes ¶
func CFUUIDGetConstantUUIDWithBytes(alloc CFAllocatorRef, byte0 uint8, byte1 uint8, byte2 uint8, byte3 uint8, byte4 uint8, byte5 uint8, byte6 uint8, byte7 uint8, byte8 uint8, byte9 uint8, byte10 uint8, byte11 uint8, byte12 uint8, byte13 uint8, byte14 uint8, byte15 uint8) CFUUIDRef
CFUUIDGetConstantUUIDWithBytes calls the CoreFoundation framework function CFUUIDGetConstantUUIDWithBytes.
type CFUserNotification ¶
type CFUserNotification struct{}
type CFUserNotificationRef ¶ added in v0.18.0
CFUserNotificationRef is a handle for the opaque CFUserNotificationRef type.
func CFUserNotificationCreate ¶
func CFUserNotificationCreate(allocator CFAllocatorRef, timeout float64, flags int, dictionary CFDictionaryRef) (result CFUserNotificationRef, err int)
CFUserNotificationCreate calls the CoreFoundation framework function CFUserNotificationCreate.
func (CFUserNotificationRef) IsNil ¶ added in v0.18.0
func (h CFUserNotificationRef) IsNil() bool
IsNil reports whether CFUserNotificationRef is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.
type CFWriteStream ¶
type CFWriteStream struct{}
type CFWriteStreamRef ¶ added in v0.18.0
CFWriteStreamRef is a handle for the opaque CFWriteStreamRef type.
func CFWriteStreamCreateWithAllocatedBuffers ¶
func CFWriteStreamCreateWithAllocatedBuffers(alloc CFAllocatorRef, bufferAllocator CFAllocatorRef) CFWriteStreamRef
CFWriteStreamCreateWithAllocatedBuffers calls the CoreFoundation framework function CFWriteStreamCreateWithAllocatedBuffers.
func CFWriteStreamCreateWithBuffer ¶
func CFWriteStreamCreateWithBuffer(alloc CFAllocatorRef, bufferCapacity int) (result CFWriteStreamRef, buffer uint8)
CFWriteStreamCreateWithBuffer calls the CoreFoundation framework function CFWriteStreamCreateWithBuffer.
func CFWriteStreamCreateWithFile ¶
func CFWriteStreamCreateWithFile(alloc CFAllocatorRef, fileURL CFURLRef) CFWriteStreamRef
CFWriteStreamCreateWithFile calls the CoreFoundation framework function CFWriteStreamCreateWithFile.
func (CFWriteStreamRef) IsNil ¶ added in v0.18.0
func (h CFWriteStreamRef) IsNil() bool
IsNil reports whether CFWriteStreamRef is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.
type CFXMLAttributeDeclarationInfo ¶
type CFXMLAttributeDeclarationInfo struct {
AttributeName unsafe.Pointer
TypeString unsafe.Pointer
DefaultString unsafe.Pointer
}
Contains information about an element attribute definition.
type CFXMLAttributeListDeclarationInfo ¶
Contains a list of the attributes associated with an element.
type CFXMLDocumentInfo ¶
Contains the source URL and text encoding information for the XML document.
type CFXMLDocumentTypeInfo ¶
type CFXMLDocumentTypeInfo struct {
ExternalID CFXMLExternalID
}
Contains the external ID of the DTD.
type CFXMLElementInfo ¶
type CFXMLElementInfo struct {
Attributes unsafe.Pointer
AttributeOrder unsafe.Pointer
IsEmpty uint8
}
Contains a list of element attributes packaged as CFDictionary key/value pairs.
type CFXMLElementTypeDeclarationInfo ¶
Contains a description of the element type.
type CFXMLEntityInfo ¶
type CFXMLEntityInfo struct {
EntityType CFXMLEntityTypeCode
ReplacementText unsafe.Pointer
EntityID CFXMLExternalID
NotationName unsafe.Pointer
}
Contains information describing an XML entity.
type CFXMLEntityReferenceInfo ¶
type CFXMLEntityReferenceInfo struct {
EntityType CFXMLEntityTypeCode
}
Contains information describing an XML entity reference.
type CFXMLEntityTypeCode ¶
type CFXMLEntityTypeCode int64
The entity type identification codes that the parser uses to describe XML entities.
const ( // Implies a parsed, internal entity. KCFXMLEntityTypeParameter CFXMLEntityTypeCode = 0 // Indicates a parsed, internal entity. KCFXMLEntityTypeParsedInternal CFXMLEntityTypeCode = 1 // Indicates a parsed, external entity. KCFXMLEntityTypeParsedExternal CFXMLEntityTypeCode = 2 // Indicates an unparsed entity. KCFXMLEntityTypeUnparsed CFXMLEntityTypeCode = 3 // Indicates a character entity type. KCFXMLEntityTypeCharacter CFXMLEntityTypeCode = 4 )
func (CFXMLEntityTypeCode) String ¶
func (e CFXMLEntityTypeCode) String() string
String returns the CFXMLEntityTypeCode constant's name, or its numeric form when the value is not a known constant.
type CFXMLExternalID ¶
type CFXMLExternalID struct {
// contains filtered or unexported fields
}
Contains the system and public IDs for an external entity reference. The C layout cannot be reproduced as a plain Go value struct, so it is held as its exact-size bytes and read through the typed As* accessors below. It is pointer-only: never pass it by value.
type CFXMLNodeRef ¶ added in v0.18.0
CFXMLNodeRef is a handle for the opaque CFXMLNodeRef type.
func CFXMLNodeCreate ¶
func CFXMLNodeCreate(alloc CFAllocatorRef, xmlType CFXMLNodeTypeCode, dataString CFStringRef, additionalInfoPtr unsafe.Pointer, version int) CFXMLNodeRef
CFXMLNodeCreate calls the CoreFoundation framework function CFXMLNodeCreate.
func CFXMLNodeCreateCopy ¶
func CFXMLNodeCreateCopy(alloc CFAllocatorRef, origNode CFXMLNodeRef) CFXMLNodeRef
CFXMLNodeCreateCopy calls the CoreFoundation framework function CFXMLNodeCreateCopy.
func CFXMLTreeGetNode ¶
func CFXMLTreeGetNode(xmlTree CFXMLTreeRef) CFXMLNodeRef
CFXMLTreeGetNode calls the CoreFoundation framework function CFXMLTreeGetNode.
func (CFXMLNodeRef) IsNil ¶ added in v0.18.0
func (h CFXMLNodeRef) IsNil() bool
IsNil reports whether CFXMLNodeRef is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.
type CFXMLNodeTypeCode ¶
type CFXMLNodeTypeCode int64
The various XML data type identification codes that the parser uses to describe XML structures.
const ( // Indicates a document where the data string is NULL and the additional information is a pointer to a CFXMLDocumentInfo structure. KCFXMLNodeTypeDocument CFXMLNodeTypeCode = 1 // Indicates an element where the data string is the name of the tag and the additional information is a pointer to a CFXMLElementInfo structure. KCFXMLNodeTypeElement CFXMLNodeTypeCode = 2 // Currently not used. KCFXMLNodeTypeAttribute CFXMLNodeTypeCode = 3 // Indicates a processing instruction where the data string is the name of the target and the additional information is a pointer to a CFXMLProcessingInstructionInfo structure. KCFXMLNodeTypeProcessingInstruction CFXMLNodeTypeCode = 4 // Indicates a comment section where the data string is the text of the comment and the additional information is NULL. KCFXMLNodeTypeComment CFXMLNodeTypeCode = 5 // Indicates a text section where the data string is the text’s contents and the additional information is NULL. KCFXMLNodeTypeText CFXMLNodeTypeCode = 6 // Indicates a CDATA section where the data string is the text of the CDATA and the additional information is NULL. KCFXMLNodeTypeCDATASection CFXMLNodeTypeCode = 7 // Currently not used. KCFXMLNodeTypeDocumentFragment CFXMLNodeTypeCode = 8 // Indicates an entity where the data string is the name of the entity and the additional information is a pointer to a CFXMLEntityInfo structure. KCFXMLNodeTypeEntity CFXMLNodeTypeCode = 9 // Indicates an entity reference where the data string is the name of the referenced entity and the additional information is a pointer to a CFXMLEntityReferenceInfo structure. KCFXMLNodeTypeEntityReference CFXMLNodeTypeCode = 10 // Indicates a document type where the data string is the name given to the top-level element and the additional information is a pointer to a CFXMLDocumentTypeInfo structure. KCFXMLNodeTypeDocumentType CFXMLNodeTypeCode = 11 // Indicates white space where the data string is the text of the white space and the additional information is NULL. KCFXMLNodeTypeWhitespace CFXMLNodeTypeCode = 12 // Indicates a notation where the data string is the notation name and the additional information is a pointer to a CFXMLNotationInfo structure. KCFXMLNodeTypeNotation CFXMLNodeTypeCode = 13 // Indicates an element type declaration where the data string is the tag name and the additional information is a pointer to a CFXMLElementTypeDeclarationInfo structure. KCFXMLNodeTypeElementTypeDeclaration CFXMLNodeTypeCode = 14 // Indicates an attribute list declaration where the data string is the tag name and the additional information is a pointer to a CFXMLAttributeListDeclarationInfo structure. KCFXMLNodeTypeAttributeListDeclaration CFXMLNodeTypeCode = 15 )
func CFXMLNodeGetTypeCode ¶
func CFXMLNodeGetTypeCode(node CFXMLNodeRef) CFXMLNodeTypeCode
CFXMLNodeGetTypeCode calls the CoreFoundation framework function CFXMLNodeGetTypeCode.
func (CFXMLNodeTypeCode) String ¶
func (e CFXMLNodeTypeCode) String() string
String returns the CFXMLNodeTypeCode constant's name, or its numeric form when the value is not a known constant.
type CFXMLNotationInfo ¶
type CFXMLNotationInfo struct {
ExternalID CFXMLExternalID
}
Contains the external ID of the notation.
type CFXMLParser ¶
type CFXMLParser struct{}
type CFXMLParserCallBacks ¶
type CFXMLParserCallBacks struct {
Version int
CreateXMLStructure unsafe.Pointer
AddChild unsafe.Pointer
EndXMLStructure unsafe.Pointer
ResolveExternalEntity unsafe.Pointer
HandleError unsafe.Pointer
}
Contains version information and function pointers to callbacks needed when parsing XML.
type CFXMLParserContext ¶
type CFXMLParserContext struct {
Version int
Info unsafe.Pointer
Retain unsafe.Pointer
Release unsafe.Pointer
CopyDescription unsafe.Pointer
}
Contains version information and function pointers to callbacks used when handling a program-defined context.
type CFXMLParserOptions ¶
type CFXMLParserOptions uint64
Options you can use to control the parser’s treatment of an XML document. Bitmask — values may be combined with |.
const ( // Validates the document against its grammar from the DTD, reporting any errors. Currently not supported. KCFXMLParserValidateDocument CFXMLParserOptions = 1 // Silently skip over metadata constructs (the DTD and comments). KCFXMLParserSkipMetaData CFXMLParserOptions = 2 // Replaces declared entities like <. Note that other than the 5 predefined entities (lt, gt, quot, amp, apos), these must be defined in the DTD. Currently not supported. KCFXMLParserReplacePhysicalEntities CFXMLParserOptions = 4 KCFXMLParserSkipWhitespace CFXMLParserOptions = 8 // Resolves all external entities. KCFXMLParserResolveExternalEntities CFXMLParserOptions = 16 // Where the DTD specifies implied attribute-value pairs for a particular element, add those pairs to any occurrences of the element in the element tree. Currently not supported. KCFXMLParserAddImpliedAttributes CFXMLParserOptions = 32 // Makes the parser do the most work, returning only the pure elementtree. KCFXMLParserAllOptions CFXMLParserOptions = 16777215 // Leaves the XML as “intact” as possible (reports all structures; performs no replacements). KCFXMLParserNoOptions CFXMLParserOptions = 0 )
func (CFXMLParserOptions) String ¶
func (e CFXMLParserOptions) String() string
String returns the CFXMLParserOptions constant's name, or its numeric form when the value is not a known constant.
type CFXMLParserRef ¶ added in v0.18.0
CFXMLParserRef is a handle for the opaque CFXMLParserRef type.
func CFXMLParserCreate ¶
func CFXMLParserCreate(allocator CFAllocatorRef, xmlData CFDataRef, dataSource CFURLRef, parseOptions int, versionOfNodes int, callBacks unsafe.Pointer, context_ unsafe.Pointer) CFXMLParserRef
CFXMLParserCreate calls the CoreFoundation framework function CFXMLParserCreate.
func CFXMLParserCreateWithDataFromURL ¶
func CFXMLParserCreateWithDataFromURL(allocator CFAllocatorRef, dataSource CFURLRef, parseOptions int, versionOfNodes int, callBacks unsafe.Pointer, context_ unsafe.Pointer) CFXMLParserRef
CFXMLParserCreateWithDataFromURL calls the CoreFoundation framework function CFXMLParserCreateWithDataFromURL.
func (CFXMLParserRef) IsNil ¶ added in v0.18.0
func (h CFXMLParserRef) IsNil() bool
IsNil reports whether CFXMLParserRef is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.
type CFXMLParserStatusCode ¶
type CFXMLParserStatusCode int64
The various status and error flags that can be returned by the parser. Bitmask — values may be combined with |.
const ( // Indicates the parser has not begun. KCFXMLStatusParseNotBegun CFXMLParserStatusCode = -2 // Indicates the parser is in progress. KCFXMLStatusParseInProgress CFXMLParserStatusCode = -1 // Indicates the parser was successful. KCFXMLStatusParseSuccessful CFXMLParserStatusCode = 0 // Indicates an unexpected EOF occurred. KCFXMLErrorUnexpectedEOF CFXMLParserStatusCode = 1 // Indicates an unknown encoding error. KCFXMLErrorUnknownEncoding CFXMLParserStatusCode = 2 // Indicates an encoding conversion error. KCFXMLErrorEncodingConversionFailure CFXMLParserStatusCode = 3 // Indicates a malformed processing instruction. KCFXMLErrorMalformedProcessingInstruction CFXMLParserStatusCode = 4 // Indicates a malformed DTD. KCFXMLErrorMalformedDTD CFXMLParserStatusCode = 5 // Indicates a malformed name. KCFXMLErrorMalformedName CFXMLParserStatusCode = 6 // Indicates a malformed CDATA section. KCFXMLErrorMalformedCDSect CFXMLParserStatusCode = 7 // Indicates a malformed close tag. KCFXMLErrorMalformedCloseTag CFXMLParserStatusCode = 8 // Indicates a malformed start tag. KCFXMLErrorMalformedStartTag CFXMLParserStatusCode = 9 // Indicates a malformed document. KCFXMLErrorMalformedDocument CFXMLParserStatusCode = 10 // Indicates a document containing no elements. KCFXMLErrorElementlessDocument CFXMLParserStatusCode = 11 // Indicates a malformed comment. KCFXMLErrorMalformedComment CFXMLParserStatusCode = 12 // Indicates a malformed character reference. KCFXMLErrorMalformedCharacterReference CFXMLParserStatusCode = 13 // Indicates malformed character data. KCFXMLErrorMalformedParsedCharacterData CFXMLParserStatusCode = 14 // Indicates a no data error. KCFXMLErrorNoData CFXMLParserStatusCode = 15 )
func CFXMLParserGetStatusCode ¶
func CFXMLParserGetStatusCode(parser CFXMLParserRef) CFXMLParserStatusCode
CFXMLParserGetStatusCode calls the CoreFoundation framework function CFXMLParserGetStatusCode.
func (CFXMLParserStatusCode) String ¶
func (e CFXMLParserStatusCode) String() string
String returns the CFXMLParserStatusCode constant's name, or its numeric form when the value is not a known constant.
type CFXMLProcessingInstructionInfo ¶
Contains the text of the processing instruction.
type CFXMLTreeRef ¶ added in v0.18.0
CFXMLTreeRef is a handle for the opaque CFXMLTreeRef type.
func CFXMLTreeCreateFromData ¶
func CFXMLTreeCreateFromData(allocator CFAllocatorRef, xmlData CFDataRef, dataSource CFURLRef, parseOptions int, versionOfNodes int) CFXMLTreeRef
CFXMLTreeCreateFromData calls the CoreFoundation framework function CFXMLTreeCreateFromData.
func CFXMLTreeCreateFromDataWithError ¶
func CFXMLTreeCreateFromDataWithError(allocator CFAllocatorRef, xmlData CFDataRef, dataSource CFURLRef, parseOptions int, versionOfNodes int, errorDict unsafe.Pointer) CFXMLTreeRef
CFXMLTreeCreateFromDataWithError calls the CoreFoundation framework function CFXMLTreeCreateFromDataWithError.
func CFXMLTreeCreateWithDataFromURL ¶
func CFXMLTreeCreateWithDataFromURL(allocator CFAllocatorRef, dataSource CFURLRef, parseOptions int, versionOfNodes int) CFXMLTreeRef
CFXMLTreeCreateWithDataFromURL calls the CoreFoundation framework function CFXMLTreeCreateWithDataFromURL.
func CFXMLTreeCreateWithNode ¶
func CFXMLTreeCreateWithNode(allocator CFAllocatorRef, node CFXMLNodeRef) CFXMLTreeRef
CFXMLTreeCreateWithNode calls the CoreFoundation framework function CFXMLTreeCreateWithNode.
func (CFXMLTreeRef) IsNil ¶ added in v0.18.0
func (h CFXMLTreeRef) IsNil() bool
IsNil reports whether CFXMLTreeRef is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.
type CGAffineTransform ¶
type CGRectEdge ¶
type CGRectEdge uint32
const ( CGRectMinXEdge CGRectEdge = 0 CGRectMinYEdge CGRectEdge = 1 CGRectMaxXEdge CGRectEdge = 2 CGRectMaxYEdge CGRectEdge = 3 )
func (CGRectEdge) String ¶
func (e CGRectEdge) String() string
String returns the CGRectEdge constant's name, or its numeric form when the value is not a known constant.
type DispatchAutoreleaseFrequency ¶ added in v0.17.0
type DispatchAutoreleaseFrequency uint64
const ( DispatchAutoreleaseFrequencyInherit DispatchAutoreleaseFrequency = 0 DispatchAutoreleaseFrequencyWorkItem DispatchAutoreleaseFrequency = 1 DispatchAutoreleaseFrequencyNever DispatchAutoreleaseFrequency = 2 )
func (DispatchAutoreleaseFrequency) String ¶ added in v0.17.0
func (e DispatchAutoreleaseFrequency) String() string
String returns the DispatchAutoreleaseFrequency constant's name, or its numeric form when the value is not a known constant.
type DispatchBlockFlags ¶ added in v0.17.0
type DispatchBlockFlags uint64
Bitmask — values may be combined with |.
const ( DispatchBlockFlagsBarrier DispatchBlockFlags = 1 DispatchBlockFlagsDetached DispatchBlockFlags = 2 DispatchBlockFlagsAssignCurrent DispatchBlockFlags = 4 DispatchBlockFlagsNoQosClass DispatchBlockFlags = 8 DispatchBlockFlagsInheritQosClass DispatchBlockFlags = 16 DispatchBlockFlagsEnforceQosClass DispatchBlockFlags = 32 )
func (DispatchBlockFlags) String ¶ added in v0.17.0
func (e DispatchBlockFlags) String() string
String returns the DispatchBlockFlags constant's name, or its numeric form when the value is not a known constant.
type FilesecProperty ¶ added in v0.17.0
type FilesecProperty int32
const ( FilesecPropertyOwner FilesecProperty = 1 FilesecPropertyGroup FilesecProperty = 2 FilesecPropertyUUID FilesecProperty = 3 FilesecPropertyMode FilesecProperty = 4 FilesecPropertyACL FilesecProperty = 5 FilesecPropertyGrpuuid FilesecProperty = 6 FilesecPropertyACLRaw FilesecProperty = 100 FilesecPropertyACLAllocsize FilesecProperty = 101 )
func (FilesecProperty) String ¶ added in v0.17.0
func (e FilesecProperty) String() string
String returns the FilesecProperty constant's name, or its numeric form when the value is not a known constant.
type MallocZoneT ¶
MallocZoneT is a handle for the opaque _malloc_zone_t type.
func (MallocZoneT) IsNil ¶ added in v0.18.0
func (h MallocZoneT) IsNil() bool
IsNil reports whether MallocZoneT is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.
type MpoFlags ¶ added in v0.17.0
type MpoFlags uint32
Bitmask — values may be combined with |.
const ( MpoFlagsPort MpoFlags = 0 MpoFlagsServicePort MpoFlags = 1024 MpoFlagsConnectionPort MpoFlags = 2048 MpoFlagsReplyPort MpoFlags = 4096 MpoFlagsWeakReplyPort MpoFlags = 16384 MpoFlagsNotificationPort MpoFlags = 17408 MpoFlagsExceptionPort MpoFlags = 32768 MpoFlagsConnectionPortWithPortArray MpoFlags = 65536 )
type Perm ¶ added in v0.17.0
type Perm int32
const ( PermReadData Perm = 2 PermListDirectory Perm = 2 PermWriteData Perm = 4 PermAddFile Perm = 4 PermExecute Perm = 8 PermSearch Perm = 8 PermDelete Perm = 16 PermAppendData Perm = 32 PermAddSubdirectory Perm = 32 PermDeleteChild Perm = 64 PermReadAttributes Perm = 128 PermWriteAttributes Perm = 256 PermReadExtattributes Perm = 512 PermWriteExtattributes Perm = 1024 PermReadSecurity Perm = 2048 PermWriteSecurity Perm = 4096 PermChangeOwner Perm = 8192 PermSynchronize Perm = 1048576 )
type PtrauthKey ¶ added in v0.17.0
type PtrauthKey int32
const ( Ptrauth_key_none PtrauthKey = -1 Ptrauth_key_asia PtrauthKey = 0 Ptrauth_key_asib PtrauthKey = 1 Ptrauth_key_asda PtrauthKey = 2 Ptrauth_key_asdb PtrauthKey = 3 Ptrauth_key_process_independent_code PtrauthKey = 0 Ptrauth_key_process_dependent_code PtrauthKey = 1 Ptrauth_key_process_independent_data PtrauthKey = 2 Ptrauth_key_process_dependent_data PtrauthKey = 3 Ptrauth_key_return_address PtrauthKey = 1 Ptrauth_key_frame_pointer PtrauthKey = 3 Ptrauth_key_function_pointer PtrauthKey = 0 Ptrauth_key_block_function PtrauthKey = 0 Ptrauth_key_cxx_vtable_pointer PtrauthKey = 2 Ptrauth_key_method_list_pointer PtrauthKey = 2 Ptrauth_key_objc_isa_pointer PtrauthKey = 2 Ptrauth_key_objc_super_pointer PtrauthKey = 2 Ptrauth_key_objc_sel_pointer PtrauthKey = 3 Ptrauth_key_objc_class_ro_pointer PtrauthKey = 2 Ptrauth_key_block_descriptor_pointer PtrauthKey = 2 Ptrauth_key_init_fini_pointer PtrauthKey = 0 )
func (PtrauthKey) String ¶ added in v0.17.0
func (e PtrauthKey) String() string
String returns the PtrauthKey constant's name, or its numeric form when the value is not a known constant.