corefoundation

package
v0.19.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 11, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Rendered for darwin/amd64

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

View Source
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

func CFAutorelease(arg obj.Object) obj.Object

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

func CFBagApplyFunction(theBag CFBagRef, applier unsafe.Pointer, context_ unsafe.Pointer)

CFBagApplyFunction calls the CoreFoundation framework function CFBagApplyFunction.

func CFBagContainsValue

func CFBagContainsValue(theBag CFBagRef, value unsafe.Pointer) uint8

CFBagContainsValue calls the CoreFoundation framework function CFBagContainsValue.

func CFBagGetCount

func CFBagGetCount(theBag CFBagRef) int

CFBagGetCount calls the CoreFoundation framework function CFBagGetCount.

func CFBagGetCountOfValue

func CFBagGetCountOfValue(theBag CFBagRef, value unsafe.Pointer) int

CFBagGetCountOfValue calls the CoreFoundation framework function CFBagGetCountOfValue.

func CFBagGetTypeID

func CFBagGetTypeID() int

CFBagGetTypeID calls the CoreFoundation framework function CFBagGetTypeID.

func CFBagGetValue

func CFBagGetValue(theBag CFBagRef, value unsafe.Pointer) unsafe.Pointer

CFBagGetValue calls the CoreFoundation framework function CFBagGetValue.

func CFBagGetValueIfPresent

func CFBagGetValueIfPresent(theBag CFBagRef, candidate unsafe.Pointer, value unsafe.Pointer) uint8

CFBagGetValueIfPresent calls the CoreFoundation framework function CFBagGetValueIfPresent.

func CFBagGetValues

func CFBagGetValues(theBag CFBagRef, values unsafe.Pointer)

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

func CFBundleIsArchitectureLoadable(arch int) uint8

CFBundleIsArchitectureLoadable calls the CoreFoundation framework function CFBundleIsArchitectureLoadable.

func CFBundleIsExecutableLoadable

func CFBundleIsExecutableLoadable(bundle CFBundleRef) uint8

CFBundleIsExecutableLoadable calls the CoreFoundation framework function CFBundleIsExecutableLoadable.

func CFBundleIsExecutableLoadableForURL

func CFBundleIsExecutableLoadableForURL(url CFURLRef) uint8

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

func CFDataGetBytePtr(theData CFDataRef) unsafe.Pointer

CFDataGetBytePtr calls the CoreFoundation framework function CFDataGetBytePtr.

func CFDataGetBytes

func CFDataGetBytes(theData CFDataRef, range_ CFRange) (buffer uint8)

CFDataGetBytes calls the CoreFoundation framework function CFDataGetBytes.

func CFDataGetLength

func CFDataGetLength(theData CFDataRef) int

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

func CFDateGetAbsoluteTime(theDate CFDateRef) float64

CFDateGetAbsoluteTime calls the CoreFoundation framework function CFDateGetAbsoluteTime.

func CFDateGetTimeIntervalSinceDate

func CFDateGetTimeIntervalSinceDate(theDate CFDateRef, otherDate CFDateRef) float64

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 CFEqual

func CFEqual(cf1 obj.Object, cf2 obj.Object) uint8

CFEqual calls the CoreFoundation framework function CFEqual.

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

func CFGetRetainCount(cf obj.Object) int

CFGetRetainCount calls the CoreFoundation framework function CFGetRetainCount.

func CFGetTypeID

func CFGetTypeID(cf obj.Object) int

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 CFHash

func CFHash(cf obj.Object) int

CFHash calls the CoreFoundation framework function CFHash.

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

func CFLocaleGetWindowsLocaleCodeFromLocaleIdentifier(localeIdentifier unsafe.Pointer) uint32

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

func CFMakeCollectable(cf obj.Object) obj.Object

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

func CFPlugInRegisterFactoryFunction(factoryUUID CFUUIDRef, func_ unsafe.Pointer) uint8

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

func CFPlugInRegisterPlugInType(factoryUUID CFUUIDRef, typeUUID CFUUIDRef) uint8

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

func CFPlugInUnregisterFactory(factoryUUID CFUUIDRef) uint8

CFPlugInUnregisterFactory calls the CoreFoundation framework function CFPlugInUnregisterFactory.

func CFPlugInUnregisterPlugInType

func CFPlugInUnregisterPlugInType(factoryUUID CFUUIDRef, typeUUID CFUUIDRef) uint8

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 CFRelease

func CFRelease(cf obj.Object)

CFRelease calls the CoreFoundation framework function CFRelease.

func CFRetain

func CFRetain(cf obj.Object) obj.Object

CFRetain calls the CoreFoundation framework function CFRetain.

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

func CFSetApplyFunction(theSet CFSetRef, applier unsafe.Pointer, context_ unsafe.Pointer)

CFSetApplyFunction calls the CoreFoundation framework function CFSetApplyFunction.

func CFSetContainsValue

func CFSetContainsValue(theSet CFSetRef, value unsafe.Pointer) uint8

CFSetContainsValue calls the CoreFoundation framework function CFSetContainsValue.

func CFSetGetCount

func CFSetGetCount(theSet CFSetRef) int

CFSetGetCount calls the CoreFoundation framework function CFSetGetCount.

func CFSetGetCountOfValue

func CFSetGetCountOfValue(theSet CFSetRef, value unsafe.Pointer) int

CFSetGetCountOfValue calls the CoreFoundation framework function CFSetGetCountOfValue.

func CFSetGetTypeID

func CFSetGetTypeID() int

CFSetGetTypeID calls the CoreFoundation framework function CFSetGetTypeID.

func CFSetGetValue

func CFSetGetValue(theSet CFSetRef, value unsafe.Pointer) unsafe.Pointer

CFSetGetValue calls the CoreFoundation framework function CFSetGetValue.

func CFSetGetValueIfPresent

func CFSetGetValueIfPresent(theSet CFSetRef, candidate unsafe.Pointer, value unsafe.Pointer) uint8

CFSetGetValueIfPresent calls the CoreFoundation framework function CFSetGetValueIfPresent.

func CFSetGetValues

func CFSetGetValues(theSet CFSetRef, values unsafe.Pointer)

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 CFShow

func CFShow(object obj.Object)

CFShow calls the CoreFoundation framework function CFShow.

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

func CFStringConvertEncodingToNSStringEncoding(encoding int) int

CFStringConvertEncodingToNSStringEncoding calls the CoreFoundation framework function CFStringConvertEncodingToNSStringEncoding.

func CFStringConvertEncodingToWindowsCodepage

func CFStringConvertEncodingToWindowsCodepage(encoding int) int

CFStringConvertEncodingToWindowsCodepage calls the CoreFoundation framework function CFStringConvertEncodingToWindowsCodepage.

func CFStringConvertIANACharSetNameToEncoding

func CFStringConvertIANACharSetNameToEncoding(theString CFStringRef) int

CFStringConvertIANACharSetNameToEncoding calls the CoreFoundation framework function CFStringConvertIANACharSetNameToEncoding.

func CFStringConvertNSStringEncodingToEncoding

func CFStringConvertNSStringEncodingToEncoding(encoding int) int

CFStringConvertNSStringEncodingToEncoding calls the CoreFoundation framework function CFStringConvertNSStringEncodingToEncoding.

func CFStringConvertWindowsCodepageToEncoding

func CFStringConvertWindowsCodepageToEncoding(codepage int) int

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

func CFStringGetCharacterFromInlineBuffer(buf unsafe.Pointer, idx int) uint16

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

func CFStringGetListOfAvailableEncodings() unsafe.Pointer

CFStringGetListOfAvailableEncodings calls the CoreFoundation framework function CFStringGetListOfAvailableEncodings.

func CFStringGetLongCharacterForSurrogatePair

func CFStringGetLongCharacterForSurrogatePair(surrogateHigh uint16, surrogateLow uint16) int

CFStringGetLongCharacterForSurrogatePair calls the CoreFoundation framework function CFStringGetLongCharacterForSurrogatePair.

func CFStringGetMaximumSizeForEncoding

func CFStringGetMaximumSizeForEncoding(length int, encoding int) int

CFStringGetMaximumSizeForEncoding calls the CoreFoundation framework function CFStringGetMaximumSizeForEncoding.

func CFStringGetMaximumSizeOfFileSystemRepresentation

func CFStringGetMaximumSizeOfFileSystemRepresentation(str CFStringRef) int

CFStringGetMaximumSizeOfFileSystemRepresentation calls the CoreFoundation framework function CFStringGetMaximumSizeOfFileSystemRepresentation.

func CFStringGetMostCompatibleMacStringEncoding

func CFStringGetMostCompatibleMacStringEncoding(encoding int) int

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

func CFStringGetSurrogatePairForLongCharacter(character int) (result uint8, surrogates uint16)

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

func CFStringIsEncodingAvailable(encoding int) uint8

CFStringIsEncodingAvailable calls the CoreFoundation framework function CFStringIsEncodingAvailable.

func CFStringIsHyphenationAvailableForLocale

func CFStringIsHyphenationAvailableForLocale(locale CFLocaleRef) uint8

CFStringIsHyphenationAvailableForLocale calls the CoreFoundation framework function CFStringIsHyphenationAvailableForLocale.

func CFStringIsSurrogateHighCharacter

func CFStringIsSurrogateHighCharacter(character uint16) uint8

CFStringIsSurrogateHighCharacter calls the CoreFoundation framework function CFStringIsSurrogateHighCharacter.

func CFStringIsSurrogateLowCharacter

func CFStringIsSurrogateLowCharacter(character uint16) uint8

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

func CFSwapInt16(arg uint16) uint16

CFSwapInt16 calls the CoreFoundation framework function CFSwapInt16.

func CFSwapInt16BigToHost

func CFSwapInt16BigToHost(arg uint16) uint16

CFSwapInt16BigToHost calls the CoreFoundation framework function CFSwapInt16BigToHost.

func CFSwapInt16HostToBig

func CFSwapInt16HostToBig(arg uint16) uint16

