colorsync

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 colorsync provides a fluent Go API over the macOS ColorSync 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 (
	KColorSyncAlphaInfoMask     = 31
	KColorSyncByteOrder16Big    = 12288
	KColorSyncByteOrder16Little = 4096
	KColorSyncByteOrder32Big    = 16384
	KColorSyncByteOrder32Little = 8192
	KColorSyncByteOrderDefault  = 0
	KColorSyncByteOrderMask     = 28672
)

Variables

This section is empty.

Functions

func CGDisplayCreateUUIDFromDisplayID

func CGDisplayCreateUUIDFromDisplayID(displayID uint32) corefoundation.CFUUIDRef

CGDisplayCreateUUIDFromDisplayID calls the ColorSync framework function CGDisplayCreateUUIDFromDisplayID.

func CGDisplayGetDisplayIDFromUUID

func CGDisplayGetDisplayIDFromUUID(uuid corefoundation.CFUUIDRef) uint32

CGDisplayGetDisplayIDFromUUID calls the ColorSync framework function CGDisplayGetDisplayIDFromUUID.

func ColorSyncAPIVersion

func ColorSyncAPIVersion() uint32

ColorSyncAPIVersion calls the ColorSync framework function ColorSyncAPIVersion.

func ColorSyncCMMCopyCMMIdentifier

func ColorSyncCMMCopyCMMIdentifier(arg ColorSyncCMMRef) corefoundation.CFStringRef

ColorSyncCMMCopyCMMIdentifier calls the ColorSync framework function ColorSyncCMMCopyCMMIdentifier.

func ColorSyncCMMCopyLocalizedName

func ColorSyncCMMCopyLocalizedName(arg ColorSyncCMMRef) corefoundation.CFStringRef

ColorSyncCMMCopyLocalizedName calls the ColorSync framework function ColorSyncCMMCopyLocalizedName.

func ColorSyncCMMGetBundle

func ColorSyncCMMGetBundle(arg ColorSyncCMMRef) corefoundation.CFBundleRef

ColorSyncCMMGetBundle calls the ColorSync framework function ColorSyncCMMGetBundle.

func ColorSyncCMMGetTypeID

func ColorSyncCMMGetTypeID() int

ColorSyncCMMGetTypeID calls the ColorSync framework function ColorSyncCMMGetTypeID.

func ColorSyncCreateCodeFragment

func ColorSyncCreateCodeFragment(profileSequence corefoundation.CFArrayRef, options corefoundation.CFDictionaryRef) obj.Object

ColorSyncCreateCodeFragment calls the ColorSync framework function ColorSyncCreateCodeFragment.

func ColorSyncDeviceCopyDeviceInfo

func ColorSyncDeviceCopyDeviceInfo(deviceClass corefoundation.CFStringRef, devID corefoundation.CFUUIDRef) corefoundation.CFDictionaryRef

ColorSyncDeviceCopyDeviceInfo calls the ColorSync framework function ColorSyncDeviceCopyDeviceInfo.

func ColorSyncDeviceSetCustomProfiles

func ColorSyncDeviceSetCustomProfiles(deviceClass corefoundation.CFStringRef, deviceID corefoundation.CFUUIDRef, profileInfo corefoundation.CFDictionaryRef) bool

ColorSyncDeviceSetCustomProfiles calls the ColorSync framework function ColorSyncDeviceSetCustomProfiles.

func ColorSyncIterateDeviceProfiles

func ColorSyncIterateDeviceProfiles(callBack unsafe.Pointer, userInfo unsafe.Pointer)

ColorSyncIterateDeviceProfiles calls the ColorSync framework function ColorSyncIterateDeviceProfiles.

func ColorSyncIterateInstalledCMMs

func ColorSyncIterateInstalledCMMs(callBack unsafe.Pointer, userInfo unsafe.Pointer)

ColorSyncIterateInstalledCMMs calls the ColorSync framework function ColorSyncIterateInstalledCMMs.

func ColorSyncIterateInstalledProfiles

func ColorSyncIterateInstalledProfiles(callBack unsafe.Pointer, userInfo unsafe.Pointer, err unsafe.Pointer) (seed uint32)

ColorSyncIterateInstalledProfiles calls the ColorSync framework function ColorSyncIterateInstalledProfiles.

func ColorSyncIterateInstalledProfilesWithOptions

func ColorSyncIterateInstalledProfilesWithOptions(callBack unsafe.Pointer, userInfo unsafe.Pointer, options corefoundation.CFDictionaryRef, err unsafe.Pointer) (seed uint32)

ColorSyncIterateInstalledProfilesWithOptions calls the ColorSync framework function ColorSyncIterateInstalledProfilesWithOptions.

func ColorSyncProfileContainsTag

func ColorSyncProfileContainsTag(prof ColorSyncProfileRef, signature corefoundation.CFStringRef) bool

ColorSyncProfileContainsTag calls the ColorSync framework function ColorSyncProfileContainsTag.

func ColorSyncProfileCopyData

func ColorSyncProfileCopyData(prof ColorSyncProfileRef) (obj.Object, error)

func ColorSyncProfileCopyDescriptionString

func ColorSyncProfileCopyDescriptionString(prof ColorSyncProfileRef) corefoundation.CFStringRef

ColorSyncProfileCopyDescriptionString calls the ColorSync framework function ColorSyncProfileCopyDescriptionString.

func ColorSyncProfileCopyHeader

func ColorSyncProfileCopyHeader(prof ColorSyncProfileRef) corefoundation.CFDataRef

ColorSyncProfileCopyHeader calls the ColorSync framework function ColorSyncProfileCopyHeader.

func ColorSyncProfileCopyTag

func ColorSyncProfileCopyTag(prof ColorSyncProfileRef, signature corefoundation.CFStringRef) corefoundation.CFDataRef

ColorSyncProfileCopyTag calls the ColorSync framework function ColorSyncProfileCopyTag.

func ColorSyncProfileCopyTagSignatures

func ColorSyncProfileCopyTagSignatures(prof ColorSyncProfileRef) corefoundation.CFArrayRef