CFSwapInt16HostToBig calls the CoreFoundation framework function CFSwapInt16HostToBig.

func CFSwapInt16HostToLittle

func CFSwapInt16HostToLittle(arg uint16) uint16

CFSwapInt16HostToLittle calls the CoreFoundation framework function CFSwapInt16HostToLittle.

func CFSwapInt16LittleToHost

func CFSwapInt16LittleToHost(arg uint16) uint16

CFSwapInt16LittleToHost calls the CoreFoundation framework function CFSwapInt16LittleToHost.

func CFSwapInt32

func CFSwapInt32(arg uint32) uint32

CFSwapInt32 calls the CoreFoundation framework function CFSwapInt32.

func CFSwapInt32BigToHost

func CFSwapInt32BigToHost(arg uint32) uint32

CFSwapInt32BigToHost calls the CoreFoundation framework function CFSwapInt32BigToHost.

func CFSwapInt32HostToBig

func CFSwapInt32HostToBig(arg uint32) uint32

CFSwapInt32HostToBig calls the CoreFoundation framework function CFSwapInt32HostToBig.

func CFSwapInt32HostToLittle

func CFSwapInt32HostToLittle(arg uint32) uint32

CFSwapInt32HostToLittle calls the CoreFoundation framework function CFSwapInt32HostToLittle.

func CFSwapInt32LittleToHost

func CFSwapInt32LittleToHost(arg uint32) uint32

CFSwapInt32LittleToHost calls the CoreFoundation framework function CFSwapInt32LittleToHost.

func CFSwapInt64

func CFSwapInt64(arg uint64) uint64

CFSwapInt64 calls the CoreFoundation framework function CFSwapInt64.

func CFSwapInt64BigToHost

func CFSwapInt64BigToHost(arg uint64) uint64

CFSwapInt64BigToHost calls the CoreFoundation framework function CFSwapInt64BigToHost.

func CFSwapInt64HostToBig

func CFSwapInt64HostToBig(arg uint64) uint64

CFSwapInt64HostToBig calls the CoreFoundation framework function CFSwapInt64HostToBig.

func CFSwapInt64HostToLittle

func CFSwapInt64HostToLittle(arg uint64) uint64

CFSwapInt64HostToLittle calls the CoreFoundation framework function CFSwapInt64HostToLittle.

func CFSwapInt64LittleToHost

func CFSwapInt64LittleToHost(arg uint64) uint64

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

func CFTreeAppendChild(tree CFTreeRef, newChild CFTreeRef)

CFTreeAppendChild calls the CoreFoundation framework function CFTreeAppendChild.

func CFTreeApplyFunctionToChildren

func CFTreeApplyFunctionToChildren(tree CFTreeRef, applier unsafe.Pointer, context_ unsafe.Pointer)

CFTreeApplyFunctionToChildren calls the CoreFoundation framework function CFTreeApplyFunctionToChildren.

func CFTreeGetChildCount

func CFTreeGetChildCount(tree CFTreeRef) int

CFTreeGetChildCount calls the CoreFoundation framework function CFTreeGetChildCount.

func CFTreeGetChildren

func CFTreeGetChildren(tree CFTreeRef, children unsafe.Pointer)

CFTreeGetChildren calls the CoreFoundation framework function CFTreeGetChildren.

func CFTreeGetContext

func CFTreeGetContext(tree CFTreeRef, context_ unsafe.Pointer)

CFTreeGetContext calls the CoreFoundation framework function CFTreeGetContext.

func CFTreeGetTypeID

func CFTreeGetTypeID() int

CFTreeGetTypeID calls the CoreFoundation framework function CFTreeGetTypeID.

func CFTreeInsertSibling

func CFTreeInsertSibling(tree CFTreeRef, newSibling CFTreeRef)

CFTreeInsertSibling calls the CoreFoundation framework function CFTreeInsertSibling.

func CFTreePrependChild

func CFTreePrependChild(tree CFTreeRef, newChild CFTreeRef)

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

func CFTreeSetContext(tree CFTreeRef, context_ unsafe.Pointer)

CFTreeSetContext calls the CoreFoundation framework function CFTreeSetContext.

func CFTreeSortChildren

func CFTreeSortChildren(tree CFTreeRef, comparator unsafe.Pointer, context_ unsafe.Pointer)

CFTreeSortChildren calls the CoreFoundation framework function CFTreeSortChildren.

func CFURLCanBeDecomposed

func CFURLCanBeDecomposed(anURL CFURLRef) uint8

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

func CFURLDestroyResource(url CFURLRef) (result uint8, errorCode int)

CFURLDestroyResource calls the CoreFoundation framework function CFURLDestroyResource.

func CFURLEnumeratorGetDescendentLevel

func CFURLEnumeratorGetDescendentLevel(enumerator CFURLEnumeratorRef) int

CFURLEnumeratorGetDescendentLevel calls the CoreFoundation framework function CFURLEnumeratorGetDescendentLevel.

func CFURLEnumeratorGetNextURL

func CFURLEnumeratorGetNextURL(enumerator CFURLEnumeratorRef, url unsafe.Pointer) (obj.Object, error)

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

func CFURLGetBytes(url CFURLRef, bufferLength int) (result int, buffer uint8)

CFURLGetBytes calls the CoreFoundation framework function CFURLGetBytes.

func CFURLGetFSRef

func CFURLGetFSRef(url CFURLRef, fsRef obj.Object) uint8

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

func CFURLGetPortNumber(anURL CFURLRef) int

CFURLGetPortNumber calls the CoreFoundation framework function CFURLGetPortNumber.

func CFURLGetTypeID

func CFURLGetTypeID() int

CFURLGetTypeID calls the CoreFoundation framework function CFURLGetTypeID.

func CFURLHasDirectoryPath

func CFURLHasDirectoryPath(anURL CFURLRef) uint8

CFURLHasDirectoryPath calls the CoreFoundation framework function CFURLHasDirectoryPath.

func CFURLIsFileReferenceURL

func CFURLIsFileReferenceURL(url CFURLRef) uint8

CFURLIsFileReferenceURL calls the CoreFoundation framework function CFURLIsFileReferenceURL.

func CFURLResourceIsReachable

func CFURLResourceIsReachable(url CFURLRef) error

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

func CFURLStartAccessingSecurityScopedResource(url CFURLRef) uint8

CFURLStartAccessingSecurityScopedResource calls the CoreFoundation framework function CFURLStartAccessingSecurityScopedResource.

func CFURLStopAccessingSecurityScopedResource

func CFURLStopAccessingSecurityScopedResource(url CFURLRef)

CFURLStopAccessingSecurityScopedResource calls the CoreFoundation framework function CFURLStopAccessingSecurityScopedResource.

func CFURLWriteBookmarkDataToFile

func CFURLWriteBookmarkDataToFile(bookmarkRef CFDataRef, fileURL CFURLRef, options int) error

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

func CFUserNotificationCheckBoxChecked(i int) int

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

func CFUserNotificationPopUpSelection(n int) int

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

func CFUserNotificationSecureTextField(i int) int

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

func KCFAllocatorDefault() obj.Object

KCFAllocatorDefault returns the value of the constant kCFAllocatorDefault.

func KCFAllocatorMalloc

func KCFAllocatorMalloc() obj.Object

KCFAllocatorMalloc returns the value of the constant kCFAllocatorMalloc.

func KCFAllocatorMallocZone

func KCFAllocatorMallocZone() obj.Object

KCFAllocatorMallocZone returns the value of the constant kCFAllocatorMallocZone.

func KCFAllocatorNull

func KCFAllocatorNull() obj.Object

KCFAllocatorNull returns the value of the constant kCFAllocatorNull.

func KCFAllocatorSystemDefault

func KCFAllocatorSystemDefault() obj.Object

KCFAllocatorSystemDefault returns the value of the constant kCFAllocatorSystemDefault.

func KCFAllocatorUseContext

func KCFAllocatorUseContext() obj.Object

KCFAllocatorUseContext returns the value of the constant kCFAllocatorUseContext.

func KCFBanglaCalendar

func KCFBanglaCalendar() uintptr

KCFBanglaCalendar returns the address of the symbol kCFBanglaCalendar.

func KCFBooleanFalse

func KCFBooleanFalse() obj.Object

KCFBooleanFalse returns the value of the constant kCFBooleanFalse.

func KCFBooleanTrue

func KCFBooleanTrue() obj.Object

KCFBooleanTrue returns the value of the constant kCFBooleanTrue.

func KCFBuddhistCalendar

func KCFBuddhistCalendar() uintptr

KCFBuddhistCalendar returns the address of the symbol kCFBuddhistCalendar.

func KCFBundleDevelopmentRegionKey

func KCFBundleDevelopmentRegionKey() obj.Object

KCFBundleDevelopmentRegionKey returns the value of the constant kCFBundleDevelopmentRegionKey.

func KCFBundleExecutableKey

func KCFBundleExecutableKey() obj.Object

KCFBundleExecutableKey returns the value of the constant kCFBundleExecutableKey.

func KCFBundleIdentifierKey

func KCFBundleIdentifierKey() obj.Object

KCFBundleIdentifierKey returns the value of the constant kCFBundleIdentifierKey.

func KCFBundleInfoDictionaryVersionKey

func KCFBundleInfoDictionaryVersionKey() obj.Object

KCFBundleInfoDictionaryVersionKey returns the value of the constant kCFBundleInfoDictionaryVersionKey.

func KCFBundleLocalizationsKey

func KCFBundleLocalizationsKey() obj.Object

KCFBundleLocalizationsKey returns the value of the constant kCFBundleLocalizationsKey.

func KCFBundleNameKey

func KCFBundleNameKey() obj.Object

KCFBundleNameKey returns the value of the constant kCFBundleNameKey.

func KCFBundleVersionKey

func KCFBundleVersionKey() obj.Object

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

func KCFErrorDescriptionKey() obj.Object

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

func KCFErrorFilePathKey() obj.Object

KCFErrorFilePathKey returns the value of the constant kCFErrorFilePathKey.

func KCFErrorLocalizedDescriptionKey