ColorSyncProfileCopyTagSignatures calls the ColorSync framework function ColorSyncProfileCopyTagSignatures.

func ColorSyncProfileCreate

func ColorSyncProfileCreate(data corefoundation.CFDataRef) (obj.Object, error)

func ColorSyncProfileCreateDisplayTransferTablesFromVCGT

func ColorSyncProfileCreateDisplayTransferTablesFromVCGT(profile ColorSyncProfileRef) (result corefoundation.CFDataRef, nSamplesPerChannel int)

ColorSyncProfileCreateDisplayTransferTablesFromVCGT calls the ColorSync framework function ColorSyncProfileCreateDisplayTransferTablesFromVCGT.

func ColorSyncProfileCreateWithURL

func ColorSyncProfileCreateWithURL(url corefoundation.CFURLRef) (obj.Object, error)

func ColorSyncProfileCreateWithURLAndOptions

func ColorSyncProfileCreateWithURLAndOptions(url corefoundation.CFURLRef, options corefoundation.CFDictionaryRef) (obj.Object, error)

func ColorSyncProfileEstimateGamma

func ColorSyncProfileEstimateGamma(prof ColorSyncProfileRef) (obj.Object, error)

func ColorSyncProfileEstimateGammaWithDisplayID

func ColorSyncProfileEstimateGammaWithDisplayID(displayID int) (obj.Object, error)

func ColorSyncProfileGetDisplayTransferFormulaFromVCGT

func ColorSyncProfileGetDisplayTransferFormulaFromVCGT(profile ColorSyncProfileRef) (ok bool, redMin float32, redMax float32, redGamma float32, greenMin float32, greenMax float32, greenGamma float32, blueMin float32, blueMax float32, blueGamma float32)

ColorSyncProfileGetDisplayTransferFormulaFromVCGT calls the ColorSync framework function ColorSyncProfileGetDisplayTransferFormulaFromVCGT.

func ColorSyncProfileGetTypeID

func ColorSyncProfileGetTypeID() int

ColorSyncProfileGetTypeID calls the ColorSync framework function ColorSyncProfileGetTypeID.

func ColorSyncProfileGetURL

func ColorSyncProfileGetURL(prof ColorSyncProfileRef) (obj.Object, error)

func ColorSyncProfileInstall

func ColorSyncProfileInstall(profile ColorSyncProfileRef, domain corefoundation.CFStringRef, subpath corefoundation.CFStringRef) error

func ColorSyncProfileIsHLGBased

func ColorSyncProfileIsHLGBased(arg ColorSyncProfileRef) bool

ColorSyncProfileIsHLGBased calls the ColorSync framework function ColorSyncProfileIsHLGBased.

func ColorSyncProfileIsMatrixBased

func ColorSyncProfileIsMatrixBased(arg ColorSyncProfileRef) bool

ColorSyncProfileIsMatrixBased calls the ColorSync framework function ColorSyncProfileIsMatrixBased.

func ColorSyncProfileIsPQBased

func ColorSyncProfileIsPQBased(arg ColorSyncProfileRef) bool

ColorSyncProfileIsPQBased calls the ColorSync framework function ColorSyncProfileIsPQBased.

func ColorSyncProfileIsWideGamut

func ColorSyncProfileIsWideGamut(arg ColorSyncProfileRef) bool

ColorSyncProfileIsWideGamut calls the ColorSync framework function ColorSyncProfileIsWideGamut.

func ColorSyncProfileRemoveTag

func ColorSyncProfileRemoveTag(prof ColorSyncMutableProfileRef, signature corefoundation.CFStringRef)

ColorSyncProfileRemoveTag calls the ColorSync framework function ColorSyncProfileRemoveTag.

func ColorSyncProfileSetHeader

func ColorSyncProfileSetHeader(prof ColorSyncMutableProfileRef, header corefoundation.CFDataRef)

ColorSyncProfileSetHeader calls the ColorSync framework function ColorSyncProfileSetHeader.

func ColorSyncProfileSetTag

func ColorSyncProfileSetTag(prof ColorSyncMutableProfileRef, signature corefoundation.CFStringRef, data corefoundation.CFDataRef)

ColorSyncProfileSetTag calls the ColorSync framework function ColorSyncProfileSetTag.

func ColorSyncProfileUninstall

func ColorSyncProfileUninstall(profile ColorSyncProfileRef) error

func ColorSyncProfileVerify

func ColorSyncProfileVerify(prof ColorSyncProfileRef, errors_ unsafe.Pointer) error

func ColorSyncRegisterDevice

func ColorSyncRegisterDevice(deviceClass corefoundation.CFStringRef, deviceID corefoundation.CFUUIDRef, deviceInfo corefoundation.CFDictionaryRef) bool

ColorSyncRegisterDevice calls the ColorSync framework function ColorSyncRegisterDevice.

func ColorSyncTransformConvert

func ColorSyncTransformConvert(transform ColorSyncTransformRef, width int, height int, dst unsafe.Pointer, dstDepth ColorSyncDataDepth, dstLayout uint32, dstBytesPerRow int, src unsafe.Pointer, srcDepth ColorSyncDataDepth, srcLayout uint32, srcBytesPerRow int, options corefoundation.CFDictionaryRef) bool

ColorSyncTransformConvert calls the ColorSync framework function ColorSyncTransformConvert.

func ColorSyncTransformCopyProperty

func ColorSyncTransformCopyProperty(transform ColorSyncTransformRef, key obj.Object, options corefoundation.CFDictionaryRef) obj.Object

ColorSyncTransformCopyProperty calls the ColorSync framework function ColorSyncTransformCopyProperty.

func ColorSyncTransformGetProfileSequence

func ColorSyncTransformGetProfileSequence(transform ColorSyncTransformRef) corefoundation.CFArrayRef

ColorSyncTransformGetProfileSequence calls the ColorSync framework function ColorSyncTransformGetProfileSequence.

func ColorSyncTransformGetTypeID

func ColorSyncTransformGetTypeID() int

ColorSyncTransformGetTypeID calls the ColorSync framework function ColorSyncTransformGetTypeID.

func ColorSyncTransformSetProperty

func ColorSyncTransformSetProperty(transform ColorSyncTransformRef, key obj.Object, property obj.Object)

ColorSyncTransformSetProperty calls the ColorSync framework function ColorSyncTransformSetProperty.

func ColorSyncUnregisterDevice

func ColorSyncUnregisterDevice(deviceClass corefoundation.CFStringRef, deviceID corefoundation.CFUUIDRef) bool

ColorSyncUnregisterDevice calls the ColorSync framework function ColorSyncUnregisterDevice.

func KCMMApplyTransformProcName

func KCMMApplyTransformProcName() obj.Object

KCMMApplyTransformProcName returns the value of the constant kCMMApplyTransformProcName.

func KCMMCreateTransformPropertyProcName

func KCMMCreateTransformPropertyProcName() obj.Object

KCMMCreateTransformPropertyProcName returns the value of the constant kCMMCreateTransformPropertyProcName.

func KCMMInitializeLinkProfileProcName

func KCMMInitializeLinkProfileProcName() obj.Object

KCMMInitializeLinkProfileProcName returns the value of the constant kCMMInitializeLinkProfileProcName.

func KCMMInitializeTransformProcName

func KCMMInitializeTransformProcName() obj.Object

KCMMInitializeTransformProcName returns the value of the constant kCMMInitializeTransformProcName.

func KColorSyncACESCGLinearProfile

func KColorSyncACESCGLinearProfile() obj.Object

KColorSyncACESCGLinearProfile returns the value of the constant kColorSyncACESCGLinearProfile.

func KColorSyncAdobeRGB1998Profile

func KColorSyncAdobeRGB1998Profile() obj.Object

KColorSyncAdobeRGB1998Profile returns the value of the constant kColorSyncAdobeRGB1998Profile.

func KColorSyncBestQuality

func KColorSyncBestQuality() obj.Object

KColorSyncBestQuality returns the value of the constant kColorSyncBestQuality.

func KColorSyncBlackPointCompensation

func KColorSyncBlackPointCompensation() obj.Object

KColorSyncBlackPointCompensation returns the value of the constant kColorSyncBlackPointCompensation.

func KColorSyncCameraDeviceClass

func KColorSyncCameraDeviceClass() obj.Object

KColorSyncCameraDeviceClass returns the value of the constant kColorSyncCameraDeviceClass.

func KColorSyncConversion1DLut

func KColorSyncConversion1DLut() obj.Object

KColorSyncConversion1DLut returns the value of the constant kColorSyncConversion1DLut.

func KColorSyncConversion3DLut

func KColorSyncConversion3DLut() obj.Object

KColorSyncConversion3DLut returns the value of the constant kColorSyncConversion3DLut.

func KColorSyncConversionBPC

func KColorSyncConversionBPC() obj.Object

KColorSyncConversionBPC returns the value of the constant kColorSyncConversionBPC.

func KColorSyncConversionChannelID

func KColorSyncConversionChannelID() obj.Object

KColorSyncConversionChannelID returns the value of the constant kColorSyncConversionChannelID.

func KColorSyncConversionGridPoints

func KColorSyncConversionGridPoints() obj.Object

KColorSyncConversionGridPoints returns the value of the constant kColorSyncConversionGridPoints.

func KColorSyncConversionInpChan

func KColorSyncConversionInpChan() obj.Object

KColorSyncConversionInpChan returns the value of the constant kColorSyncConversionInpChan.

func KColorSyncConversionMatrix

func KColorSyncConversionMatrix() obj.Object

KColorSyncConversionMatrix returns the value of the constant kColorSyncConversionMatrix.

func KColorSyncConversionNDLut

func KColorSyncConversionNDLut() obj.Object

KColorSyncConversionNDLut returns the value of the constant kColorSyncConversionNDLut.

func KColorSyncConversionOutChan

func KColorSyncConversionOutChan() obj.Object

KColorSyncConversionOutChan returns the value of the constant kColorSyncConversionOutChan.

func KColorSyncConversionParamCurve0

func KColorSyncConversionParamCurve0() obj.Object

KColorSyncConversionParamCurve0 returns the value of the constant kColorSyncConversionParamCurve0.

func KColorSyncConversionParamCurve1

func KColorSyncConversionParamCurve1() obj.Object

KColorSyncConversionParamCurve1 returns the value of the constant kColorSyncConversionParamCurve1.

func KColorSyncConversionParamCurve2

func KColorSyncConversionParamCurve2() obj.Object

KColorSyncConversionParamCurve2 returns the value of the constant kColorSyncConversionParamCurve2.

func KColorSyncConversionParamCurve3

func KColorSyncConversionParamCurve3() obj.Object

KColorSyncConversionParamCurve3 returns the value of the constant kColorSyncConversionParamCurve3.

func KColorSyncConversionParamCurve4

func KColorSyncConversionParamCurve4() obj.Object

KColorSyncConversionParamCurve4 returns the value of the constant kColorSyncConversionParamCurve4.

func KColorSyncConvertQuality

func KColorSyncConvertQuality() obj.Object

KColorSyncConvertQuality returns the value of the constant kColorSyncConvertQuality.

func KColorSyncConvertUseExtendedRange

func KColorSyncConvertUseExtendedRange() obj.Object

KColorSyncConvertUseExtendedRange returns the value of the constant kColorSyncConvertUseExtendedRange.

func KColorSyncCustomProfiles

func KColorSyncCustomProfiles() obj.Object

KColorSyncCustomProfiles returns the value of the constant kColorSyncCustomProfiles.

func KColorSyncDCIP3Profile

func KColorSyncDCIP3Profile() obj.Object

KColorSyncDCIP3Profile returns the value of the constant kColorSyncDCIP3Profile.

func KColorSyncDeviceClass

func KColorSyncDeviceClass() obj.Object

KColorSyncDeviceClass returns the value of the constant kColorSyncDeviceClass.

func KColorSyncDeviceDefaultProfileID