func KCFErrorLocalizedDescriptionKey() obj.Object

KCFErrorLocalizedDescriptionKey returns the value of the constant kCFErrorLocalizedDescriptionKey.

func KCFErrorLocalizedFailureKey

func KCFErrorLocalizedFailureKey() obj.Object

KCFErrorLocalizedFailureKey returns the value of the constant kCFErrorLocalizedFailureKey.

func KCFErrorLocalizedFailureReasonKey

func KCFErrorLocalizedFailureReasonKey() obj.Object

KCFErrorLocalizedFailureReasonKey returns the value of the constant kCFErrorLocalizedFailureReasonKey.

func KCFErrorLocalizedRecoverySuggestionKey

func KCFErrorLocalizedRecoverySuggestionKey() obj.Object

KCFErrorLocalizedRecoverySuggestionKey returns the value of the constant kCFErrorLocalizedRecoverySuggestionKey.

func KCFErrorURLKey

func KCFErrorURLKey() obj.Object

KCFErrorURLKey returns the value of the constant kCFErrorURLKey.

func KCFErrorUnderlyingErrorKey

func KCFErrorUnderlyingErrorKey() obj.Object

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 KCFNull

func KCFNull() obj.Object

KCFNull returns the value of the constant kCFNull.

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

func KCFNumberNaN() obj.Object

KCFNumberNaN returns the value of the constant kCFNumberNaN.

func KCFNumberNegativeInfinity

func KCFNumberNegativeInfinity() obj.Object

KCFNumberNegativeInfinity returns the value of the constant kCFNumberNegativeInfinity.

func KCFNumberPositiveInfinity

func KCFNumberPositiveInfinity() obj.Object

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

func KCFPlugInDynamicRegisterFunctionKey() obj.Object

KCFPlugInDynamicRegisterFunctionKey returns the value of the constant kCFPlugInDynamicRegisterFunctionKey.

func KCFPlugInDynamicRegistrationKey

func KCFPlugInDynamicRegistrationKey() obj.Object

KCFPlugInDynamicRegistrationKey returns the value of the constant kCFPlugInDynamicRegistrationKey.

func KCFPlugInFactoriesKey

func KCFPlugInFactoriesKey() obj.Object

KCFPlugInFactoriesKey returns the value of the constant kCFPlugInFactoriesKey.

func KCFPlugInTypesKey

func KCFPlugInTypesKey() obj.Object

KCFPlugInTypesKey returns the value of the constant kCFPlugInTypesKey.

func KCFPlugInUnloadFunctionKey

func KCFPlugInUnloadFunctionKey() obj.Object

KCFPlugInUnloadFunctionKey returns the value of the constant kCFPlugInUnloadFunctionKey.

func KCFPreferencesAnyApplication

func KCFPreferencesAnyApplication() obj.Object

KCFPreferencesAnyApplication returns the value of the constant kCFPreferencesAnyApplication.

func KCFPreferencesAnyHost

func KCFPreferencesAnyHost() obj.Object

KCFPreferencesAnyHost returns the value of the constant kCFPreferencesAnyHost.

func KCFPreferencesAnyUser

func KCFPreferencesAnyUser() obj.Object

KCFPreferencesAnyUser returns the value of the constant kCFPreferencesAnyUser.

func KCFPreferencesCurrentApplication

func KCFPreferencesCurrentApplication() obj.Object

KCFPreferencesCurrentApplication returns the value of the constant kCFPreferencesCurrentApplication.

func KCFPreferencesCurrentHost

func KCFPreferencesCurrentHost() obj.Object

KCFPreferencesCurrentHost returns the value of the constant kCFPreferencesCurrentHost.

func KCFPreferencesCurrentUser

func KCFPreferencesCurrentUser() obj.Object

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

func KCFSocketCommandKey() obj.Object

KCFSocketCommandKey returns the value of the constant kCFSocketCommandKey.

func KCFSocketErrorKey

func KCFSocketErrorKey() obj.Object

KCFSocketErrorKey returns the value of the constant kCFSocketErrorKey.

func KCFSocketNameKey

func KCFSocketNameKey() obj.Object

KCFSocketNameKey returns the value of the constant kCFSocketNameKey.

func KCFSocketRegisterCommand

func KCFSocketRegisterCommand() obj.Object

KCFSocketRegisterCommand returns the value of the constant kCFSocketRegisterCommand.

func KCFSocketResultKey

func KCFSocketResultKey() obj.Object

KCFSocketResultKey returns the value of the constant kCFSocketResultKey.

func KCFSocketRetrieveCommand

func KCFSocketRetrieveCommand() obj.Object

KCFSocketRetrieveCommand returns the value of the constant kCFSocketRetrieveCommand.

func KCFSocketValueKey

func KCFSocketValueKey() obj.Object

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

func KCFStreamPropertySOCKSPassword() obj.Object

KCFStreamPropertySOCKSPassword returns the value of the constant kCFStreamPropertySOCKSPassword.

func KCFStreamPropertySOCKSProxy

func KCFStreamPropertySOCKSProxy() obj.Object

KCFStreamPropertySOCKSProxy returns the value of the constant kCFStreamPropertySOCKSProxy.

func KCFStreamPropertySOCKSProxyHost

func KCFStreamPropertySOCKSProxyHost() obj.Object

KCFStreamPropertySOCKSProxyHost returns the value of the constant kCFStreamPropertySOCKSProxyHost.

func KCFStreamPropertySOCKSProxyPort

func KCFStreamPropertySOCKSProxyPort() obj.Object

KCFStreamPropertySOCKSProxyPort returns the value of the constant kCFStreamPropertySOCKSProxyPort.

func KCFStreamPropertySOCKSUser

func KCFStreamPropertySOCKSUser() obj.Object

KCFStreamPropertySOCKSUser returns the value of the constant kCFStreamPropertySOCKSUser.

func KCFStreamPropertySOCKSVersion

func KCFStreamPropertySOCKSVersion() obj.Object

KCFStreamPropertySOCKSVersion returns the value of the constant kCFStreamPropertySOCKSVersion.

func KCFStreamPropertyShouldCloseNativeSocket

func KCFStreamPropertyShouldCloseNativeSocket() obj.Object

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

func KCFStreamPropertySocketSecurityLevel() obj.Object

KCFStreamPropertySocketSecurityLevel returns the value of the constant kCFStreamPropertySocketSecurityLevel.

func KCFStreamSocketSOCKSVersion4

func KCFStreamSocketSOCKSVersion4() obj.Object

KCFStreamSocketSOCKSVersion4 returns the value of the constant kCFStreamSocketSOCKSVersion4.

func KCFStreamSocketSOCKSVersion5

func KCFStreamSocketSOCKSVersion5() obj.Object

KCFStreamSocketSOCKSVersion5 returns the value of the constant kCFStreamSocketSOCKSVersion5.

func KCFStreamSocketSecurityLevelNegotiatedSSL

func KCFStreamSocketSecurityLevelNegotiatedSSL() obj.Object

KCFStreamSocketSecurityLevelNegotiatedSSL returns the value of the constant kCFStreamSocketSecurityLevelNegotiatedSSL.

func KCFStreamSocketSecurityLevelNone

func KCFStreamSocketSecurityLevelNone() obj.Object

KCFStreamSocketSecurityLevelNone returns the value of the constant kCFStreamSocketSecurityLevelNone.

func KCFStreamSocketSecurityLevelSSLv2

func KCFStreamSocketSecurityLevelSSLv2() obj.Object

KCFStreamSocketSecurityLevelSSLv2 returns the value of the constant kCFStreamSocketSecurityLevelSSLv2.

func KCFStreamSocketSecurityLevelSSLv3

func KCFStreamSocketSecurityLevelSSLv3() obj.Object

KCFStreamSocketSecurityLevelSSLv3 returns the value of the constant kCFStreamSocketSecurityLevelSSLv3.

func KCFStreamSocketSecurityLevelTLSv1

func KCFStreamSocketSecurityLevelTLSv1() obj.Object

KCFStreamSocketSecurityLevelTLSv1 returns the value of the constant kCFStreamSocketSecurityLevelTLSv1.

func KCFStringBinaryHeapCallBacks

func KCFStringBinaryHeapCallBacks() uintptr

KCFStringBinaryHeapCallBacks returns the address of the symbol kCFStringBinaryHeapCallBacks.

func KCFStringTransformFullwidthHalfwidth

func KCFStringTransformFullwidthHalfwidth() obj.Object

KCFStringTransformFullwidthHalfwidth returns the value of the constant kCFStringTransformFullwidthHalfwidth.

func KCFStringTransformHiraganaKatakana

func KCFStringTransformHiraganaKatakana() obj.Object

KCFStringTransformHiraganaKatakana returns the value of the constant kCFStringTransformHiraganaKatakana.

func KCFStringTransformLatinArabic

func KCFStringTransformLatinArabic() obj.Object

KCFStringTransformLatinArabic returns the value of the constant kCFStringTransformLatinArabic.

func KCFStringTransformLatinCyrillic

func KCFStringTransformLatinCyrillic() obj.Object

KCFStringTransformLatinCyrillic returns the value of the constant kCFStringTransformLatinCyrillic.

func KCFStringTransformLatinGreek

func KCFStringTransformLatinGreek() obj.Object

KCFStringTransformLatinGreek returns the value of the constant kCFStringTransformLatinGreek.

func KCFStringTransformLatinHangul

func KCFStringTransformLatinHangul() obj.Object

KCFStringTransformLatinHangul returns the value of the constant kCFStringTransformLatinHangul.

func KCFStringTransformLatinHebrew

func KCFStringTransformLatinHebrew() obj.Object

KCFStringTransformLatinHebrew returns the value of the constant kCFStringTransformLatinHebrew.

func KCFStringTransformLatinHiragana

func KCFStringTransformLatinHiragana() obj.Object

KCFStringTransformLatinHiragana returns the value of the constant kCFStringTransformLatinHiragana.

func KCFStringTransformLatinKatakana

func KCFStringTransformLatinKatakana() obj.Object