func KColorSyncDeviceDefaultProfileID() obj.Object

KColorSyncDeviceDefaultProfileID returns the value of the constant kColorSyncDeviceDefaultProfileID.

func KColorSyncDeviceDescription

func KColorSyncDeviceDescription() obj.Object

KColorSyncDeviceDescription returns the value of the constant kColorSyncDeviceDescription.

func KColorSyncDeviceDescriptions

func KColorSyncDeviceDescriptions() obj.Object

KColorSyncDeviceDescriptions returns the value of the constant kColorSyncDeviceDescriptions.

func KColorSyncDeviceHostScope

func KColorSyncDeviceHostScope() obj.Object

KColorSyncDeviceHostScope returns the value of the constant kColorSyncDeviceHostScope.

func KColorSyncDeviceID

func KColorSyncDeviceID() obj.Object

KColorSyncDeviceID returns the value of the constant kColorSyncDeviceID.

func KColorSyncDeviceModeDescription

func KColorSyncDeviceModeDescription() obj.Object

KColorSyncDeviceModeDescription returns the value of the constant kColorSyncDeviceModeDescription.

func KColorSyncDeviceModeDescriptions

func KColorSyncDeviceModeDescriptions() obj.Object

KColorSyncDeviceModeDescriptions returns the value of the constant kColorSyncDeviceModeDescriptions.

func KColorSyncDeviceProfileID

func KColorSyncDeviceProfileID() obj.Object

KColorSyncDeviceProfileID returns the value of the constant kColorSyncDeviceProfileID.

func KColorSyncDeviceProfileIsCurrent

func KColorSyncDeviceProfileIsCurrent() obj.Object

KColorSyncDeviceProfileIsCurrent returns the value of the constant kColorSyncDeviceProfileIsCurrent.

func KColorSyncDeviceProfileIsDefault

func KColorSyncDeviceProfileIsDefault() obj.Object

KColorSyncDeviceProfileIsDefault returns the value of the constant kColorSyncDeviceProfileIsDefault.

func KColorSyncDeviceProfileIsFactory

func KColorSyncDeviceProfileIsFactory() obj.Object

KColorSyncDeviceProfileIsFactory returns the value of the constant kColorSyncDeviceProfileIsFactory.

func KColorSyncDeviceProfileURL

func KColorSyncDeviceProfileURL() obj.Object

KColorSyncDeviceProfileURL returns the value of the constant kColorSyncDeviceProfileURL.

func KColorSyncDeviceProfilesNotification

func KColorSyncDeviceProfilesNotification() obj.Object

KColorSyncDeviceProfilesNotification returns the value of the constant kColorSyncDeviceProfilesNotification.

func KColorSyncDeviceRegisteredNotification

func KColorSyncDeviceRegisteredNotification() obj.Object

KColorSyncDeviceRegisteredNotification returns the value of the constant kColorSyncDeviceRegisteredNotification.

func KColorSyncDeviceUnregisteredNotification

func KColorSyncDeviceUnregisteredNotification() obj.Object

KColorSyncDeviceUnregisteredNotification returns the value of the constant kColorSyncDeviceUnregisteredNotification.

func KColorSyncDeviceUserScope

func KColorSyncDeviceUserScope() obj.Object

KColorSyncDeviceUserScope returns the value of the constant kColorSyncDeviceUserScope.

func KColorSyncDisplayDeviceClass

func KColorSyncDisplayDeviceClass() obj.Object

KColorSyncDisplayDeviceClass returns the value of the constant kColorSyncDisplayDeviceClass.

func KColorSyncDisplayDeviceProfilesNotification

func KColorSyncDisplayDeviceProfilesNotification() obj.Object

KColorSyncDisplayDeviceProfilesNotification returns the value of the constant kColorSyncDisplayDeviceProfilesNotification.

func KColorSyncDisplayP3Profile

func KColorSyncDisplayP3Profile() obj.Object

KColorSyncDisplayP3Profile returns the value of the constant kColorSyncDisplayP3Profile.

func KColorSyncDoNotSubstituteProfiles

func KColorSyncDoNotSubstituteProfiles() obj.Object

KColorSyncDoNotSubstituteProfiles returns the value of the constant kColorSyncDoNotSubstituteProfiles.

func KColorSyncDraftQuality

func KColorSyncDraftQuality() obj.Object

KColorSyncDraftQuality returns the value of the constant kColorSyncDraftQuality.

func KColorSyncExtendedRange

func KColorSyncExtendedRange() obj.Object

KColorSyncExtendedRange returns the value of the constant kColorSyncExtendedRange.

func KColorSyncFactoryProfiles

func KColorSyncFactoryProfiles() obj.Object

KColorSyncFactoryProfiles returns the value of the constant kColorSyncFactoryProfiles.

func KColorSyncFixedPointRange

func KColorSyncFixedPointRange() obj.Object

KColorSyncFixedPointRange returns the value of the constant kColorSyncFixedPointRange.

func KColorSyncGenericCMYKProfile

func KColorSyncGenericCMYKProfile() obj.Object

KColorSyncGenericCMYKProfile returns the value of the constant kColorSyncGenericCMYKProfile.

func KColorSyncGenericGrayGamma22Profile

func KColorSyncGenericGrayGamma22Profile() obj.Object

KColorSyncGenericGrayGamma22Profile returns the value of the constant kColorSyncGenericGrayGamma22Profile.

func KColorSyncGenericGrayProfile

func KColorSyncGenericGrayProfile() obj.Object

KColorSyncGenericGrayProfile returns the value of the constant kColorSyncGenericGrayProfile.

func KColorSyncGenericLabProfile

func KColorSyncGenericLabProfile() obj.Object

KColorSyncGenericLabProfile returns the value of the constant kColorSyncGenericLabProfile.

func KColorSyncGenericRGBProfile

func KColorSyncGenericRGBProfile() obj.Object

KColorSyncGenericRGBProfile returns the value of the constant kColorSyncGenericRGBProfile.

func KColorSyncGenericXYZProfile

func KColorSyncGenericXYZProfile() obj.Object

KColorSyncGenericXYZProfile returns the value of the constant kColorSyncGenericXYZProfile.

func KColorSyncHDRDerivative

func KColorSyncHDRDerivative() obj.Object

KColorSyncHDRDerivative returns the value of the constant kColorSyncHDRDerivative.

func KColorSyncHLGDerivative

func KColorSyncHLGDerivative() obj.Object

KColorSyncHLGDerivative returns the value of the constant kColorSyncHLGDerivative.

func KColorSyncITUR709Profile

func KColorSyncITUR709Profile() obj.Object

KColorSyncITUR709Profile returns the value of the constant kColorSyncITUR709Profile.

func KColorSyncITUR2020Profile

func KColorSyncITUR2020Profile() obj.Object

KColorSyncITUR2020Profile returns the value of the constant kColorSyncITUR2020Profile.

func KColorSyncNormalQuality

func KColorSyncNormalQuality() obj.Object

KColorSyncNormalQuality returns the value of the constant kColorSyncNormalQuality.

func KColorSyncPQDerivative

func KColorSyncPQDerivative() obj.Object

KColorSyncPQDerivative returns the value of the constant kColorSyncPQDerivative.

func KColorSyncPreferredCMM

func KColorSyncPreferredCMM() obj.Object

KColorSyncPreferredCMM returns the value of the constant kColorSyncPreferredCMM.

func KColorSyncPrinterDeviceClass

func KColorSyncPrinterDeviceClass() obj.Object

KColorSyncPrinterDeviceClass returns the value of the constant kColorSyncPrinterDeviceClass.

func KColorSyncProfile

func KColorSyncProfile() obj.Object

KColorSyncProfile returns the value of the constant kColorSyncProfile.

func KColorSyncProfileCacheSeed

func KColorSyncProfileCacheSeed() obj.Object

KColorSyncProfileCacheSeed returns the value of the constant kColorSyncProfileCacheSeed.

func KColorSyncProfileClass

func KColorSyncProfileClass() obj.Object

KColorSyncProfileClass returns the value of the constant kColorSyncProfileClass.

func KColorSyncProfileColorSpace

func KColorSyncProfileColorSpace() obj.Object

KColorSyncProfileColorSpace returns the value of the constant kColorSyncProfileColorSpace.

func KColorSyncProfileComputerDomain

func KColorSyncProfileComputerDomain() obj.Object

KColorSyncProfileComputerDomain returns the value of the constant kColorSyncProfileComputerDomain.

func KColorSyncProfileDescription

func KColorSyncProfileDescription() obj.Object

KColorSyncProfileDescription returns the value of the constant kColorSyncProfileDescription.

func KColorSyncProfileHeader

func KColorSyncProfileHeader() obj.Object

KColorSyncProfileHeader returns the value of the constant kColorSyncProfileHeader.

func KColorSyncProfileHostScope

func KColorSyncProfileHostScope() obj.Object

KColorSyncProfileHostScope returns the value of the constant kColorSyncProfileHostScope.

func KColorSyncProfileIsValid

func KColorSyncProfileIsValid() obj.Object

KColorSyncProfileIsValid returns the value of the constant kColorSyncProfileIsValid.

func KColorSyncProfileMD5Digest

func KColorSyncProfileMD5Digest() obj.Object

KColorSyncProfileMD5Digest returns the value of the constant kColorSyncProfileMD5Digest.

func KColorSyncProfilePCS

func KColorSyncProfilePCS() obj.Object

KColorSyncProfilePCS returns the value of the constant kColorSyncProfilePCS.

func KColorSyncProfileRepositoryChangeNotification

func KColorSyncProfileRepositoryChangeNotification() obj.Object

KColorSyncProfileRepositoryChangeNotification returns the value of the constant kColorSyncProfileRepositoryChangeNotification.

func KColorSyncProfileURL

func KColorSyncProfileURL() obj.Object

KColorSyncProfileURL returns the value of the constant kColorSyncProfileURL.

func KColorSyncProfileUserDomain

func KColorSyncProfileUserDomain() obj.Object

KColorSyncProfileUserDomain returns the value of the constant kColorSyncProfileUserDomain.

func KColorSyncProfileUserScope

func KColorSyncProfileUserScope() obj.Object

KColorSyncProfileUserScope returns the value of the constant kColorSyncProfileUserScope.

func KColorSyncROMMRGBProfile

func KColorSyncROMMRGBProfile() obj.Object

KColorSyncROMMRGBProfile returns the value of the constant kColorSyncROMMRGBProfile.

func KColorSyncRegistrationUpdateWindowServer

func KColorSyncRegistrationUpdateWindowServer() obj.Object

KColorSyncRegistrationUpdateWindowServer returns the value of the constant kColorSyncRegistrationUpdateWindowServer.

func KColorSyncRenderingIntent

func KColorSyncRenderingIntent() obj.Object

KColorSyncRenderingIntent returns the value of the constant kColorSyncRenderingIntent.

func KColorSyncRenderingIntentAbsolute

func KColorSyncRenderingIntentAbsolute() obj.Object

KColorSyncRenderingIntentAbsolute returns the value of the constant kColorSyncRenderingIntentAbsolute.

func KColorSyncRenderingIntentPerceptual

func KColorSyncRenderingIntentPerceptual() obj.Object

KColorSyncRenderingIntentPerceptual returns the value of the constant kColorSyncRenderingIntentPerceptual.

func KColorSyncRenderingIntentRelative

func KColorSyncRenderingIntentRelative() obj.Object

KColorSyncRenderingIntentRelative returns the value of the constant kColorSyncRenderingIntentRelative.

func KColorSyncRenderingIntentSaturation

func KColorSyncRenderingIntentSaturation() obj.Object

KColorSyncRenderingIntentSaturation returns the value of the constant kColorSyncRenderingIntentSaturation.

func KColorSyncRenderingIntentUseProfileHeader

func KColorSyncRenderingIntentUseProfileHeader() obj.Object