KCFStringTransformLatinKatakana returns the value of the constant kCFStringTransformLatinKatakana.

func KCFStringTransformLatinThai

func KCFStringTransformLatinThai() obj.Object

KCFStringTransformLatinThai returns the value of the constant kCFStringTransformLatinThai.

func KCFStringTransformMandarinLatin

func KCFStringTransformMandarinLatin() obj.Object

KCFStringTransformMandarinLatin returns the value of the constant kCFStringTransformMandarinLatin.

func KCFStringTransformStripCombiningMarks

func KCFStringTransformStripCombiningMarks() obj.Object

KCFStringTransformStripCombiningMarks returns the value of the constant kCFStringTransformStripCombiningMarks.

func KCFStringTransformStripDiacritics

func KCFStringTransformStripDiacritics() obj.Object

KCFStringTransformStripDiacritics returns the value of the constant kCFStringTransformStripDiacritics.

func KCFStringTransformToLatin

func KCFStringTransformToLatin() obj.Object

KCFStringTransformToLatin returns the value of the constant kCFStringTransformToLatin.

func KCFStringTransformToUnicodeName

func KCFStringTransformToUnicodeName() obj.Object

KCFStringTransformToUnicodeName returns the value of the constant kCFStringTransformToUnicodeName.

func KCFStringTransformToXMLHex

func KCFStringTransformToXMLHex() obj.Object

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

func KCFURLAddedToDirectoryDateKey() obj.Object

KCFURLAddedToDirectoryDateKey returns the value of the constant kCFURLAddedToDirectoryDateKey.

func KCFURLApplicationIsScriptableKey

func KCFURLApplicationIsScriptableKey() obj.Object

KCFURLApplicationIsScriptableKey returns the value of the constant kCFURLApplicationIsScriptableKey.

func KCFURLAttributeModificationDateKey

func KCFURLAttributeModificationDateKey() obj.Object

KCFURLAttributeModificationDateKey returns the value of the constant kCFURLAttributeModificationDateKey.

func KCFURLCanonicalPathKey

func KCFURLCanonicalPathKey() obj.Object

KCFURLCanonicalPathKey returns the value of the constant kCFURLCanonicalPathKey.

func KCFURLContentAccessDateKey

func KCFURLContentAccessDateKey() obj.Object

KCFURLContentAccessDateKey returns the value of the constant kCFURLContentAccessDateKey.

func KCFURLContentModificationDateKey

func KCFURLContentModificationDateKey() obj.Object

KCFURLContentModificationDateKey returns the value of the constant kCFURLContentModificationDateKey.

func KCFURLCreationDateKey

func KCFURLCreationDateKey() obj.Object

KCFURLCreationDateKey returns the value of the constant kCFURLCreationDateKey.

func KCFURLCustomIconKey

func KCFURLCustomIconKey() obj.Object

KCFURLCustomIconKey returns the value of the constant kCFURLCustomIconKey.

func KCFURLDirectoryEntryCountKey

func KCFURLDirectoryEntryCountKey() obj.Object

KCFURLDirectoryEntryCountKey returns the value of the constant kCFURLDirectoryEntryCountKey.

func KCFURLDocumentIdentifierKey

func KCFURLDocumentIdentifierKey() obj.Object

KCFURLDocumentIdentifierKey returns the value of the constant kCFURLDocumentIdentifierKey.

func KCFURLEffectiveIconKey

func KCFURLEffectiveIconKey() obj.Object

KCFURLEffectiveIconKey returns the value of the constant kCFURLEffectiveIconKey.

func KCFURLFileAllocatedSizeKey

func KCFURLFileAllocatedSizeKey() obj.Object

KCFURLFileAllocatedSizeKey returns the value of the constant kCFURLFileAllocatedSizeKey.

func KCFURLFileContentIdentifierKey

func KCFURLFileContentIdentifierKey() obj.Object

KCFURLFileContentIdentifierKey returns the value of the constant kCFURLFileContentIdentifierKey.

func KCFURLFileDirectoryContents

func KCFURLFileDirectoryContents() obj.Object

KCFURLFileDirectoryContents returns the value of the constant kCFURLFileDirectoryContents.

func KCFURLFileExists

func KCFURLFileExists() obj.Object

KCFURLFileExists returns the value of the constant kCFURLFileExists.

func KCFURLFileIdentifierKey

func KCFURLFileIdentifierKey() obj.Object

KCFURLFileIdentifierKey returns the value of the constant kCFURLFileIdentifierKey.

func KCFURLFileLastModificationTime

func KCFURLFileLastModificationTime() obj.Object

KCFURLFileLastModificationTime returns the value of the constant kCFURLFileLastModificationTime.

func KCFURLFileLength

func KCFURLFileLength() obj.Object

KCFURLFileLength returns the value of the constant kCFURLFileLength.

func KCFURLFileOwnerID

func KCFURLFileOwnerID() obj.Object

KCFURLFileOwnerID returns the value of the constant kCFURLFileOwnerID.

func KCFURLFilePOSIXMode

func KCFURLFilePOSIXMode() obj.Object

KCFURLFilePOSIXMode returns the value of the constant kCFURLFilePOSIXMode.

func KCFURLFileResourceIdentifierKey

func KCFURLFileResourceIdentifierKey() obj.Object

KCFURLFileResourceIdentifierKey returns the value of the constant kCFURLFileResourceIdentifierKey.

func KCFURLFileResourceTypeBlockSpecial

func KCFURLFileResourceTypeBlockSpecial() obj.Object

KCFURLFileResourceTypeBlockSpecial returns the value of the constant kCFURLFileResourceTypeBlockSpecial.

func KCFURLFileResourceTypeCharacterSpecial

func KCFURLFileResourceTypeCharacterSpecial() obj.Object

KCFURLFileResourceTypeCharacterSpecial returns the value of the constant kCFURLFileResourceTypeCharacterSpecial.

func KCFURLFileResourceTypeDirectory

func KCFURLFileResourceTypeDirectory() obj.Object

KCFURLFileResourceTypeDirectory returns the value of the constant kCFURLFileResourceTypeDirectory.

func KCFURLFileResourceTypeKey

func KCFURLFileResourceTypeKey() obj.Object

KCFURLFileResourceTypeKey returns the value of the constant kCFURLFileResourceTypeKey.

func KCFURLFileResourceTypeNamedPipe

func KCFURLFileResourceTypeNamedPipe() obj.Object

KCFURLFileResourceTypeNamedPipe returns the value of the constant kCFURLFileResourceTypeNamedPipe.

func KCFURLFileResourceTypeRegular

func KCFURLFileResourceTypeRegular() obj.Object

KCFURLFileResourceTypeRegular returns the value of the constant kCFURLFileResourceTypeRegular.

func KCFURLFileResourceTypeSocket

func KCFURLFileResourceTypeSocket() obj.Object

KCFURLFileResourceTypeSocket returns the value of the constant kCFURLFileResourceTypeSocket.

func KCFURLFileResourceTypeSymbolicLink() obj.Object

KCFURLFileResourceTypeSymbolicLink returns the value of the constant kCFURLFileResourceTypeSymbolicLink.

func KCFURLFileResourceTypeUnknown

func KCFURLFileResourceTypeUnknown() obj.Object

KCFURLFileResourceTypeUnknown returns the value of the constant kCFURLFileResourceTypeUnknown.

func KCFURLFileSecurityKey

func KCFURLFileSecurityKey() obj.Object

KCFURLFileSecurityKey returns the value of the constant kCFURLFileSecurityKey.

func KCFURLFileSizeKey

func KCFURLFileSizeKey() obj.Object

KCFURLFileSizeKey returns the value of the constant kCFURLFileSizeKey.

func KCFURLGenerationIdentifierKey

func KCFURLGenerationIdentifierKey() obj.Object

KCFURLGenerationIdentifierKey returns the value of the constant kCFURLGenerationIdentifierKey.

func KCFURLHTTPStatusCode

func KCFURLHTTPStatusCode() obj.Object

KCFURLHTTPStatusCode returns the value of the constant kCFURLHTTPStatusCode.

func KCFURLHTTPStatusLine

func KCFURLHTTPStatusLine() obj.Object

KCFURLHTTPStatusLine returns the value of the constant kCFURLHTTPStatusLine.

func KCFURLHasHiddenExtensionKey

func KCFURLHasHiddenExtensionKey() obj.Object

KCFURLHasHiddenExtensionKey returns the value of the constant kCFURLHasHiddenExtensionKey.

func KCFURLIsAliasFileKey

func KCFURLIsAliasFileKey() obj.Object

KCFURLIsAliasFileKey returns the value of the constant kCFURLIsAliasFileKey.

func KCFURLIsApplicationKey

func KCFURLIsApplicationKey() obj.Object

KCFURLIsApplicationKey returns the value of the constant kCFURLIsApplicationKey.

func KCFURLIsDirectoryKey

func KCFURLIsDirectoryKey() obj.Object

KCFURLIsDirectoryKey returns the value of the constant kCFURLIsDirectoryKey.

func KCFURLIsExcludedFromBackupKey

func KCFURLIsExcludedFromBackupKey() obj.Object

KCFURLIsExcludedFromBackupKey returns the value of the constant kCFURLIsExcludedFromBackupKey.

func KCFURLIsExecutableKey

func KCFURLIsExecutableKey() obj.Object

KCFURLIsExecutableKey returns the value of the constant kCFURLIsExecutableKey.

func KCFURLIsHiddenKey

func KCFURLIsHiddenKey() obj.Object

KCFURLIsHiddenKey returns the value of the constant kCFURLIsHiddenKey.

func KCFURLIsMountTriggerKey

func KCFURLIsMountTriggerKey() obj.Object

KCFURLIsMountTriggerKey returns the value of the constant kCFURLIsMountTriggerKey.

func KCFURLIsPackageKey

func KCFURLIsPackageKey() obj.Object

KCFURLIsPackageKey returns the value of the constant kCFURLIsPackageKey.

func KCFURLIsPurgeableKey