KColorSyncRenderingIntentUseProfileHeader returns the value of the constant kColorSyncRenderingIntentUseProfileHeader.

func KColorSyncSRGBProfile

func KColorSyncSRGBProfile() obj.Object

KColorSyncSRGBProfile returns the value of the constant kColorSyncSRGBProfile.

func KColorSyncScannerDeviceClass

func KColorSyncScannerDeviceClass() obj.Object

KColorSyncScannerDeviceClass returns the value of the constant kColorSyncScannerDeviceClass.

func KColorSyncSigAToB0Tag

func KColorSyncSigAToB0Tag() obj.Object

KColorSyncSigAToB0Tag returns the value of the constant kColorSyncSigAToB0Tag.

func KColorSyncSigAToB1Tag

func KColorSyncSigAToB1Tag() obj.Object

KColorSyncSigAToB1Tag returns the value of the constant kColorSyncSigAToB1Tag.

func KColorSyncSigAToB2Tag

func KColorSyncSigAToB2Tag() obj.Object

KColorSyncSigAToB2Tag returns the value of the constant kColorSyncSigAToB2Tag.

func KColorSyncSigAbstractClass

func KColorSyncSigAbstractClass() obj.Object

KColorSyncSigAbstractClass returns the value of the constant kColorSyncSigAbstractClass.

func KColorSyncSigBToA0Tag

func KColorSyncSigBToA0Tag() obj.Object

KColorSyncSigBToA0Tag returns the value of the constant kColorSyncSigBToA0Tag.

func KColorSyncSigBToA1Tag

func KColorSyncSigBToA1Tag() obj.Object

KColorSyncSigBToA1Tag returns the value of the constant kColorSyncSigBToA1Tag.

func KColorSyncSigBToA2Tag

func KColorSyncSigBToA2Tag() obj.Object

KColorSyncSigBToA2Tag returns the value of the constant kColorSyncSigBToA2Tag.

func KColorSyncSigBlueColorantTag

func KColorSyncSigBlueColorantTag() obj.Object

KColorSyncSigBlueColorantTag returns the value of the constant kColorSyncSigBlueColorantTag.

func KColorSyncSigBlueTRCTag

func KColorSyncSigBlueTRCTag() obj.Object

KColorSyncSigBlueTRCTag returns the value of the constant kColorSyncSigBlueTRCTag.

func KColorSyncSigCmykData

func KColorSyncSigCmykData() obj.Object

KColorSyncSigCmykData returns the value of the constant kColorSyncSigCmykData.

func KColorSyncSigColorSpaceClass

func KColorSyncSigColorSpaceClass() obj.Object

KColorSyncSigColorSpaceClass returns the value of the constant kColorSyncSigColorSpaceClass.

func KColorSyncSigCopyrightTag

func KColorSyncSigCopyrightTag() obj.Object

KColorSyncSigCopyrightTag returns the value of the constant kColorSyncSigCopyrightTag.

func KColorSyncSigDeviceMfgDescTag

func KColorSyncSigDeviceMfgDescTag() obj.Object

KColorSyncSigDeviceMfgDescTag returns the value of the constant kColorSyncSigDeviceMfgDescTag.

func KColorSyncSigDeviceModelDescTag

func KColorSyncSigDeviceModelDescTag() obj.Object

KColorSyncSigDeviceModelDescTag returns the value of the constant kColorSyncSigDeviceModelDescTag.

func KColorSyncSigDisplayClass

func KColorSyncSigDisplayClass() obj.Object

KColorSyncSigDisplayClass returns the value of the constant kColorSyncSigDisplayClass.

func KColorSyncSigGamutTag

func KColorSyncSigGamutTag() obj.Object

KColorSyncSigGamutTag returns the value of the constant kColorSyncSigGamutTag.

func KColorSyncSigGrayData

func KColorSyncSigGrayData() obj.Object

KColorSyncSigGrayData returns the value of the constant kColorSyncSigGrayData.

func KColorSyncSigGrayTRCTag

func KColorSyncSigGrayTRCTag() obj.Object

KColorSyncSigGrayTRCTag returns the value of the constant kColorSyncSigGrayTRCTag.

func KColorSyncSigGreenColorantTag

func KColorSyncSigGreenColorantTag() obj.Object

KColorSyncSigGreenColorantTag returns the value of the constant kColorSyncSigGreenColorantTag.

func KColorSyncSigGreenTRCTag

func KColorSyncSigGreenTRCTag() obj.Object

KColorSyncSigGreenTRCTag returns the value of the constant kColorSyncSigGreenTRCTag.

func KColorSyncSigInputClass

func KColorSyncSigInputClass() obj.Object

KColorSyncSigInputClass returns the value of the constant kColorSyncSigInputClass.

func KColorSyncSigLabData

func KColorSyncSigLabData() obj.Object

KColorSyncSigLabData returns the value of the constant kColorSyncSigLabData.

func KColorSyncSigLinkClass

func KColorSyncSigLinkClass() obj.Object

KColorSyncSigLinkClass returns the value of the constant kColorSyncSigLinkClass.

func KColorSyncSigMediaBlackPointTag

func KColorSyncSigMediaBlackPointTag() obj.Object

KColorSyncSigMediaBlackPointTag returns the value of the constant kColorSyncSigMediaBlackPointTag.

func KColorSyncSigMediaWhitePointTag

func KColorSyncSigMediaWhitePointTag() obj.Object

KColorSyncSigMediaWhitePointTag returns the value of the constant kColorSyncSigMediaWhitePointTag.

func KColorSyncSigNamedColor2Tag

func KColorSyncSigNamedColor2Tag() obj.Object

KColorSyncSigNamedColor2Tag returns the value of the constant kColorSyncSigNamedColor2Tag.

func KColorSyncSigNamedColorClass

func KColorSyncSigNamedColorClass() obj.Object

KColorSyncSigNamedColorClass returns the value of the constant kColorSyncSigNamedColorClass.

func KColorSyncSigOutputClass

func KColorSyncSigOutputClass() obj.Object

KColorSyncSigOutputClass returns the value of the constant kColorSyncSigOutputClass.