func KCFURLIsPurgeableKey() obj.Object

KCFURLIsPurgeableKey returns the value of the constant kCFURLIsPurgeableKey.

func KCFURLIsReadableKey

func KCFURLIsReadableKey() obj.Object

KCFURLIsReadableKey returns the value of the constant kCFURLIsReadableKey.

func KCFURLIsRegularFileKey

func KCFURLIsRegularFileKey() obj.Object

KCFURLIsRegularFileKey returns the value of the constant kCFURLIsRegularFileKey.

func KCFURLIsSparseKey

func KCFURLIsSparseKey() obj.Object

KCFURLIsSparseKey returns the value of the constant kCFURLIsSparseKey.

func KCFURLIsSymbolicLinkKey

func KCFURLIsSymbolicLinkKey() obj.Object

KCFURLIsSymbolicLinkKey returns the value of the constant kCFURLIsSymbolicLinkKey.

func KCFURLIsSystemImmutableKey

func KCFURLIsSystemImmutableKey() obj.Object

KCFURLIsSystemImmutableKey returns the value of the constant kCFURLIsSystemImmutableKey.

func KCFURLIsUbiquitousItemKey

func KCFURLIsUbiquitousItemKey() obj.Object

KCFURLIsUbiquitousItemKey returns the value of the constant kCFURLIsUbiquitousItemKey.

func KCFURLIsUserImmutableKey

func KCFURLIsUserImmutableKey() obj.Object

KCFURLIsUserImmutableKey returns the value of the constant kCFURLIsUserImmutableKey.

func KCFURLIsVolumeKey

func KCFURLIsVolumeKey() obj.Object

KCFURLIsVolumeKey returns the value of the constant kCFURLIsVolumeKey.

func KCFURLIsWritableKey

func KCFURLIsWritableKey() obj.Object

KCFURLIsWritableKey returns the value of the constant kCFURLIsWritableKey.

func KCFURLKeysOfUnsetValuesKey

func KCFURLKeysOfUnsetValuesKey() obj.Object

KCFURLKeysOfUnsetValuesKey returns the value of the constant kCFURLKeysOfUnsetValuesKey.

func KCFURLLabelColorKey

func KCFURLLabelColorKey() obj.Object

KCFURLLabelColorKey returns the value of the constant kCFURLLabelColorKey.

func KCFURLLabelNumberKey

func KCFURLLabelNumberKey() obj.Object

KCFURLLabelNumberKey returns the value of the constant kCFURLLabelNumberKey.

func KCFURLLinkCountKey

func KCFURLLinkCountKey() obj.Object

KCFURLLinkCountKey returns the value of the constant kCFURLLinkCountKey.

func KCFURLLocalizedLabelKey

func KCFURLLocalizedLabelKey() obj.Object

KCFURLLocalizedLabelKey returns the value of the constant kCFURLLocalizedLabelKey.

func KCFURLLocalizedNameKey

func KCFURLLocalizedNameKey() obj.Object

KCFURLLocalizedNameKey returns the value of the constant kCFURLLocalizedNameKey.

func KCFURLLocalizedTypeDescriptionKey

func KCFURLLocalizedTypeDescriptionKey() obj.Object

KCFURLLocalizedTypeDescriptionKey returns the value of the constant kCFURLLocalizedTypeDescriptionKey.

func KCFURLMayHaveExtendedAttributesKey

func KCFURLMayHaveExtendedAttributesKey() obj.Object

KCFURLMayHaveExtendedAttributesKey returns the value of the constant kCFURLMayHaveExtendedAttributesKey.

func KCFURLMayShareFileContentKey

func KCFURLMayShareFileContentKey() obj.Object

KCFURLMayShareFileContentKey returns the value of the constant kCFURLMayShareFileContentKey.

func KCFURLNameKey

func KCFURLNameKey() obj.Object

KCFURLNameKey returns the value of the constant kCFURLNameKey.

func KCFURLParentDirectoryURLKey

func KCFURLParentDirectoryURLKey() obj.Object

KCFURLParentDirectoryURLKey returns the value of the constant kCFURLParentDirectoryURLKey.

func KCFURLPathKey

func KCFURLPathKey() obj.Object

KCFURLPathKey returns the value of the constant kCFURLPathKey.

func KCFURLPreferredIOBlockSizeKey

func KCFURLPreferredIOBlockSizeKey() obj.Object

KCFURLPreferredIOBlockSizeKey returns the value of the constant kCFURLPreferredIOBlockSizeKey.

func KCFURLQuarantinePropertiesKey

func KCFURLQuarantinePropertiesKey() obj.Object

KCFURLQuarantinePropertiesKey returns the value of the constant kCFURLQuarantinePropertiesKey.

func KCFURLTagNamesKey

func KCFURLTagNamesKey() obj.Object

KCFURLTagNamesKey returns the value of the constant kCFURLTagNamesKey.

func KCFURLTotalFileAllocatedSizeKey

func KCFURLTotalFileAllocatedSizeKey() obj.Object

KCFURLTotalFileAllocatedSizeKey returns the value of the constant kCFURLTotalFileAllocatedSizeKey.

func KCFURLTotalFileSizeKey

func KCFURLTotalFileSizeKey() obj.Object

KCFURLTotalFileSizeKey returns the value of the constant kCFURLTotalFileSizeKey.

func KCFURLTypeIdentifierKey

func KCFURLTypeIdentifierKey() obj.Object

KCFURLTypeIdentifierKey returns the value of the constant kCFURLTypeIdentifierKey.

func KCFURLUbiquitousItemDownloadingErrorKey

func KCFURLUbiquitousItemDownloadingErrorKey() obj.Object

KCFURLUbiquitousItemDownloadingErrorKey returns the value of the constant kCFURLUbiquitousItemDownloadingErrorKey.

func KCFURLUbiquitousItemDownloadingStatusCurrent

func KCFURLUbiquitousItemDownloadingStatusCurrent() obj.Object

KCFURLUbiquitousItemDownloadingStatusCurrent returns the value of the constant kCFURLUbiquitousItemDownloadingStatusCurrent.

func KCFURLUbiquitousItemDownloadingStatusDownloaded

func KCFURLUbiquitousItemDownloadingStatusDownloaded() obj.Object

KCFURLUbiquitousItemDownloadingStatusDownloaded returns the value of the constant kCFURLUbiquitousItemDownloadingStatusDownloaded.

func KCFURLUbiquitousItemDownloadingStatusKey

func KCFURLUbiquitousItemDownloadingStatusKey() obj.Object

KCFURLUbiquitousItemDownloadingStatusKey returns the value of the constant kCFURLUbiquitousItemDownloadingStatusKey.

func KCFURLUbiquitousItemDownloadingStatusNotDownloaded

func KCFURLUbiquitousItemDownloadingStatusNotDownloaded() obj.Object

KCFURLUbiquitousItemDownloadingStatusNotDownloaded returns the value of the constant kCFURLUbiquitousItemDownloadingStatusNotDownloaded.

func KCFURLUbiquitousItemHasUnresolvedConflictsKey

func KCFURLUbiquitousItemHasUnresolvedConflictsKey() obj.Object

KCFURLUbiquitousItemHasUnresolvedConflictsKey returns the value of the constant kCFURLUbiquitousItemHasUnresolvedConflictsKey.

func KCFURLUbiquitousItemIsDownloadedKey

func KCFURLUbiquitousItemIsDownloadedKey() obj.Object

KCFURLUbiquitousItemIsDownloadedKey returns the value of the constant kCFURLUbiquitousItemIsDownloadedKey.

func KCFURLUbiquitousItemIsDownloadingKey

func KCFURLUbiquitousItemIsDownloadingKey() obj.Object

KCFURLUbiquitousItemIsDownloadingKey returns the value of the constant kCFURLUbiquitousItemIsDownloadingKey.

func KCFURLUbiquitousItemIsExcludedFromSyncKey

func KCFURLUbiquitousItemIsExcludedFromSyncKey() obj.Object

KCFURLUbiquitousItemIsExcludedFromSyncKey returns the value of the constant kCFURLUbiquitousItemIsExcludedFromSyncKey.

func KCFURLUbiquitousItemIsSyncPausedKey

func KCFURLUbiquitousItemIsSyncPausedKey() obj.Object

KCFURLUbiquitousItemIsSyncPausedKey returns the value of the constant kCFURLUbiquitousItemIsSyncPausedKey.

func KCFURLUbiquitousItemIsUploadedKey

func KCFURLUbiquitousItemIsUploadedKey() obj.Object

KCFURLUbiquitousItemIsUploadedKey returns the value of the constant kCFURLUbiquitousItemIsUploadedKey.

func KCFURLUbiquitousItemIsUploadingKey

func KCFURLUbiquitousItemIsUploadingKey() obj.Object

KCFURLUbiquitousItemIsUploadingKey returns the value of the constant kCFURLUbiquitousItemIsUploadingKey.

func KCFURLUbiquitousItemPercentDownloadedKey

func KCFURLUbiquitousItemPercentDownloadedKey() obj.Object

KCFURLUbiquitousItemPercentDownloadedKey returns the value of the constant kCFURLUbiquitousItemPercentDownloadedKey.

func KCFURLUbiquitousItemPercentUploadedKey

func KCFURLUbiquitousItemPercentUploadedKey() obj.Object

KCFURLUbiquitousItemPercentUploadedKey returns the value of the constant kCFURLUbiquitousItemPercentUploadedKey.

func KCFURLUbiquitousItemSupportedSyncControlsKey

func KCFURLUbiquitousItemSupportedSyncControlsKey() obj.Object

KCFURLUbiquitousItemSupportedSyncControlsKey returns the value of the constant kCFURLUbiquitousItemSupportedSyncControlsKey.

func KCFURLUbiquitousItemUploadingErrorKey

func KCFURLUbiquitousItemUploadingErrorKey() obj.Object

KCFURLUbiquitousItemUploadingErrorKey returns the value of the constant kCFURLUbiquitousItemUploadingErrorKey.

func KCFURLVolumeAvailableCapacityForImportantUsageKey

func KCFURLVolumeAvailableCapacityForImportantUsageKey() obj.Object

KCFURLVolumeAvailableCapacityForImportantUsageKey returns the value of the constant kCFURLVolumeAvailableCapacityForImportantUsageKey.

func KCFURLVolumeAvailableCapacityForOpportunisticUsageKey

func KCFURLVolumeAvailableCapacityForOpportunisticUsageKey() obj.Object

KCFURLVolumeAvailableCapacityForOpportunisticUsageKey returns the value of the constant kCFURLVolumeAvailableCapacityForOpportunisticUsageKey.

func KCFURLVolumeAvailableCapacityKey

func KCFURLVolumeAvailableCapacityKey() obj.Object

KCFURLVolumeAvailableCapacityKey returns the value of the constant kCFURLVolumeAvailableCapacityKey.

func KCFURLVolumeCreationDateKey

func KCFURLVolumeCreationDateKey() obj.Object

KCFURLVolumeCreationDateKey returns the value of the constant kCFURLVolumeCreationDateKey.

func KCFURLVolumeIdentifierKey

func KCFURLVolumeIdentifierKey() obj.Object

KCFURLVolumeIdentifierKey returns the value of the constant kCFURLVolumeIdentifierKey.

func KCFURLVolumeIsAutomountedKey

func KCFURLVolumeIsAutomountedKey() obj.Object

KCFURLVolumeIsAutomountedKey returns the value of the constant kCFURLVolumeIsAutomountedKey.

func KCFURLVolumeIsBrowsableKey

func KCFURLVolumeIsBrowsableKey() obj.Object

KCFURLVolumeIsBrowsableKey returns the value of the constant kCFURLVolumeIsBrowsableKey.

func KCFURLVolumeIsEjectableKey

func KCFURLVolumeIsEjectableKey() obj.Object

KCFURLVolumeIsEjectableKey returns the value of the constant kCFURLVolumeIsEjectableKey.

func KCFURLVolumeIsEncryptedKey

func KCFURLVolumeIsEncryptedKey() obj.Object

KCFURLVolumeIsEncryptedKey returns the value of the constant kCFURLVolumeIsEncryptedKey.

func KCFURLVolumeIsInternalKey

func KCFURLVolumeIsInternalKey() obj.Object

KCFURLVolumeIsInternalKey returns the value of the constant kCFURLVolumeIsInternalKey.

func KCFURLVolumeIsJournalingKey

func KCFURLVolumeIsJournalingKey() obj.Object

KCFURLVolumeIsJournalingKey returns the value of the constant kCFURLVolumeIsJournalingKey.

func KCFURLVolumeIsLocalKey

func KCFURLVolumeIsLocalKey() obj.Object

KCFURLVolumeIsLocalKey returns the value of the constant kCFURLVolumeIsLocalKey.

func KCFURLVolumeIsReadOnlyKey

func KCFURLVolumeIsReadOnlyKey() obj.Object

KCFURLVolumeIsReadOnlyKey returns the value of the constant kCFURLVolumeIsReadOnlyKey.

func KCFURLVolumeIsRemovableKey

func KCFURLVolumeIsRemovableKey() obj.Object

KCFURLVolumeIsRemovableKey returns the value of the constant kCFURLVolumeIsRemovableKey.

func KCFURLVolumeIsRootFileSystemKey

func KCFURLVolumeIsRootFileSystemKey() obj.Object

KCFURLVolumeIsRootFileSystemKey returns the value of the constant kCFURLVolumeIsRootFileSystemKey.

func KCFURLVolumeLocalizedFormatDescriptionKey

func KCFURLVolumeLocalizedFormatDescriptionKey() obj.Object

KCFURLVolumeLocalizedFormatDescriptionKey returns the value of the constant kCFURLVolumeLocalizedFormatDescriptionKey.

func KCFURLVolumeLocalizedNameKey

func KCFURLVolumeLocalizedNameKey() obj.Object

KCFURLVolumeLocalizedNameKey returns the value of the constant kCFURLVolumeLocalizedNameKey.

func KCFURLVolumeMaximumFileSizeKey

func KCFURLVolumeMaximumFileSizeKey() obj.Object

KCFURLVolumeMaximumFileSizeKey returns the value of the constant kCFURLVolumeMaximumFileSizeKey.

func KCFURLVolumeMountFromLocationKey

func KCFURLVolumeMountFromLocationKey() obj.Object

KCFURLVolumeMountFromLocationKey returns the value of the constant kCFURLVolumeMountFromLocationKey.

func KCFURLVolumeNameKey

func KCFURLVolumeNameKey() obj.Object

KCFURLVolumeNameKey returns the value of the constant kCFURLVolumeNameKey.

func KCFURLVolumeResourceCountKey

func KCFURLVolumeResourceCountKey() obj.Object

KCFURLVolumeResourceCountKey returns the value of the constant kCFURLVolumeResourceCountKey.

func KCFURLVolumeSubtypeKey

func KCFURLVolumeSubtypeKey() obj.Object

KCFURLVolumeSubtypeKey returns the value of the constant kCFURLVolumeSubtypeKey.

func KCFURLVolumeSupportsAccessPermissionsKey

func KCFURLVolumeSupportsAccessPermissionsKey() obj.Object

KCFURLVolumeSupportsAccessPermissionsKey returns the value of the constant kCFURLVolumeSupportsAccessPermissionsKey.

func KCFURLVolumeSupportsAdvisoryFileLockingKey

func KCFURLVolumeSupportsAdvisoryFileLockingKey() obj.Object

KCFURLVolumeSupportsAdvisoryFileLockingKey returns the value of the constant kCFURLVolumeSupportsAdvisoryFileLockingKey.

func KCFURLVolumeSupportsCasePreservedNamesKey

func KCFURLVolumeSupportsCasePreservedNamesKey() obj.Object

KCFURLVolumeSupportsCasePreservedNamesKey returns the value of the constant kCFURLVolumeSupportsCasePreservedNamesKey.

func KCFURLVolumeSupportsCaseSensitiveNamesKey

func KCFURLVolumeSupportsCaseSensitiveNamesKey() obj.Object

KCFURLVolumeSupportsCaseSensitiveNamesKey returns the value of the constant kCFURLVolumeSupportsCaseSensitiveNamesKey.

func KCFURLVolumeSupportsCompressionKey

func KCFURLVolumeSupportsCompressionKey() obj.Object

KCFURLVolumeSupportsCompressionKey returns the value of the constant kCFURLVolumeSupportsCompressionKey.

func KCFURLVolumeSupportsExclusiveRenamingKey

func KCFURLVolumeSupportsExclusiveRenamingKey() obj.Object

KCFURLVolumeSupportsExclusiveRenamingKey returns the value of the constant kCFURLVolumeSupportsExclusiveRenamingKey.

func KCFURLVolumeSupportsExtendedSecurityKey

func KCFURLVolumeSupportsExtendedSecurityKey() obj.Object

KCFURLVolumeSupportsExtendedSecurityKey returns the value of the constant kCFURLVolumeSupportsExtendedSecurityKey.

func KCFURLVolumeSupportsFileCloningKey

func KCFURLVolumeSupportsFileCloningKey() obj.Object

KCFURLVolumeSupportsFileCloningKey returns the value of the constant kCFURLVolumeSupportsFileCloningKey.

func KCFURLVolumeSupportsFileProtectionKey

func KCFURLVolumeSupportsFileProtectionKey() obj.Object

KCFURLVolumeSupportsFileProtectionKey returns the value of the constant kCFURLVolumeSupportsFileProtectionKey.

func KCFURLVolumeSupportsHardLinksKey

func KCFURLVolumeSupportsHardLinksKey() obj.Object

KCFURLVolumeSupportsHardLinksKey returns the value of the constant kCFURLVolumeSupportsHardLinksKey.

func KCFURLVolumeSupportsImmutableFilesKey

func KCFURLVolumeSupportsImmutableFilesKey() obj.Object

KCFURLVolumeSupportsImmutableFilesKey returns the value of the constant kCFURLVolumeSupportsImmutableFilesKey.

func KCFURLVolumeSupportsJournalingKey

func KCFURLVolumeSupportsJournalingKey() obj.Object

KCFURLVolumeSupportsJournalingKey returns the value of the constant kCFURLVolumeSupportsJournalingKey.

func KCFURLVolumeSupportsPersistentIDsKey

func KCFURLVolumeSupportsPersistentIDsKey() obj.Object

KCFURLVolumeSupportsPersistentIDsKey returns the value of the constant kCFURLVolumeSupportsPersistentIDsKey.

func KCFURLVolumeSupportsRenamingKey

func KCFURLVolumeSupportsRenamingKey() obj.Object

KCFURLVolumeSupportsRenamingKey returns the value of the constant kCFURLVolumeSupportsRenamingKey.

func KCFURLVolumeSupportsRootDirectoryDatesKey

func KCFURLVolumeSupportsRootDirectoryDatesKey() obj.Object

KCFURLVolumeSupportsRootDirectoryDatesKey returns the value of the constant kCFURLVolumeSupportsRootDirectoryDatesKey.

func KCFURLVolumeSupportsSparseFilesKey

func KCFURLVolumeSupportsSparseFilesKey() obj.Object

KCFURLVolumeSupportsSparseFilesKey returns the value of the constant kCFURLVolumeSupportsSparseFilesKey.

func KCFURLVolumeSupportsSwapRenamingKey

func KCFURLVolumeSupportsSwapRenamingKey() obj.Object

KCFURLVolumeSupportsSwapRenamingKey returns the value of the constant kCFURLVolumeSupportsSwapRenamingKey.

func KCFURLVolumeSupportsSymbolicLinksKey

func KCFURLVolumeSupportsSymbolicLinksKey() obj.Object

KCFURLVolumeSupportsSymbolicLinksKey returns the value of the constant kCFURLVolumeSupportsSymbolicLinksKey.

func KCFURLVolumeSupportsVolumeSizesKey

func KCFURLVolumeSupportsVolumeSizesKey() obj.Object