func KColorSyncSigPreview0Tag

func KColorSyncSigPreview0Tag() obj.Object

KColorSyncSigPreview0Tag returns the value of the constant kColorSyncSigPreview0Tag.

func KColorSyncSigPreview1Tag

func KColorSyncSigPreview1Tag() obj.Object

KColorSyncSigPreview1Tag returns the value of the constant kColorSyncSigPreview1Tag.

func KColorSyncSigPreview2Tag

func KColorSyncSigPreview2Tag() obj.Object

KColorSyncSigPreview2Tag returns the value of the constant kColorSyncSigPreview2Tag.

func KColorSyncSigProfileDescriptionTag

func KColorSyncSigProfileDescriptionTag() obj.Object

KColorSyncSigProfileDescriptionTag returns the value of the constant kColorSyncSigProfileDescriptionTag.

func KColorSyncSigProfileSequenceDescTag

func KColorSyncSigProfileSequenceDescTag() obj.Object

KColorSyncSigProfileSequenceDescTag returns the value of the constant kColorSyncSigProfileSequenceDescTag.

func KColorSyncSigRedColorantTag

func KColorSyncSigRedColorantTag() obj.Object

KColorSyncSigRedColorantTag returns the value of the constant kColorSyncSigRedColorantTag.

func KColorSyncSigRedTRCTag

func KColorSyncSigRedTRCTag() obj.Object

KColorSyncSigRedTRCTag returns the value of the constant kColorSyncSigRedTRCTag.

func KColorSyncSigRgbData

func KColorSyncSigRgbData() obj.Object

KColorSyncSigRgbData returns the value of the constant kColorSyncSigRgbData.

func KColorSyncSigTechnologyTag

func KColorSyncSigTechnologyTag() obj.Object

KColorSyncSigTechnologyTag returns the value of the constant kColorSyncSigTechnologyTag.

func KColorSyncSigViewingCondDescTag

func KColorSyncSigViewingCondDescTag() obj.Object

KColorSyncSigViewingCondDescTag returns the value of the constant kColorSyncSigViewingCondDescTag.

func KColorSyncSigViewingConditionsTag

func KColorSyncSigViewingConditionsTag() obj.Object

KColorSyncSigViewingConditionsTag returns the value of the constant kColorSyncSigViewingConditionsTag.

func KColorSyncSigXYZData

func KColorSyncSigXYZData() obj.Object

KColorSyncSigXYZData returns the value of the constant kColorSyncSigXYZData.

func KColorSyncTransformCodeFragmentMD5

func KColorSyncTransformCodeFragmentMD5() obj.Object

KColorSyncTransformCodeFragmentMD5 returns the value of the constant kColorSyncTransformCodeFragmentMD5.

func KColorSyncTransformCodeFragmentType

func KColorSyncTransformCodeFragmentType() obj.Object

KColorSyncTransformCodeFragmentType returns the value of the constant kColorSyncTransformCodeFragmentType.

func KColorSyncTransformCreator

func KColorSyncTransformCreator() obj.Object

KColorSyncTransformCreator returns the value of the constant kColorSyncTransformCreator.

func KColorSyncTransformDeviceToDevice

func KColorSyncTransformDeviceToDevice() obj.Object

KColorSyncTransformDeviceToDevice returns the value of the constant kColorSyncTransformDeviceToDevice.

func KColorSyncTransformDeviceToPCS

func KColorSyncTransformDeviceToPCS() obj.Object

KColorSyncTransformDeviceToPCS returns the value of the constant kColorSyncTransformDeviceToPCS.

func KColorSyncTransformDstSpace

func KColorSyncTransformDstSpace() obj.Object

KColorSyncTransformDstSpace returns the value of the constant kColorSyncTransformDstSpace.

func KColorSyncTransformFullConversionData

func KColorSyncTransformFullConversionData() obj.Object

KColorSyncTransformFullConversionData returns the value of the constant kColorSyncTransformFullConversionData.

func KColorSyncTransformGamutCheck

func KColorSyncTransformGamutCheck() obj.Object

KColorSyncTransformGamutCheck returns the value of the constant kColorSyncTransformGamutCheck.

func KColorSyncTransformInfo

func KColorSyncTransformInfo() obj.Object

KColorSyncTransformInfo returns the value of the constant kColorSyncTransformInfo.

func KColorSyncTransformPCSToDevice

func KColorSyncTransformPCSToDevice() obj.Object

KColorSyncTransformPCSToDevice returns the value of the constant kColorSyncTransformPCSToDevice.

func KColorSyncTransformPCSToPCS

func KColorSyncTransformPCSToPCS() obj.Object

KColorSyncTransformPCSToPCS returns the value of the constant kColorSyncTransformPCSToPCS.

func KColorSyncTransformParametricConversionData

func KColorSyncTransformParametricConversionData() obj.Object

KColorSyncTransformParametricConversionData returns the value of the constant kColorSyncTransformParametricConversionData.

func KColorSyncTransformProfileSequnce

func KColorSyncTransformProfileSequnce() obj.Object

KColorSyncTransformProfileSequnce returns the value of the constant kColorSyncTransformProfileSequnce.

func KColorSyncTransformSimplifiedConversionData

func KColorSyncTransformSimplifiedConversionData() obj.Object

KColorSyncTransformSimplifiedConversionData returns the value of the constant kColorSyncTransformSimplifiedConversionData.

func KColorSyncTransformSrcSpace

func KColorSyncTransformSrcSpace() obj.Object

KColorSyncTransformSrcSpace returns the value of the constant kColorSyncTransformSrcSpace.

func KColorSyncTransformTag

func KColorSyncTransformTag() obj.Object

KColorSyncTransformTag returns the value of the constant kColorSyncTransformTag.

func KColorSyncTransformUseITU709OETF

func KColorSyncTransformUseITU709OETF() obj.Object

KColorSyncTransformUseITU709OETF returns the value of the constant kColorSyncTransformUseITU709OETF.

func KColorSyncWaitForCacheReply

func KColorSyncWaitForCacheReply() obj.Object

KColorSyncWaitForCacheReply returns the value of the constant kColorSyncWaitForCacheReply.

func KColorSyncWebSafeColorsProfile

func KColorSyncWebSafeColorsProfile() obj.Object

KColorSyncWebSafeColorsProfile returns the value of the constant kColorSyncWebSafeColorsProfile.

Types

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 ColorSyncAlphaInfo

type ColorSyncAlphaInfo int32
const (
	KColorSyncAlphaNone               ColorSyncAlphaInfo = 0
	KColorSyncAlphaPremultipliedLast  ColorSyncAlphaInfo = 1
	KColorSyncAlphaPremultipliedFirst ColorSyncAlphaInfo = 2
	KColorSyncAlphaLast               ColorSyncAlphaInfo = 3
	KColorSyncAlphaFirst              ColorSyncAlphaInfo = 4
	KColorSyncAlphaNoneSkipLast       ColorSyncAlphaInfo = 5
	KColorSyncAlphaNoneSkipFirst      ColorSyncAlphaInfo = 6
)

func (ColorSyncAlphaInfo) String

func (e ColorSyncAlphaInfo) String() string

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

type ColorSyncCMM

type ColorSyncCMM struct{}

type ColorSyncCMMRef added in v0.18.0

type ColorSyncCMMRef struct{ obj.Object }

ColorSyncCMMRef is a handle for the opaque ColorSyncCMMRef type.

func ColorSyncCMMCreate

func ColorSyncCMMCreate(cmmBundle corefoundation.CFBundleRef) ColorSyncCMMRef

ColorSyncCMMCreate calls the ColorSync framework function ColorSyncCMMCreate.

func (ColorSyncCMMRef) IsNil added in v0.18.0

func (h ColorSyncCMMRef) IsNil() bool

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

type ColorSyncDataDepth

type ColorSyncDataDepth int32
const (
	KColorSync1BitGamut            ColorSyncDataDepth = 1
	KColorSync8BitInteger          ColorSyncDataDepth = 2
	KColorSync16BitInteger         ColorSyncDataDepth = 3
	KColorSync16BitFloat           ColorSyncDataDepth = 4
	KColorSync32BitInteger         ColorSyncDataDepth = 5
	KColorSync32BitNamedColorIndex ColorSyncDataDepth = 6
	KColorSync32BitFloat           ColorSyncDataDepth = 7
	KColorSync10BitInteger         ColorSyncDataDepth = 8
)

func (ColorSyncDataDepth) String

func (e ColorSyncDataDepth) String() string

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

type ColorSyncMD5

type ColorSyncMD5 struct {
	Digest [16]uint8
}

func ColorSyncProfileGetMD5

func ColorSyncProfileGetMD5(prof ColorSyncProfileRef) ColorSyncMD5

ColorSyncProfileGetMD5 calls the ColorSync framework function ColorSyncProfileGetMD5.

type ColorSyncMutableProfileRef added in v0.18.0

type ColorSyncMutableProfileRef struct{ obj.Object }

ColorSyncMutableProfileRef is a handle for the opaque ColorSyncMutableProfileRef type.

func ColorSyncProfileCreateMutable

func ColorSyncProfileCreateMutable() ColorSyncMutableProfileRef

ColorSyncProfileCreateMutable calls the ColorSync framework function ColorSyncProfileCreateMutable.

func ColorSyncProfileCreateMutableCopy

func ColorSyncProfileCreateMutableCopy(prof ColorSyncProfileRef) ColorSyncMutableProfileRef

ColorSyncProfileCreateMutableCopy calls the ColorSync framework function ColorSyncProfileCreateMutableCopy.

func (ColorSyncMutableProfileRef) IsNil added in v0.18.0

func (h ColorSyncMutableProfileRef) IsNil() bool

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

type ColorSyncProfile

type ColorSyncProfile struct{}

type ColorSyncProfileRef added in v0.18.0

type ColorSyncProfileRef struct{ obj.Object }

ColorSyncProfileRef is a handle for the opaque ColorSyncProfileRef type.

func ColorSyncProfileCreateDeviceProfile

func ColorSyncProfileCreateDeviceProfile(deviceClass corefoundation.CFStringRef, deviceID corefoundation.CFUUIDRef, profileID obj.Object) ColorSyncProfileRef

ColorSyncProfileCreateDeviceProfile calls the ColorSync framework function ColorSyncProfileCreateDeviceProfile.

func ColorSyncProfileCreateLink(profileInfo corefoundation.CFArrayRef, options corefoundation.CFDictionaryRef) ColorSyncProfileRef

ColorSyncProfileCreateLink calls the ColorSync framework function ColorSyncProfileCreateLink.

func ColorSyncProfileCreateWithDisplayID

func ColorSyncProfileCreateWithDisplayID(displayID uint32) ColorSyncProfileRef

ColorSyncProfileCreateWithDisplayID calls the ColorSync framework function ColorSyncProfileCreateWithDisplayID.

func ColorSyncProfileCreateWithName

func ColorSyncProfileCreateWithName(name corefoundation.CFStringRef) ColorSyncProfileRef

ColorSyncProfileCreateWithName calls the ColorSync framework function ColorSyncProfileCreateWithName.

func (ColorSyncProfileRef) IsNil added in v0.18.0

func (h ColorSyncProfileRef) IsNil() bool

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

type ColorSyncTransform

type ColorSyncTransform struct{}

type ColorSyncTransformRef added in v0.18.0

type ColorSyncTransformRef struct{ obj.Object }

ColorSyncTransformRef is a handle for the opaque ColorSyncTransformRef type.

func ColorSyncTransformCreate

func ColorSyncTransformCreate(profileSequence corefoundation.CFArrayRef, options corefoundation.CFDictionaryRef) ColorSyncTransformRef

ColorSyncTransformCreate calls the ColorSync framework function ColorSyncTransformCreate.

func (ColorSyncTransformRef) IsNil added in v0.18.0

func (h ColorSyncTransformRef) IsNil() bool

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

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