KCFURLVolumeSupportsVolumeSizesKey returns the value of the constant kCFURLVolumeSupportsVolumeSizesKey.

func KCFURLVolumeSupportsZeroRunsKey

func KCFURLVolumeSupportsZeroRunsKey() obj.Object

KCFURLVolumeSupportsZeroRunsKey returns the value of the constant kCFURLVolumeSupportsZeroRunsKey.

func KCFURLVolumeTotalCapacityKey

func KCFURLVolumeTotalCapacityKey() obj.Object

KCFURLVolumeTotalCapacityKey returns the value of the constant kCFURLVolumeTotalCapacityKey.

func KCFURLVolumeTypeNameKey

func KCFURLVolumeTypeNameKey() obj.Object

KCFURLVolumeTypeNameKey returns the value of the constant kCFURLVolumeTypeNameKey.

func KCFURLVolumeURLForRemountingKey

func KCFURLVolumeURLForRemountingKey() obj.Object

KCFURLVolumeURLForRemountingKey returns the value of the constant kCFURLVolumeURLForRemountingKey.

func KCFURLVolumeURLKey

func KCFURLVolumeURLKey() obj.Object

KCFURLVolumeURLKey returns the value of the constant kCFURLVolumeURLKey.

func KCFURLVolumeUUIDStringKey

func KCFURLVolumeUUIDStringKey() obj.Object

KCFURLVolumeUUIDStringKey returns the value of the constant kCFURLVolumeUUIDStringKey.

func KCFUserNotificationAlertHeaderKey

func KCFUserNotificationAlertHeaderKey() obj.Object

KCFUserNotificationAlertHeaderKey returns the value of the constant kCFUserNotificationAlertHeaderKey.

func KCFUserNotificationAlertMessageKey

func KCFUserNotificationAlertMessageKey() obj.Object

KCFUserNotificationAlertMessageKey returns the value of the constant kCFUserNotificationAlertMessageKey.

func KCFUserNotificationAlertTopMostKey

func KCFUserNotificationAlertTopMostKey() obj.Object

KCFUserNotificationAlertTopMostKey returns the value of the constant kCFUserNotificationAlertTopMostKey.

func KCFUserNotificationAlternateButtonTitleKey

func KCFUserNotificationAlternateButtonTitleKey() obj.Object

KCFUserNotificationAlternateButtonTitleKey returns the value of the constant kCFUserNotificationAlternateButtonTitleKey.

func KCFUserNotificationCheckBoxTitlesKey

func KCFUserNotificationCheckBoxTitlesKey() obj.Object

KCFUserNotificationCheckBoxTitlesKey returns the value of the constant kCFUserNotificationCheckBoxTitlesKey.

func KCFUserNotificationDefaultButtonTitleKey

func KCFUserNotificationDefaultButtonTitleKey() obj.Object

KCFUserNotificationDefaultButtonTitleKey returns the value of the constant kCFUserNotificationDefaultButtonTitleKey.

func KCFUserNotificationIconURLKey

func KCFUserNotificationIconURLKey() obj.Object

KCFUserNotificationIconURLKey returns the value of the constant kCFUserNotificationIconURLKey.

func KCFUserNotificationKeyboardTypesKey

func KCFUserNotificationKeyboardTypesKey() obj.Object

KCFUserNotificationKeyboardTypesKey returns the value of the constant kCFUserNotificationKeyboardTypesKey.

func KCFUserNotificationLocalizationURLKey

func KCFUserNotificationLocalizationURLKey() obj.Object

KCFUserNotificationLocalizationURLKey returns the value of the constant kCFUserNotificationLocalizationURLKey.

func KCFUserNotificationOtherButtonTitleKey

func KCFUserNotificationOtherButtonTitleKey() obj.Object

KCFUserNotificationOtherButtonTitleKey returns the value of the constant kCFUserNotificationOtherButtonTitleKey.

func KCFUserNotificationPopUpSelectionKey

func KCFUserNotificationPopUpSelectionKey() obj.Object

KCFUserNotificationPopUpSelectionKey returns the value of the constant kCFUserNotificationPopUpSelectionKey.

func KCFUserNotificationPopUpTitlesKey

func KCFUserNotificationPopUpTitlesKey() obj.Object

KCFUserNotificationPopUpTitlesKey returns the value of the constant kCFUserNotificationPopUpTitlesKey.

func KCFUserNotificationProgressIndicatorValueKey

func KCFUserNotificationProgressIndicatorValueKey() obj.Object

KCFUserNotificationProgressIndicatorValueKey returns the value of the constant kCFUserNotificationProgressIndicatorValueKey.

func KCFUserNotificationSoundURLKey

func KCFUserNotificationSoundURLKey() obj.Object

KCFUserNotificationSoundURLKey returns the value of the constant kCFUserNotificationSoundURLKey.

func KCFUserNotificationTextFieldTitlesKey

func KCFUserNotificationTextFieldTitlesKey() obj.Object

KCFUserNotificationTextFieldTitlesKey returns the value of the constant kCFUserNotificationTextFieldTitlesKey.

func KCFUserNotificationTextFieldValuesKey

func KCFUserNotificationTextFieldValuesKey() obj.Object

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

func KCFXMLTreeErrorDescription() obj.Object

KCFXMLTreeErrorDescription returns the value of the constant kCFXMLTreeErrorDescription.

func KCFXMLTreeErrorLineNumber

func KCFXMLTreeErrorLineNumber() obj.Object

KCFXMLTreeErrorLineNumber returns the value of the constant kCFXMLTreeErrorLineNumber.

func KCFXMLTreeErrorLocation

func KCFXMLTreeErrorLocation() obj.Object

KCFXMLTreeErrorLocation returns the value of the constant kCFXMLTreeErrorLocation.

func KCFXMLTreeErrorStatusCode

func KCFXMLTreeErrorStatusCode() obj.Object

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

type CFAllocatorRef struct{ obj.Object }

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 CFArray

type CFArray struct{}

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

type CFArrayRef struct{ obj.Object }

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

type CFAttributedStringRef struct{ obj.Object }

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 CFBag

type CFBag struct{}

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

type CFBagRef struct{ obj.Object }

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.

func (CFBagRef) IsNil added in v0.18.0

func (h CFBagRef) IsNil() bool

IsNil reports whether CFBagRef is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.

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

type CFBinaryHeapRef struct{ obj.Object }

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

type CFBitVectorRef struct{ obj.Object }

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 CFBoolean

type CFBoolean struct{}

type CFBooleanRef added in v0.18.0

type CFBooleanRef struct{ obj.Object }

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 CFBundle

type CFBundle struct{}

type CFBundleRef added in v0.18.0

type CFBundleRef struct{ obj.Object }

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

type CFCalendarRef struct{ obj.Object }

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

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

type CFCharacterSetRef struct{ obj.Object }

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 CFData

type CFData struct{}

type CFDataRef added in v0.18.0

type CFDataRef struct{ obj.Object }

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.

func (CFDataRef) IsNil added in v0.18.0

func (h CFDataRef) IsNil() bool

IsNil reports whether CFDataRef is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.

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 CFDate

type CFDate struct{}

type CFDateFormatter

type CFDateFormatter struct{}

type CFDateFormatterRef added in v0.18.0

type CFDateFormatterRef struct{ obj.Object }

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

type CFDateRef struct{ obj.Object }

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.

func (CFDateRef) IsNil added in v0.18.0

func (h CFDateRef) IsNil() bool

IsNil reports whether CFDateRef is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.

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

type CFDictionaryRef struct{ obj.Object }

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 CFError

type CFError struct{}

type CFErrorRef added in v0.18.0

type CFErrorRef struct{ obj.Object }

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

type CFFileDescriptorRef struct{ obj.Object }

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

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

type CFFileSecurityRef struct{ obj.Object }

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

type CFGregorianDate struct {
	Year   int32
	Month  int8
	Day    int8
	Hour   int8
	Minute int8
	Second float64
}

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

type CFHTTPAuthenticationRef struct{ obj.Object }

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

type CFHTTPMessageRef struct{ obj.Object }

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 CFHostRef added in v0.18.0

type CFHostRef struct{ obj.Object }

CFHostRef is a handle for the opaque CFHostRef type.

func (CFHostRef) IsNil added in v0.18.0

func (h CFHostRef) IsNil() bool

IsNil reports whether CFHostRef 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

String returns the CFISO8601DateFormatOptions constant's name, or its numeric form when the value is not a known constant.

type CFLocale

type CFLocale struct{}

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

type CFLocaleRef struct{ obj.Object }

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

type CFMachPortRef struct{ obj.Object }

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

type CFMessagePortRef struct{ obj.Object }

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

type CFMutableArrayRef struct{ obj.Object }

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

type CFMutableAttributedStringRef struct{ obj.Object }

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

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

type CFMutableBagRef struct{ obj.Object }

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

type CFMutableBitVectorRef struct{ obj.Object }

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

type CFMutableCharacterSetRef struct{ obj.Object }

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

type CFMutableDataRef struct{ obj.Object }

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

type CFMutableDictionaryRef struct{ obj.Object }

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

type CFMutableSetRef struct{ obj.Object }

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

type CFMutableStringRef struct{ obj.Object }

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

type CFNetDiagnosticRef struct{ obj.Object }

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

type CFNetServiceBrowserRef struct{ obj.Object }

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

type CFNetServiceMonitorRef struct{ obj.Object }

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

type CFNetServiceRef struct{ obj.Object }

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

type CFNotificationCenterRef struct{ obj.Object }

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

String returns the CFNotificationSuspensionBehavior constant's name, or its numeric form when the value is not a known constant.

type CFNull

type CFNull struct{}

type CFNullRef added in v0.18.0

type CFNullRef struct{ obj.Object }

CFNullRef is a handle for the opaque CFNullRef type.

func (CFNullRef) IsNil added in v0.18.0

func (h CFNullRef) IsNil() bool

IsNil reports whether CFNullRef is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.

type CFNumber

type CFNumber struct{}

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

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

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

type CFNumberFormatterRef struct{ obj.Object }

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

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

type CFNumberRef struct{ obj.Object }

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

type CFPlugInInstanceRef struct{ obj.Object }

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

type CFPlugInRef struct{ obj.Object }

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

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

type CFPropertyListRef struct{ obj.Object }

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

type CFRange struct {
	Location int
	Length   int
}

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

func CFRangeMake(loc int, length int) CFRange

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

type CFReadStreamRef struct{ obj.Object }

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 CFRunLoop

type CFRunLoop struct{}

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

type CFRunLoopObserverRef struct{ obj.Object }

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

type CFRunLoopRef struct{ obj.Object }

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

type CFRunLoopSourceRef struct{ obj.Object }

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

type CFRunLoopTimerRef struct{ obj.Object }

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 CFSet

type CFSet struct{}

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

type CFSetRef struct{ obj.Object }

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.

func (CFSetRef) IsNil added in v0.18.0

func (h CFSetRef) IsNil() bool

IsNil reports whether CFSetRef is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.

type CFSocket

type CFSocket struct{}

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

type CFSocketRef struct{ obj.Object }

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

type CFStreamError struct {
	Domain int
	Error  int32
}

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 CFString

type CFString struct{}

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

type CFStringRef struct{ obj.Object }

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

type CFStringTokenizerRef struct{ obj.Object }

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

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

type CFTimeZoneRef struct{ obj.Object }

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 CFTree

type CFTree struct{}

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

type CFTreeRef struct{ obj.Object }

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

func CFTreeFindRoot(tree CFTreeRef) CFTreeRef

CFTreeFindRoot calls the CoreFoundation framework function CFTreeFindRoot.

func CFTreeGetChildAtIndex

func CFTreeGetChildAtIndex(tree CFTreeRef, idx int) CFTreeRef

CFTreeGetChildAtIndex calls the CoreFoundation framework function CFTreeGetChildAtIndex.

func CFTreeGetFirstChild

func CFTreeGetFirstChild(tree CFTreeRef) CFTreeRef

CFTreeGetFirstChild calls the CoreFoundation framework function CFTreeGetFirstChild.

func CFTreeGetNextSibling

func CFTreeGetNextSibling(tree CFTreeRef) CFTreeRef

CFTreeGetNextSibling calls the CoreFoundation framework function CFTreeGetNextSibling.

func CFTreeGetParent

func CFTreeGetParent(tree CFTreeRef) CFTreeRef

CFTreeGetParent calls the CoreFoundation framework function CFTreeGetParent.

func (CFTreeRef) IsNil added in v0.18.0

func (h CFTreeRef) IsNil() bool

IsNil reports whether CFTreeRef is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.

type CFURL

type CFURL struct{}

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

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

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

type CFURLEnumeratorRef struct{ obj.Object }

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
	// Indicates a remote host is unavailable.
	KCFURLRemoteHostUnavailableError CFURLError = -14
	// Indicates one or more arguments are improper.
	KCFURLImproperArgumentsError CFURLError = -15
	// Indicates a property key is unknown.
	KCFURLUnknownPropertyKeyError CFURLError = -16
	// Indicates a property key was unavailable.
	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

type CFURLRef struct{ obj.Object }

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

func CFURLCopyAbsoluteURL(relativeURL CFURLRef) CFURLRef

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

func CFURLGetBaseURL(anURL CFURLRef) CFURLRef

CFURLGetBaseURL calls the CoreFoundation framework function CFURLGetBaseURL.

func CFXMLParserGetSourceURL

func CFXMLParserGetSourceURL(parser CFXMLParserRef) CFURLRef

CFXMLParserGetSourceURL calls the CoreFoundation framework function CFXMLParserGetSourceURL.

func (CFURLRef) IsNil added in v0.18.0

func (h CFURLRef) IsNil() bool

IsNil reports whether CFURLRef is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.

type CFUUID

type CFUUID struct{}

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

type CFUUIDRef struct{ obj.Object }

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.

func (CFUUIDRef) IsNil added in v0.18.0

func (h CFUUIDRef) IsNil() bool

IsNil reports whether CFUUIDRef is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.

type CFUserNotification

type CFUserNotification struct{}

type CFUserNotificationRef added in v0.18.0

type CFUserNotificationRef struct{ obj.Object }

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

type CFWriteStreamRef struct{ obj.Object }

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

type CFXMLAttributeListDeclarationInfo struct {
	NumberOfAttributes int
	Attributes         unsafe.Pointer
}

Contains a list of the attributes associated with an element.

type CFXMLDocumentInfo

type CFXMLDocumentInfo struct {
	SourceURL unsafe.Pointer
	Encoding  uint32
}

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

type CFXMLElementTypeDeclarationInfo struct {
	ContentDescription unsafe.Pointer
}

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 CFXMLNode

type CFXMLNode struct{}

type CFXMLNodeRef added in v0.18.0

type CFXMLNodeRef struct{ obj.Object }

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 &lt;. 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

type CFXMLParserRef struct{ obj.Object }

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

type CFXMLProcessingInstructionInfo struct {
	DataString unsafe.Pointer
}

Contains the text of the processing instruction.

type CFXMLTreeRef added in v0.18.0

type CFXMLTreeRef struct{ obj.Object }

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 CGAffineTransform struct {
	A  float64
	B  float64
	C  float64
	D  float64
	Tx float64
	Ty float64
}

type CGAffineTransformComponents

type CGAffineTransformComponents struct {
	Scale           CGSize
	HorizontalShear float64
	Rotation        float64
	Translation     CGVector
}

type CGPoint

type CGPoint struct {
	X float64
	Y float64
}

type CGRect

type CGRect struct {
	Origin CGPoint
	Size   CGSize
}

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 CGSize

type CGSize struct {
	Width  float64
	Height float64
}

A structure that contains width and height values.

type CGVector

type CGVector struct {
	Dx float64
	Dy float64
}

A structure that contains a two-dimensional vector.

type Clockid added in v0.17.0

type Clockid int32
const (
	ClockidRealtime           Clockid = 0
	ClockidMonotonic          Clockid = 6
	ClockidMonotonicRaw       Clockid = 4
	ClockidMonotonicRawApprox Clockid = 5
	ClockidUptimeRaw          Clockid = 8
	ClockidUptimeRawApprox    Clockid = 9
	ClockidProcessCputimeID   Clockid = 12
	ClockidThreadCputimeID    Clockid = 16
)

func (Clockid) String added in v0.17.0

func (e Clockid) String() string

String returns the Clockid 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

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 EntryID added in v0.17.0

type EntryID int32
const (
	EntryIDFirstEntry EntryID = 0
	EntryIDNextEntry  EntryID = -1
	EntryIDLastEntry  EntryID = -2
)

func (EntryID) String added in v0.17.0

func (e EntryID) String() string

String returns the EntryID constant's name, or its numeric form when the value is not a known constant.

type FSRef

type FSRef struct{}

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 Flag added in v0.17.0

type Flag int32
const (
	FlagFlagDeferInherit      Flag = 1
	FlagFlagNoInherit         Flag = 131072
	FlagEntryInherited        Flag = 16
	FlagEntryFileInherit      Flag = 32
	FlagEntryDirectoryInherit Flag = 64
	FlagEntryLimitInherit     Flag = 128
	FlagEntryOnlyInherit      Flag = 256
)

func (Flag) String added in v0.17.0

func (e Flag) String() string

String returns the Flag constant's name, or its numeric form when the value is not a known constant.

type Idtype added in v0.17.0

type Idtype int32
const (
	IdtypeAll  Idtype = 0
	IdtypePid  Idtype = 1
	IdtypePgid Idtype = 2
)

func (Idtype) String added in v0.17.0

func (e Idtype) String() string

String returns the Idtype constant's name, or its numeric form when the value is not a known constant.

type MallocZoneT

type MallocZoneT struct{ obj.Object }

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
)

func (MpoFlags) String added in v0.17.0

func (e MpoFlags) String() string

String returns the MpoFlags constant's name, or its numeric form when the value is not a known constant.

type OSClockid added in v0.17.0

type OSClockid uint32
const (
	OSClockidTime OSClockid = 32
)

func (OSClockid) String added in v0.17.0

func (e OSClockid) String() string

String returns the OSClockid constant's name, or its numeric form when the value is not a known constant.

type ObjcZoneT added in v0.18.0

type ObjcZoneT struct{ obj.Object }

ObjcZoneT is a handle for the opaque objc_zone_t type.

func (ObjcZoneT) IsNil added in v0.18.0

func (h ObjcZoneT) IsNil() bool

IsNil reports whether ObjcZoneT is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.

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
)

func (Perm) String added in v0.17.0

func (e Perm) String() string

String returns the Perm constant's name, or its numeric form when the value is not a known constant.

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.

type QosClass added in v0.17.0

type QosClass uint32
const (
	QosClassUserInteractive QosClass = 33
	QosClassUserInitiated   QosClass = 25
	QosClassDefault         QosClass = 21
	QosClassUtility         QosClass = 17
	QosClassBackground      QosClass = 9
	QosClassUnspecified     QosClass = 0
)

func (QosClass) String added in v0.17.0

func (e QosClass) String() string

String returns the QosClass constant's name, or its numeric form when the value is not a known constant.

type Tag added in v0.17.0

type Tag int32
const (
	TagUndefinedTag  Tag = 0
	TagExtendedAllow Tag = 1
	TagExtendedDeny  Tag = 2
)

func (Tag) String added in v0.17.0

func (e Tag) String() string

String returns the Tag constant's name, or its numeric form when the value is not a known constant.

type Type added in v0.17.0

type Type int32
const (
	TypeExtended Type = 256
	TypeAccess   Type = 0
	TypeDefault  Type = 1
	TypeAfs      Type = 2
	TypeCoda     Type = 3
	TypeNtfs     Type = 4
	TypeNwfs     Type = 5
)

func (Type) String added in v0.17.0

func (e Type) String() string

String returns the Type constant's name, or its numeric form when the value is not a known constant.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL