qd

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Rendered for darwin/amd64

Overview

Package qd provides purego-based Go bindings for the macOS QD framework.

Apple documentation: https://developer.apple.com/documentation/qd

Index

Constants

View Source
const (
	CmAToB0Tag                 = 1093812784
	CmAToB1Tag                 = 1093812785
	CmAToB2Tag                 = 1093812786
	CmBToA0Tag                 = 1110589744
	CmBToA1Tag                 = 1110589745
	CmBToA2Tag                 = 1110589746
	CmBlueColorantTag          = 1649957210
	CmBlueTRCTag               = 1649693251
	CmCalibrationDateTimeTag   = 1667329140
	CmCharTargetTag            = 1952543335
	CmChromaticAdaptationTag   = 1667785060
	CmCopyrightTag             = 1668313716
	CmDeviceMfgDescTag         = 1684893284
	CmDeviceModelDescTag       = 1684890724
	CmGamutTag                 = 1734438260
	CmGrayTRCTag               = 1800688195
	CmGreenColorantTag         = 1733843290
	CmGreenTRCTag              = 1733579331
	CmLuminanceTag             = 1819635049
	CmMeasurementTag           = 1835360627
	CmMediaBlackPointTag       = 1651208308
	CmMediaWhitePointTag       = 2004119668
	CmNamedColor2Tag           = 1852009522
	CmNamedColorTag            = 1852010348
	CmPS2CRD0Tag               = 1886610480
	CmPS2CRD1Tag               = 1886610481
	CmPS2CRD2Tag               = 1886610482
	CmPS2CRD3Tag               = 1886610483
	CmPS2CSATag                = 1886597747
	CmPS2RenderingIntentTag    = 1886597737
	CmPreview0Tag              = 1886545200
	CmPreview1Tag              = 1886545201
	CmPreview2Tag              = 1886545202
	CmProfileDescriptionTag    = 1684370275
	CmProfileSequenceDescTag   = 1886610801
	CmRedColorantTag           = 1918392666
	CmRedTRCTag                = 1918128707
	CmScreeningDescTag         = 1935897188
	CmScreeningTag             = 1935897198
	CmTechnologyTag            = 1952801640
	CmUcrBgTag                 = 1650877472
	CmViewingConditionsDescTag = 1987405156
	CmViewingConditionsTag     = 1986618743
)
View Source
const (
	CmAsciiData  = 0
	CmBinaryData = 1
)
View Source
const (
	CmCS1ChromTag = 1667789421
	CmCS1CustTag  = 1668641652
	CmCS1NameTag  = 1851878757
	CmCS1TRCTag   = 1953653536
)
View Source
const (
	CmColorSpaceAlphaMask         = 128
	CmColorSpaceEncodingMask      = 983040
	CmColorSpacePackingMask       = 65280
	CmColorSpacePremulAlphaMask   = 64
	CmColorSpaceReservedMask      = -1048576
	CmColorSpaceSpaceAndAlphaMask = 255
	CmColorSpaceSpaceMask         = 63
)
View Source
const (
	CmCurrentDeviceInfoVersion  = 65536
	CmCurrentProfileInfoVersion = 65536
)
View Source
const (
	CmDefaultDeviceID  = 0
	CmDefaultProfileID = 0
)
View Source
const (
	CmDeviceAlreadyRegistered = -4228
	CmDeviceDBNotFoundErr     = -4227
	CmDeviceNotRegistered     = -4229
	CmDeviceProfilesNotFound  = -4230
	CmInternalCFErr           = -4231
	CmPrefsSynchError         = -4232
)
View Source
const (
	CmDeviceInfoVersion1        = 65536
	CmDeviceProfileInfoVersion1 = 65536
	CmDeviceProfileInfoVersion2 = 131072
)
View Source
const (
	CmDeviceStateAppleRsvdBits  = -16711681
	CmDeviceStateBusy           = 2
	CmDeviceStateDefault        = 0
	CmDeviceStateDeviceRsvdBits = 16711680
	CmDeviceStateForceNotify    = -2147483648
	CmDeviceStateOffline        = 1
)
View Source
const (
	CmEmbeddedProfile = 0
	CmEmbeddedUse     = 1
)
View Source
const (
	CmFlare0   = 0
	CmFlare100 = 1
)
View Source
const (
	CmGeometry045or450 = 1
	CmGeometry0dord0   = 2
	CmGeometryUnknown  = 0
)
View Source
const (
	CmARGB32PmulSpace      = 6337
	CmARGB32Space          = 6273
	CmARGB64LPmulSpace     = 31425
	CmARGB64LSpace         = 31361
	CmARGB64PmulSpace      = 15041
	CmARGB64Space          = 14977
	CmCMYK32Space          = 2050
	CmCMYK64LSpace         = 27138
	CmCMYK64Space          = 10754
	CmGamutResult1Space    = 2828
	CmGray16LSpace         = 16394
	CmGray16Space          = 10
	CmGray8Space           = 10250
	CmGrayA16PmulSpace     = 8394
	CmGrayA16Space         = 8330
	CmGrayA32LPmulSpace    = 16586
	CmGrayA32LSpace        = 16522
	CmGrayA32PmulSpace     = 202
	CmGrayA32Space         = 138
	CmHLS32Space           = 2564
	CmHSV32Space           = 2563
	CmLAB24Space           = 8456
	CmLAB32Space           = 2568
	CmLAB48LSpace          = 26888
	CmLAB48Space           = 10504
	CmLUV32Space           = 2567
	CmMCEight8Space        = 9492
	CmMCFive8Space         = 8721
	CmMCSeven8Space        = 9235
	CmMCSix8Space          = 8978
	CmNamedIndexed32LSpace = 26384
	CmNamedIndexed32Space  = 10000
	CmRGB16LSpace          = 17665
	CmRGB16Space           = 1281
	CmRGB24Space           = 8449
	CmRGB32Space           = 2049
	CmRGB48LSpace          = 26881
	CmRGB48Space           = 10497
	CmRGB565LSpace         = 17921
	CmRGB565Space          = 1537
	CmRGBA32PmulSpace      = 2241
	CmRGBA32Space          = 2177
	CmRGBA64LPmulSpace     = 27329
	CmRGBA64LSpace         = 27265
	CmRGBA64PmulSpace      = 10945
	CmRGBA64Space          = 10881
	CmXYZ24Space           = 8454
	CmXYZ32Space           = 2566
	CmXYZ48LSpace          = 26886
	CmXYZ48Space           = 10502
	CmYXY32Space           = 2565
)
View Source
const (
	CmCS1ProfileVersion   = 256
	CmCS2ProfileVersion   = 33554432
	CmICCProfileVersion2  = 33554432
	CmICCProfileVersion21 = 34603008
	CmICCProfileVersion4  = 67108864
)
View Source
const (
	CmBlackPointCompensationMask = 4
	CmCMSReservedFlagsMask       = -65536
	CmEmbeddedMask               = 1
	CmEmbeddedUseMask            = 2
	CmGamutCheckingMask          = 524288
	CmICCReservedFlagsMask       = 65535
	CmInterpolationMask          = 262144
	CmQualityMask                = 196608
)
View Source
const (
	CmIlluminantA         = 6
	CmIlluminantD50       = 1
	CmIlluminantD55       = 5
	CmIlluminantD65       = 2
	CmIlluminantD93       = 3
	CmIlluminantEquiPower = 7
	CmIlluminantF2        = 4
	CmIlluminantF8        = 8
	CmIlluminantUnknown   = 0
)
View Source
const (
	CmAbstractClass   = 1633842036
	CmColorSpaceClass = 1936744803
	CmDisplayClass    = 1835955314
	CmInputClass      = 1935896178
	CmLinkClass       = 1818848875
	CmNamedColorClass = 1852662636
	CmOutputClass     = 1886549106
)
View Source
const (
	CmDisplayUse = 1685089401
	CmInputUse   = 1768845428
	CmOutputUse  = 1869968496
	CmProofUse   = 1886549350
)
View Source
const (
	CmIterateAllDeviceProfiles     = 4
	CmIterateCurrentDeviceProfiles = 3
	CmIterateCustomDeviceProfiles  = 2
	CmIterateDeviceProfilesMask    = 15
	CmIterateFactoryDeviceProfiles = 1
)
View Source
const (
	CmMacintosh       = 1095782476
	CmMicrosoft       = 1297303124
	CmSiliconGraphics = 1397180704
	CmSolaris         = 1398099543
	CmTaligent        = 1413959252
)
View Source
const (
	Cm16_8ColorPacking      = 8192
	Cm24_8ColorPacking      = 8448
	Cm32_16ColorPacking     = 9728
	Cm32_32ColorPacking     = 9984
	Cm32_8ColorPacking      = 2048
	Cm40_8ColorPacking      = 8704
	Cm48_16ColorPacking     = 10496
	Cm48_8ColorPacking      = 8960
	Cm56_8ColorPacking      = 9216
	Cm64_16ColorPacking     = 10752
	Cm64_8ColorPacking      = 9472
	Cm8_8ColorPacking       = 10240
	CmAlphaFirstPacking     = 4096
	CmAlphaLastPacking      = 0
	CmLittleEndianPacking   = 16384
	CmLong10ColorPacking    = 2560
	CmLong8ColorPacking     = 2048
	CmNoColorPacking        = 0
	CmOneBitDirectPacking   = 2816
	CmReverseChannelPacking = 32768
	CmWord565ColorPacking   = 1536
	CmWord5ColorPacking     = 1280
)
View Source
const (
	CmBufferBasedProfile = 6
	CmNoProfileBase      = 0
	CmPathBasedProfile   = 5
)
View Source
const (
	CmAlphaPmulSpace    = 64
	CmAlphaSpace        = 128
	CmCMYKSpace         = 2
	CmGamutResultSpace  = 12
	CmGrayAPmulSpace    = 202
	CmGrayASpace        = 138
	CmGraySpace         = 10
	CmHLSSpace          = 4
	CmHSVSpace          = 3
	CmLABSpace          = 8
	CmLUVSpace          = 7
	CmMCEightSpace      = 20
	CmMCFiveSpace       = 17
	CmMCSevenSpace      = 19
	CmMCSixSpace        = 18
	CmNamedIndexedSpace = 16
	CmNoSpace           = 0
	CmRGBAPmulSpace     = 193
	CmRGBASpace         = 129
	CmRGBSpace          = 1
	CmReservedSpace1    = 9
	CmReservedSpace2    = 11
	CmXYZSpace          = 6
	CmYXYSpace          = 5
)
View Source
const (
	CmBestMode   = 2
	CmDraftMode  = 1
	CmNormalMode = 0
)
View Source
const (
	CmAbortWriteAccess = 7
	CmBeginAccess      = 8
	CmCloseAccess      = 5
	CmCreateNewAccess  = 6
	CmEndAccess        = 9
	CmOpenReadAccess   = 1
	CmOpenWriteAccess  = 2
	CmReadAccess       = 3
	CmWriteAccess      = 4
)
View Source
const (
	CmCloseSpool     = 5
	CmOpenReadSpool  = 1
	CmOpenWriteSpool = 2
	CmReadSpool      = 3
	CmWriteSpool     = 4
)
View Source
const (
	CmCurrentProfileLocationSize  = 1032
	CmOriginalProfileLocationSize = 72
)
View Source
const (
	CmMakeAndModelTag         = 1835888484
	CmNativeDisplayInfoTag    = 1852074350
	CmPS2CRDVMSizeTag         = 1886615149
	CmProfileDescriptionMLTag = 1685283693
	CmVideoCardGammaTag       = 1986226036
)
View Source
const (
	CmPS7bit = 1
	CmPS8bit = 2
)
View Source
const (
	CmParametricType0 = 0
	CmParametricType1 = 1
	CmParametricType2 = 2
	CmParametricType3 = 3
	CmParametricType4 = 4
)
View Source
const (
	CmAbsoluteColorimetric = 3
	CmPerceptual           = 0
	CmRelativeColorimetric = 1
	CmSaturation           = 2
)
View Source
const (
	CmProfileIterateDataVersion1 = 65536
	CmProfileIterateDataVersion2 = 131072
	CmProfileIterateDataVersion3 = 196608
	CmProfileIterateDataVersion4 = 262144
)
View Source
const (
	CmCurrentProfileMajorVersion = 33554432
	CmProfileMajorVersionMask    = -16777216
)
View Source
const (
	CmLinesPer           = 1
	CmPrtrDefaultScreens = 0
)
View Source
const (
	CmGlossy     = 1
	CmReflective = 0
)
View Source
const (
	CmGlossyMatteMask           = 2
	CmReflectiveTransparentMask = 1
)
View Source
const (
	CmCameraDeviceClass  = 1668117089
	CmDisplayDeviceClass = 1835955314
	CmPrinterDeviceClass = 1886549106
	CmProofDeviceClass   = 1886549350
	CmScannerDeviceClass = 1935896178
)
View Source
const (
	CmSigCrdInfoType             = 1668441193
	CmSigCurveType               = 1668641398
	CmSigDataType                = 1684108385
	CmSigDateTimeType            = 1685350765
	CmSigLut16Type               = 1835430962
	CmSigLut8Type                = 1835430961
	CmSigMeasurementType         = 1835360627
	CmSigMultiFunctA2BType       = 1832993312
	CmSigMultiFunctB2AType       = 1833058592
	CmSigNamedColor2Type         = 1852009522
	CmSigNamedColorType          = 1852010348
	CmSigParametricCurveType     = 1885434465
	CmSigProfileDescriptionType  = 1684370275
	CmSigProfileSequenceDescType = 1886610801
	CmSigS15Fixed16Type          = 1936077618
	CmSigScreeningType           = 1935897198
	CmSigSignatureType           = 1936287520
	CmSigTextType                = 1952807028
	CmSigU16Fixed16Type          = 1969632050
	CmSigU1Fixed15Type           = 1969631542
	CmSigUInt16Type              = 1969828150
	CmSigUInt32Type              = 1969828658
	CmSigUInt64Type              = 1969829428
	CmSigUInt8Type               = 1969827896
	CmSigUcrBgType               = 1650877472
	CmSigUnicodeTextType         = 1970567284
	CmSigViewingConditionsType   = 1986618743
	CmSigXYZType                 = 1482250784
)
View Source
const (
	CmSigMakeAndModelType          = 1835888484
	CmSigMultiLocalizedUniCodeType = 1835824483
	CmSigNativeDisplayInfoType     = 1852074350
	CmSigPS2CRDVMSizeType          = 1886615149
	CmSigVideoCardGammaType        = 1986226036
)
View Source
const (
	CmSpotFunctionCross   = 7
	CmSpotFunctionDefault = 1
	CmSpotFunctionDiamond = 3
	CmSpotFunctionEllipse = 4
	CmSpotFunctionLine    = 5
	CmSpotFunctionRound   = 2
	CmSpotFunctionSquare  = 6
	CmSpotFunctionUnknown = 0
)
View Source
const (
	CmStdobs1931TwoDegrees = 1
	CmStdobs1964TenDegrees = 2
	CmStdobsUnknown        = 0
)
View Source
const (
	CmTechnologyAMDisplay                  = 1095582752
	CmTechnologyCRTDisplay                 = 1129468960
	CmTechnologyDigitalCamera              = 1684234605
	CmTechnologyDyeSublimationPrinter      = 1685288290
	CmTechnologyElectrophotographicPrinter = 1701865583
	CmTechnologyElectrostaticPrinter       = 1702065249
	CmTechnologyFilmScanner                = 1718838126
	CmTechnologyFilmWriter                 = 1718645358
	CmTechnologyFlexography                = 1718379896
	CmTechnologyGravure                    = 1735549302
	CmTechnologyInkJetPrinter              = 1768580468
	CmTechnologyOffsetLithography          = 1868981875
	CmTechnologyPMDisplay                  = 1347240992
	CmTechnologyPhotoCD                    = 1263551300
	CmTechnologyPhotoImageSetter           = 1768777587
	CmTechnologyPhotographicPaperPrinter   = 1919969391
	CmTechnologyProjectionTelevision       = 1886024822
	CmTechnologyReflectiveScanner          = 1920164718
	CmTechnologySilkscreen                 = 1936288875
	CmTechnologyThermalWaxPrinter          = 1953980792
	CmTechnologyVideoCamera                = 1986618467
	CmTechnologyVideoMonitor               = 1986618477
)
View Source
const (
	CmBradfordChromaticAdaptation   = 3
	CmLinearChromaticAdaptation     = 1
	CmUseDefaultChromaticAdaptation = 0
	CmVonKriesChromaticAdaptation   = 2
)
View Source
const (
	CmVideoCardGammaFormulaType = 1
	CmVideoCardGammaTableType   = 0
)
View Source
const (
	Cm10CLRData = 1094929490
	Cm11CLRData = 1111706706
	Cm12CLRData = 1128483922
	Cm13CLRData = 1145261138
	Cm14CLRData = 1162038354
	Cm15CLRData = 1178815570
	Cm3CLRData  = 860048466
	Cm4CLRData  = 876825682
	Cm5CLRData  = 893602898
	Cm6CLRData  = 910380114
	Cm7CLRData  = 927157330
	Cm8CLRData  = 943934546
	Cm9CLRData  = 960711762
	CmCMYData   = 1129142560
	CmCMYKData  = 1129142603
	CmGrayData  = 1196573017
	CmHLSData   = 1212961568
	CmHSVData   = 1213421088
	CmLabData   = 1281450528
	CmLuvData   = 1282766368
	CmMCH5Data  = 1296255029
	CmMCH6Data  = 1296255030
	CmMCH7Data  = 1296255031
	CmMCH8Data  = 1296255032
	CmNamedData = 1312902469
	CmRGBData   = 1380401696
	CmSRGBData  = 1934772034
	CmXYZData   = 1482250784
	CmYCbCrData = 1497588338
	CmYxyData   = 1501067552
)
View Source
const (
	K16BE555PixelFormat      = 16
	K16BE565PixelFormat      = 1110783541
	K16LE5551PixelFormat     = 892679473
	K16LE555PixelFormat      = 1278555445
	K16LE565PixelFormat      = 1278555701
	K1IndexedGrayPixelFormat = 33
	K1MonochromePixelFormat  = 1
	K24BGRPixelFormat        = 842285639
	K24RGBPixelFormat        = 24
	K2IndexedGrayPixelFormat = 34
	K2IndexedPixelFormat     = 2
	K2vuyPixelFormat         = 846624121
	K32ABGRPixelFormat       = 1094862674
	K32ARGBPixelFormat       = 32
	K32BGRAPixelFormat       = 1111970369
	K32RGBAPixelFormat       = 1380401729
	K4IndexedGrayPixelFormat = 36
	K4IndexedPixelFormat     = 4
	K8IndexedGrayPixelFormat = 40
	K8IndexedPixelFormat     = 8
	KUYVY422PixelFormat      = 1431918169
	KYUV211PixelFormat       = 1496461617
	KYUV411PixelFormat       = 1496592689
	KYUVSPixelFormat         = 2037741171
	KYUVUPixelFormat         = 2037741173
	KYVU9PixelFormat         = 1498830137
	KYVYU422PixelFormat      = 1498831189
)
View Source
const (
	KHorizontalConstraint = 2
	KNoConstraint         = 0
	KVerticalConstraint   = 1
)
View Source
const (
	KDeviceToPCS      = 1
	KNoTransform      = 0
	KPCSToDevice      = 2
	KPCSToPCS         = 3
	KUseAtoB          = 1
	KUseBtoA          = 2
	KUseBtoB          = 3
	KUseProfileIntent = -1
)
View Source
const (
	CS_MAX_PATH = 1024
)
View Source
const (
	CmBlackPointCompensation = 1
)
View Source
const (
	CmMagicNumber = 1633907568
)
View Source
const (
	CmNumHeaderElements = 10
)
View Source
const (
	CmSRGB16ChannelEncoding = 65536
)
View Source
const (
	KDefaultCMMSignature = 1634758764
)
View Source
const (
	SrcCopy = 0
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Acl_entry_id_t

type Acl_entry_id_t int64
const (
	ACL_FIRST_ENTRY Acl_entry_id_t = 0
	ACL_NEXT_ENTRY  Acl_entry_id_t = -1
	ACL_LAST_ENTRY  Acl_entry_id_t = -2
)

func (Acl_entry_id_t) String

func (e Acl_entry_id_t) String() string

type Acl_flag_t

type Acl_flag_t int64
const (
	ACL_FLAG_DEFER_INHERIT      Acl_flag_t = 1
	ACL_FLAG_NO_INHERIT         Acl_flag_t = 131072
	ACL_ENTRY_INHERITED         Acl_flag_t = 16
	ACL_ENTRY_FILE_INHERIT      Acl_flag_t = 32
	ACL_ENTRY_DIRECTORY_INHERIT Acl_flag_t = 64
	ACL_ENTRY_LIMIT_INHERIT     Acl_flag_t = 128
	ACL_ENTRY_ONLY_INHERIT      Acl_flag_t = 256
)

func (Acl_flag_t) String

func (e Acl_flag_t) String() string

type Acl_perm_t

type Acl_perm_t int64
const (
	ACL_READ_DATA           Acl_perm_t = 2
	ACL_LIST_DIRECTORY      Acl_perm_t = 2
	ACL_WRITE_DATA          Acl_perm_t = 4
	ACL_ADD_FILE            Acl_perm_t = 4
	ACL_EXECUTE             Acl_perm_t = 8
	ACL_SEARCH              Acl_perm_t = 8
	ACL_DELETE              Acl_perm_t = 16
	ACL_APPEND_DATA         Acl_perm_t = 32
	ACL_ADD_SUBDIRECTORY    Acl_perm_t = 32
	ACL_DELETE_CHILD        Acl_perm_t = 64
	ACL_READ_ATTRIBUTES     Acl_perm_t = 128
	ACL_WRITE_ATTRIBUTES    Acl_perm_t = 256
	ACL_READ_EXTATTRIBUTES  Acl_perm_t = 512
	ACL_WRITE_EXTATTRIBUTES Acl_perm_t = 1024
	ACL_READ_SECURITY       Acl_perm_t = 2048
	ACL_WRITE_SECURITY      Acl_perm_t = 4096
	ACL_CHANGE_OWNER        Acl_perm_t = 8192
	ACL_SYNCHRONIZE         Acl_perm_t = 1048576
)

func (Acl_perm_t) String

func (e Acl_perm_t) String() string

type Acl_tag_t

type Acl_tag_t int64
const (
	ACL_UNDEFINED_TAG  Acl_tag_t = 0
	ACL_EXTENDED_ALLOW Acl_tag_t = 1
	ACL_EXTENDED_DENY  Acl_tag_t = 2
)

func (Acl_tag_t) String

func (e Acl_tag_t) String() string

type Acl_type_t

type Acl_type_t int64
const (
	ACL_TYPE_EXTENDED Acl_type_t = 256
	ACL_TYPE_ACCESS   Acl_type_t = 0
	ACL_TYPE_DEFAULT  Acl_type_t = 1
	ACL_TYPE_AFS      Acl_type_t = 2
	ACL_TYPE_CODA     Acl_type_t = 3
	ACL_TYPE_NTFS     Acl_type_t = 4
	ACL_TYPE_NWFS     Acl_type_t = 5
)

func (Acl_type_t) String

func (e Acl_type_t) String() string

type AsscEntry

type AsscEntry struct {
	FontSize  int16
	FontStyle int16
	FontID    int16
}

type BitMap

type BitMap struct {
	BaseAddr string
	RowBytes int16
	Bounds   unsafe.Pointer
}

type CM2Header

type CM2Header struct {
	Size                   uint
	CMMType                uint
	ProfileVersion         uint
	ProfileClass           uint
	DataColorSpace         uint
	ProfileConnectionSpace uint
	DateTime               CMDateTime
	CS2profileSignature    uint
	Platform               uint
	Flags                  uint
	DeviceManufacturer     uint
	DeviceModel            uint
	DeviceAttributes       [2]uint
	RenderingIntent        uint
	White                  CMFixedXYZColor
	Creator                uint
	Reserved               [44]int8
}

type CM2Profile

type CM2Profile struct {
	Header   CM2Header
	TagTable CMTagElemTable
	ElemData [1]int8
}

type CM2ProfilePtr

type CM2ProfilePtr = *CM2Profile

CM2ProfilePtr is an opaque pointer to CM2Profile (C typedef CM2ProfilePtr).

type CM4Header

type CM4Header struct {
	Size                   uint
	CMMType                uint
	ProfileVersion         uint
	ProfileClass           uint
	DataColorSpace         uint
	ProfileConnectionSpace uint
	DateTime               CMDateTime
	CS2profileSignature    uint
	Platform               uint
	Flags                  uint
	DeviceManufacturer     uint
	DeviceModel            uint
	DeviceAttributes       [2]uint
	RenderingIntent        uint
	White                  CMFixedXYZColor
	Creator                uint
	Digest                 [16]uint8
	Reserved               [28]int8
}

type CMAdaptationMatrixType

type CMAdaptationMatrixType struct {
	TypeDescriptor   uint
	Reserved         uint
	AdaptationMatrix [9]int
}

type CMBitmap

type CMBitmap struct {
	Image     string
	Width     uint
	Height    uint
	RowBytes  uint
	PixelSize uint
	Space     uint
	User1     uint
	User2     uint
}

type CMBufferLocation

type CMBufferLocation struct {
	Buffer unsafe.Pointer
	Size   uint
}

type CMCMYColor

type CMCMYColor struct {
	Cyan    uint16
	Magenta uint16
	Yellow  uint16
}

type CMCMYKColor

type CMCMYKColor struct {
	Cyan    uint16
	Magenta uint16
	Yellow  uint16
	Black   uint16
}

type CMConcatProfileSet

type CMConcatProfileSet struct {
	KeyIndex   uint16
	Count      uint16
	ProfileSet [1]unsafe.Pointer
}

type CMCurveType

type CMCurveType struct {
	TypeDescriptor uint
	Reserved       uint
	CountValue     uint
	Data           [1]uint16
}

type CMDataType

type CMDataType struct {
	TypeDescriptor uint
	Reserved       uint
	DataFlag       uint
	Data           [1]int8
}

type CMDateTime

type CMDateTime struct {
	Year          uint16
	Month         uint16
	DayOfTheMonth uint16
	Hours         uint16
	Minutes       uint16
	Seconds       uint16
}

type CMDateTimeType

type CMDateTimeType struct {
	TypeDescriptor uint
	Reserved       uint
	DateTime       CMDateTime
}

type CMDeviceInfo

type CMDeviceInfo struct {
	DataVersion      uint
	DeviceClass      uint
	DeviceID         uint
	DeviceScope      CMDeviceScope
	DeviceState      uint
	DefaultProfileID uint
	DeviceName       unsafe.Pointer
	ProfileCount     uint
	Reserved         uint
}

type CMDeviceInfoPtr

type CMDeviceInfoPtr = *CMDeviceInfo

CMDeviceInfoPtr is an opaque pointer to CMDeviceInfo (C typedef CMDeviceInfoPtr).

type CMDeviceProfileArray

type CMDeviceProfileArray struct {
	ProfileCount uint
	Profiles     [1]CMDeviceProfileInfo
}

type CMDeviceProfileArrayPtr

type CMDeviceProfileArrayPtr = *CMDeviceProfileArray

CMDeviceProfileArrayPtr is an opaque pointer to CMDeviceProfileArray (C typedef CMDeviceProfileArrayPtr).

type CMDeviceProfileInfo

type CMDeviceProfileInfo struct {
	DataVersion uint
	ProfileID   uint
	ProfileLoc  CMProfileLocation
	ProfileName unsafe.Pointer
	Reserved    uint
}

type CMDeviceProfileScope

type CMDeviceProfileScope = CMDeviceScope

CMDeviceProfileScope is an alias for CMDeviceScope (C typedef CMDeviceProfileScope).

type CMDeviceScope

type CMDeviceScope struct {
	DeviceUser unsafe.Pointer
	DeviceHost unsafe.Pointer
}

type CMFixedXYColor

type CMFixedXYColor struct {
	X int
	Y int
}

type CMFixedXYZColor

type CMFixedXYZColor struct {
	X int
	Y int
	Z int
}

type CMFloatBitmap

type CMFloatBitmap struct {
	Version   uint
	Buffers   [16]*float32
	Height    uint
	Width     uint
	RowStride int
	ColStride int
	Space     uint
	Flags     CMFloatBitmapFlags
}

@struct CMFloatBitmap @abstract A new struture that defines and arbritrary map of float color values. @discussion The struture defines a pixel array of dimensions [height][width][chans] where 'chans' is the number of channels in the colorspace plus an optional one for alpha. The actual memory pointed to by the structure can contain a variety of possible arrangements. The actual data values can be chuncky or planar. The channels can by in any order. <PRE> Examples: a) float* p contains a 640w by 480h bitmap of chunky RGB data CMFloatBitmap map = { 0, // version {p, p+1, p+2}, // base addrs of R,G,B 480, 640, // height, width 640*3, // rowStride 3, // colStride cmRGBData, kCMFloatBitmapFlagsNone}; b) float* p contains a 640w by 480h bitmap of chunky BGRA data CMFloatBitmap map = { 0, // version {p+2, p+1, p, p+3}, // base addrs of R,G,B,A 480, 640, // height, width 640*4, // rowStride 3, // colStride cmRGBData, kCMFloatBitmapFlagsAlpha}; c) float* p contains a 640w by 480h bitmap of planar CMYK data CMFloatBitmap map = { 0, // version {p, p+640*480 , p+2*640*480 , p+3*640*480}, 480, 640, // height, width 640, // rowStride 1, // colStride cmCMYKData, kCMFloatBitmapFlagsNone}; </PRE> @field version The version number of this structure to allow for future expansion. Should contain 0 for now. @field buffers The base address for each channel in canonical order. The canonical order for RGB is R,G,B. CMYK is C,M,Y,K etc. A maximum of sixteen channels is supported. Another way to think of this is buffers[c] = &(pixelArray[0][0][c]) @field height The height (in pixels) of the bitmap. @field width The width (in pixels) of the bitmap. @field rowStride The number of floats to skip to move from one row to the next. This is typically (width*chans) for chunky pixel buffers or (width) for planar. Can be negative if the image is vertically flipped. @field colStride The number of floats to skip to move from one column to the next. This is typically (chans) for chunky pixel buffers or (1) for planar. Can be negative if the image is horizontally flipped. @field space The colorspace of the data (e.g cmRGBdata cmCMYKData) @field flags Holds bits to specify the alpha type of the data. The remaining bits are reserved for future use.

type CMFloatBitmapFlags

type CMFloatBitmapFlags int64
const (
	KCMFloatBitmapFlagsNone         CMFloatBitmapFlags = 0
	KCMFloatBitmapFlagsAlpha        CMFloatBitmapFlags = 1
	KCMFloatBitmapFlagsAlphaPremul  CMFloatBitmapFlags = 2
	KCMFloatBitmapFlagsRangeClipped CMFloatBitmapFlags = 4
)

func (CMFloatBitmapFlags) String

func (e CMFloatBitmapFlags) String() string

type CMGrayColor

type CMGrayColor struct {
	Gray uint16
}

type CMHLSColor

type CMHLSColor struct {
	Hue        uint16
	Lightness  uint16
	Saturation uint16
}

type CMHSVColor

type CMHSVColor struct {
	Hue        uint16
	Saturation uint16
	Value      uint16
}

type CMHandleLocation

type CMHandleLocation struct {
	H *string
}

type CMIntentCRDVMSize

type CMIntentCRDVMSize struct {
	RenderingIntent uint
	VMSize          uint
}

type CMLabColor

type CMLabColor struct {
	L uint16
	A uint16
	B uint16
}

type CMLut8Type

type CMLut8Type struct {
	TypeDescriptor uint
	Reserved       uint
	InputChannels  uint8
	OutputChannels uint8
	GridPoints     uint8
	Reserved2      uint8
	Matrix         [3][3]int
	InputTable     [1]uint8
}

type CMLut16Type

type CMLut16Type struct {
	TypeDescriptor     uint
	Reserved           uint
	InputChannels      uint8
	OutputChannels     uint8
	GridPoints         uint8
	Reserved2          uint8
	Matrix             [3][3]int
	InputTableEntries  uint16
	OutputTableEntries uint16
	InputTable         [1]uint16
}

type CMLuvColor

type CMLuvColor struct {
	L uint16
	U uint16
	V uint16
}

type CMMInfo

type CMMInfo struct {
	DataSize         uint
	CMMType          uint
	CMMMfr           uint
	CMMVersion       uint
	ASCIIName        [32]uint8
	ASCIIDesc        [256]uint8
	UniCodeNameCount uint
	UniCodeName      [32]uint16
	UniCodeDescCount uint
	UniCodeDesc      [256]uint16
}

type CMMakeAndModel

type CMMakeAndModel struct {
	Manufacturer    uint
	Model           uint
	SerialNumber    uint
	ManufactureDate uint
	Reserved1       uint
	Reserved2       uint
	Reserved3       uint
	Reserved4       uint
}

type CMMakeAndModelType

type CMMakeAndModelType struct {
	TypeDescriptor uint
	Reserved       uint
	MakeAndModel   CMMakeAndModel
}

type CMMeasurementType

type CMMeasurementType struct {
	TypeDescriptor   uint
	Reserved         uint
	StandardObserver uint
	BackingXYZ       CMFixedXYZColor
	Geometry         uint
	Flare            uint
	Illuminant       uint
}

type CMMultiFunctCLUTType

type CMMultiFunctCLUTType struct {
	GridPoints [16]uint8
	EntrySize  uint8
	Reserved   [3]uint8
	Data       [2]uint8
}

type CMMultiFunctLutA2BType

type CMMultiFunctLutA2BType = CMMultiFunctLutType

CMMultiFunctLutA2BType is an alias for CMMultiFunctLutType (C typedef CMMultiFunctLutA2BType).

type CMMultiFunctLutB2AType

type CMMultiFunctLutB2AType = CMMultiFunctLutType

CMMultiFunctLutB2AType is an alias for CMMultiFunctLutType (C typedef CMMultiFunctLutB2AType).

type CMMultiFunctLutType

type CMMultiFunctLutType struct {
	TypeDescriptor uint
	Reserved       uint
	InputChannels  uint8
	OutputChannels uint8
	Reserved2      uint16
	OffsetBcurves  uint
	OffsetMatrix   uint
	OffsetMcurves  uint
	OffsetCLUT     uint
	OffsetAcurves  uint
	Data           [1]uint8
}

type CMMultiLocalizedUniCodeEntryRec

type CMMultiLocalizedUniCodeEntryRec struct {
	LanguageCode [2]int8
	RegionCode   [2]int8
	TextLength   uint
	TextOffset   uint
}

type CMMultiLocalizedUniCodeType

type CMMultiLocalizedUniCodeType struct {
	TypeDescriptor uint
	Reserved       uint
	EntryCount     uint
	EntrySize      uint
}

type CMMultichannel5Color

type CMMultichannel5Color struct {
	Components [5]uint8
}

type CMMultichannel6Color

type CMMultichannel6Color struct {
	Components [6]uint8
}

type CMMultichannel7Color

type CMMultichannel7Color struct {
	Components [7]uint8
}

type CMMultichannel8Color

type CMMultichannel8Color struct {
	Components [8]uint8
}

type CMNamedColor

type CMNamedColor struct {
	NamedColorIndex uint
}

type CMNamedColor2EntryType

type CMNamedColor2EntryType struct {
	RootName          [32]uint8
	PCSColorCoords    [3]uint16
	DeviceColorCoords [1]uint16
}

type CMNamedColor2Type

type CMNamedColor2Type struct {
	TypeDescriptor     uint
	Reserved           uint
	VendorFlag         uint
	Count              uint
	DeviceChannelCount uint
	PrefixName         [32]uint8
	SuffixName         [32]uint8
	Data               [1]int8
}

type CMNamedColorType

type CMNamedColorType struct {
	TypeDescriptor uint
	Reserved       uint
	VendorFlag     uint
	Count          uint
	PrefixName     [1]uint8
}

type CMNativeDisplayInfo

type CMNativeDisplayInfo struct {
	DataSize        uint
	RedPhosphor     CMFixedXYColor
	GreenPhosphor   CMFixedXYColor
	BluePhosphor    CMFixedXYColor
	WhitePoint      CMFixedXYColor
	RedGammaValue   int
	GreenGammaValue int
	BlueGammaValue  int
	GammaChannels   uint16
	GammaEntryCount uint16
	GammaEntrySize  uint16
	GammaData       [1]int8
}

type CMNativeDisplayInfoType

type CMNativeDisplayInfoType struct {
	TypeDescriptor    uint
	Reserved          uint
	NativeDisplayInfo CMNativeDisplayInfo
}

type CMPS2CRDVMSizeType

type CMPS2CRDVMSizeType struct {
	TypeDescriptor uint
	Reserved       uint
	Count          uint
	IntentCRD      [1]CMIntentCRDVMSize
}

type CMParametricCurveType

type CMParametricCurveType struct {
	TypeDescriptor uint
	Reserved       uint
	FunctionType   uint16
	Reserved2      uint16
	Value          [1]int
}

type CMPathLocation

type CMPathLocation struct {
	Path [1024]int8
}

type CMProfileIterateData

type CMProfileIterateData struct {
	DataVersion      uint
	Header           CM2Header
	Code             int16
	Name             [256]uint8
	Location         CMProfileLocation
	UniCodeNameCount uint
	UniCodeName      *uint16
	AsciiName        *uint8
	MakeAndModel     *CMMakeAndModel
	Digest           *[16]uint8
}

type CMProfileLocation

type CMProfileLocation struct {
	LocType int16
	U       unsafe.Pointer
}

type CMProfileSequenceDescType

type CMProfileSequenceDescType struct {
	TypeDescriptor uint
	Reserved       uint
	Count          uint
	Data           [1]int8
}

type CMRGBColor

type CMRGBColor struct {
	Red   uint16
	Green uint16
	Blue  uint16
}

type CMS15Fixed16ArrayType

type CMS15Fixed16ArrayType struct {
	TypeDescriptor uint
	Reserved       uint
	Value          [1]int
}

type CMScreeningChannelRec

type CMScreeningChannelRec struct {
	Frequency    int
	Angle        int
	SpotFunction uint
}

type CMScreeningType

type CMScreeningType struct {
	TypeDescriptor uint
	Reserved       uint
	ScreeningFlag  uint
	ChannelCount   uint
	ChannelInfo    [1]CMScreeningChannelRec
}

type CMSignatureType

type CMSignatureType struct {
	TypeDescriptor uint
	Reserved       uint
	Signature      uint
}

type CMTagElemTable

type CMTagElemTable struct {
	Count   uint
	TagList [1]CMTagRecord
}

type CMTagRecord

type CMTagRecord struct {
	Tag           uint
	ElementOffset uint
	ElementSize   uint
}

type CMTextDescriptionType

type CMTextDescriptionType struct {
	TypeDescriptor uint
	Reserved       uint
	ASCIICount     uint
	ASCIIName      [2]uint8
}

type CMTextType

type CMTextType struct {
	TypeDescriptor uint
	Reserved       uint
	Text           [1]uint8
}

type CMU16Fixed16ArrayType

type CMU16Fixed16ArrayType struct {
	TypeDescriptor uint
	Reserved       uint
	Value          [1]uint
}

type CMUInt8ArrayType

type CMUInt8ArrayType struct {
	TypeDescriptor uint
	Reserved       uint
	Value          [1]uint8
}

type CMUInt16ArrayType

type CMUInt16ArrayType struct {
	TypeDescriptor uint
	Reserved       uint
	Value          [1]uint16
}

type CMUInt32ArrayType

type CMUInt32ArrayType struct {
	TypeDescriptor uint
	Reserved       uint
	Value          [1]uint
}

type CMUInt64ArrayType

type CMUInt64ArrayType struct {
	TypeDescriptor uint
	Reserved       uint
	Value          [1]uint
}

type CMUcrBgType

type CMUcrBgType struct {
	TypeDescriptor uint
	Reserved       uint
	UcrCount       uint
	UcrValues      [1]uint16
}

type CMUnicodeTextType

type CMUnicodeTextType struct {
	TypeDescriptor uint
	Reserved       uint
	Text           [1]uint16
}

type CMVideoCardGamma

type CMVideoCardGamma struct {
	TagType uint
	U       unsafe.Pointer
}

type CMVideoCardGammaFormula

type CMVideoCardGammaFormula struct {
	RedGamma   int
	RedMin     int
	RedMax     int
	GreenGamma int
	GreenMin   int
	GreenMax   int
	BlueGamma  int
	BlueMin    int
	BlueMax    int
}

type CMVideoCardGammaTable

type CMVideoCardGammaTable struct {
	Channels   uint16
	EntryCount uint16
	EntrySize  uint16
	Data       [1]int8
}

type CMVideoCardGammaType

type CMVideoCardGammaType struct {
	TypeDescriptor uint
	Reserved       uint
	Gamma          CMVideoCardGamma
}

type CMViewingConditionsType

type CMViewingConditionsType struct {
	TypeDescriptor uint
	Reserved       uint
	Illuminant     CMFixedXYZColor
	Surround       CMFixedXYZColor
	StdIlluminant  uint
}

type CMXYZColor

type CMXYZColor struct {
	X uint16
	Y uint16
	Z uint16
}

type CMXYZType

type CMXYZType struct {
	TypeDescriptor uint
	Reserved       uint
	XYZ            [1]CMFixedXYZColor
}

type CMYxyColor

type CMYxyColor struct {
	CapY uint16
	X    uint16
	Y    uint16
}

type CQDProcs

type CQDProcs struct {
	TextProc          unsafe.Pointer
	LineProc          unsafe.Pointer
	RectProc          unsafe.Pointer
	RRectProc         unsafe.Pointer
	OvalProc          unsafe.Pointer
	ArcProc           unsafe.Pointer
	PolyProc          unsafe.Pointer
	RgnProc           unsafe.Pointer
	BitsProc          unsafe.Pointer
	CommentProc       unsafe.Pointer
	TxMeasProc        unsafe.Pointer
	GetPicProc        unsafe.Pointer
	PutPicProc        unsafe.Pointer
	OpcodeProc        unsafe.Pointer
	NewProc1          unsafe.Pointer
	GlyphsProc        unsafe.Pointer
	PrinterStatusProc unsafe.Pointer
	NewProc4          unsafe.Pointer
	NewProc5          unsafe.Pointer
	NewProc6          unsafe.Pointer
}

type Clockid_t

type Clockid_t int64

func (Clockid_t) String

func (e Clockid_t) String() string

type ColorSpec

type ColorSpec struct {
	Value int16
	Rgb   RGBColor
}

type ColorTable

type ColorTable struct {
	CtSeed  int
	CtFlags int16
	CtSize  int16
	CtTable [1]ColorSpec
}

type Dispatch_autorelease_frequency_t

type Dispatch_autorelease_frequency_t uint64
const (
	DISPATCH_AUTORELEASE_FREQUENCY_INHERIT   Dispatch_autorelease_frequency_t = 0
	DISPATCH_AUTORELEASE_FREQUENCY_WORK_ITEM Dispatch_autorelease_frequency_t = 1
	DISPATCH_AUTORELEASE_FREQUENCY_NEVER     Dispatch_autorelease_frequency_t = 2
)

func (Dispatch_autorelease_frequency_t) String

type Dispatch_block_flags_t

type Dispatch_block_flags_t uint64
const (
	DISPATCH_BLOCK_BARRIER           Dispatch_block_flags_t = 1
	DISPATCH_BLOCK_DETACHED          Dispatch_block_flags_t = 2
	DISPATCH_BLOCK_ASSIGN_CURRENT    Dispatch_block_flags_t = 4
	DISPATCH_BLOCK_NO_QOS_CLASS      Dispatch_block_flags_t = 8
	DISPATCH_BLOCK_INHERIT_QOS_CLASS Dispatch_block_flags_t = 16
	DISPATCH_BLOCK_ENFORCE_QOS_CLASS Dispatch_block_flags_t = 32
)

func (Dispatch_block_flags_t) String

func (e Dispatch_block_flags_t) String() string

type EvCmd

type EvCmd int64
const (
	EVNOP   EvCmd = 0
	EVHIDE  EvCmd = 1
	EVSHOW  EvCmd = 2
	EVMOVE  EvCmd = 3
	EVLEVEL EvCmd = 4
)

func (EvCmd) String

func (e EvCmd) String() string

type FMInput

type FMInput struct {
	Family   int16
	Size     int16
	Face     uint8
	NeedBits uint8
	Device   int16
	Numer    unsafe.Pointer
	Denom    unsafe.Pointer
}

type FamRec

type FamRec struct {
	FfFlags     int16
	FfFamID     int16
	FfFirstChar int16
	FfLastChar  int16
	FfAscent    int16
	FfDescent   int16
	FfLeading   int16
	FfWidMax    int16
	FfWTabOff   int
	FfKernOff   int
	FfStylOff   int
	FfProperty  [9]int16
	FfIntl      [2]int16
	FfVersion   int16
}

type Filesec_property_t

type Filesec_property_t int64
const (
	FILESEC_OWNER         Filesec_property_t = 1
	FILESEC_GROUP         Filesec_property_t = 2
	FILESEC_UUID          Filesec_property_t = 3
	FILESEC_MODE          Filesec_property_t = 4
	FILESEC_ACL           Filesec_property_t = 5
	FILESEC_GRPUUID       Filesec_property_t = 6
	FILESEC_ACL_RAW       Filesec_property_t = 100
	FILESEC_ACL_ALLOCSIZE Filesec_property_t = 101
)

func (Filesec_property_t) String

func (e Filesec_property_t) String() string

type FontAssoc

type FontAssoc struct {
	NumAssoc int16
}

type FontInfo

type FontInfo struct {
	Ascent  int16
	Descent int16
	WidMax  int16
	Leading int16
}

type FontRec

type FontRec struct {
	FontType    int16
	FirstChar   int16
	LastChar    int16
	WidMax      int16
	KernMax     int16
	NDescent    int16
	FRectWidth  int16
	FRectHeight int16
	OwTLoc      uint16
	Ascent      int16
	Descent     int16
	Leading     int16
	RowWords    int16
}

type GDevice

type GDevice struct {
	GdRefNum     int16
	GdID         int16
	GdType       int16
	GdITable     *string
	GdResPref    int16
	GdSearchProc *string
	GdCompProc   *string
	GdFlags      int16
	GdPMap       **PixMap
	GdRefCon     int
	GdNextGD     **GDevice
	GdRect       unsafe.Pointer
	GdMode       int
	GdCCBytes    int16
	GdCCDepth    int16
	GdCCXData    *string
	GdCCXMask    *string
	GdExt        *string
}

type GrafPort

type GrafPort struct {
	Whatever [87]int16
}

type Idtype_t

type Idtype_t int64
const (
	P_ALL  Idtype_t = 0
	P_PID  Idtype_t = 1
	P_PGID Idtype_t = 2
)

func (Idtype_t) String

func (e Idtype_t) String() string

type Ipc_info_object_type_t

type Ipc_info_object_type_t int64
const (
	IPC_OTYPE_NONE                 Ipc_info_object_type_t = 0
	IPC_OTYPE_THREAD_CONTROL       Ipc_info_object_type_t = 1
	IPC_OTYPE_TASK_CONTROL         Ipc_info_object_type_t = 2
	IPC_OTYPE_HOST                 Ipc_info_object_type_t = 3
	IPC_OTYPE_HOST_PRIV            Ipc_info_object_type_t = 4
	IPC_OTYPE_PROCESSOR            Ipc_info_object_type_t = 5
	IPC_OTYPE_PROCESSOR_SET        Ipc_info_object_type_t = 6
	IPC_OTYPE_PROCESSOR_SET_NAME   Ipc_info_object_type_t = 7
	IPC_OTYPE_TIMER                Ipc_info_object_type_t = 8
	IPC_OTYPE_PORT_SUBST_ONCE      Ipc_info_object_type_t = 9
	IPC_OTYPE_MIG                  Ipc_info_object_type_t = 10
	IPC_OTYPE_MEMORY_OBJECT        Ipc_info_object_type_t = 11
	IPC_OTYPE_XMM_PAGER            Ipc_info_object_type_t = 12
	IPC_OTYPE_XMM_KERNEL           Ipc_info_object_type_t = 13
	IPC_OTYPE_XMM_REPLY            Ipc_info_object_type_t = 14
	IPC_OTYPE_UND_REPLY            Ipc_info_object_type_t = 15
	IPC_OTYPE_HOST_NOTIFY          Ipc_info_object_type_t = 16
	IPC_OTYPE_HOST_SECURITY        Ipc_info_object_type_t = 17
	IPC_OTYPE_LEDGER               Ipc_info_object_type_t = 18
	IPC_OTYPE_MAIN_DEVICE          Ipc_info_object_type_t = 19
	IPC_OTYPE_TASK_NAME            Ipc_info_object_type_t = 20
	IPC_OTYPE_SUBSYSTEM            Ipc_info_object_type_t = 21
	IPC_OTYPE_IO_DONE_QUEUE        Ipc_info_object_type_t = 22
	IPC_OTYPE_SEMAPHORE            Ipc_info_object_type_t = 23
	IPC_OTYPE_LOCK_SET             Ipc_info_object_type_t = 24
	IPC_OTYPE_CLOCK                Ipc_info_object_type_t = 25
	IPC_OTYPE_CLOCK_CTRL           Ipc_info_object_type_t = 26
	IPC_OTYPE_IOKIT_IDENT          Ipc_info_object_type_t = 27
	IPC_OTYPE_NAMED_ENTRY          Ipc_info_object_type_t = 28
	IPC_OTYPE_IOKIT_CONNECT        Ipc_info_object_type_t = 29
	IPC_OTYPE_IOKIT_OBJECT         Ipc_info_object_type_t = 30
	IPC_OTYPE_UPL                  Ipc_info_object_type_t = 31
	IPC_OTYPE_MEM_OBJ_CONTROL      Ipc_info_object_type_t = 32
	IPC_OTYPE_AU_SESSIONPORT       Ipc_info_object_type_t = 33
	IPC_OTYPE_FILEPORT             Ipc_info_object_type_t = 34
	IPC_OTYPE_LABELH               Ipc_info_object_type_t = 35
	IPC_OTYPE_TASK_RESUME          Ipc_info_object_type_t = 36
	IPC_OTYPE_VOUCHER              Ipc_info_object_type_t = 37
	IPC_OTYPE_VOUCHER_ATTR_CONTROL Ipc_info_object_type_t = 38
	IPC_OTYPE_WORK_INTERVAL        Ipc_info_object_type_t = 39
	IPC_OTYPE_UX_HANDLER           Ipc_info_object_type_t = 40
	IPC_OTYPE_UEXT_OBJECT          Ipc_info_object_type_t = 41
	IPC_OTYPE_ARCADE_REG           Ipc_info_object_type_t = 42
	IPC_OTYPE_EVENTLINK            Ipc_info_object_type_t = 43
	IPC_OTYPE_TASK_INSPECT         Ipc_info_object_type_t = 44
	IPC_OTYPE_TASK_READ            Ipc_info_object_type_t = 45
	IPC_OTYPE_THREAD_INSPECT       Ipc_info_object_type_t = 46
	IPC_OTYPE_THREAD_READ          Ipc_info_object_type_t = 47
	IPC_OTYPE_SUID_CRED            Ipc_info_object_type_t = 48
	IPC_OTYPE_HYPERVISOR           Ipc_info_object_type_t = 49
	IPC_OTYPE_TASK_ID_TOKEN        Ipc_info_object_type_t = 50
	IPC_OTYPE_TASK_FATAL           Ipc_info_object_type_t = 51
	IPC_OTYPE_KCDATA               Ipc_info_object_type_t = 52
	IPC_OTYPE_EXCLAVES_RESOURCE    Ipc_info_object_type_t = 53
	IPC_OTYPE_THREAD_RESUME        Ipc_info_object_type_t = 54
	IPC_OTYPE_UNKNOWN              Ipc_info_object_type_t = 4294967295
)

func (Ipc_info_object_type_t) String

func (e Ipc_info_object_type_t) String() string

type KernEntry

type KernEntry struct {
	KernStyle  int16
	KernLength int16
}

type KernPair

type KernPair struct {
	KernFirst  int8
	KernSecond int8
	KernWidth  int16
}

type KernTable

type KernTable struct {
	NumKerns int16
}

type Launch_data_type_t

type Launch_data_type_t int64
const (
	LAUNCH_DATA_DICTIONARY Launch_data_type_t = 1
	LAUNCH_DATA_ARRAY      Launch_data_type_t = 2
	LAUNCH_DATA_FD         Launch_data_type_t = 3
	LAUNCH_DATA_INTEGER    Launch_data_type_t = 4
	LAUNCH_DATA_REAL       Launch_data_type_t = 5
	LAUNCH_DATA_BOOL       Launch_data_type_t = 6
	LAUNCH_DATA_STRING     Launch_data_type_t = 7
	LAUNCH_DATA_OPAQUE     Launch_data_type_t = 8
	LAUNCH_DATA_ERRNO      Launch_data_type_t = 9
	LAUNCH_DATA_MACHPORT   Launch_data_type_t = 10
)

func (Launch_data_type_t) String

func (e Launch_data_type_t) String() string

type MDLabelDomain

type MDLabelDomain int64

@typedef MDLabelDomain @abstract These constants are used to specify a domain to MDLabelCreate().

const (
	KMDLabelUserDomain  MDLabelDomain = 0
	KMDLabelLocalDomain MDLabelDomain = 1
)

func (MDLabelDomain) String

func (e MDLabelDomain) String() string

type MDQueryOptionFlags

type MDQueryOptionFlags int64
const (
	KMDQuerySynchronous        MDQueryOptionFlags = 1
	KMDQueryWantsUpdates       MDQueryOptionFlags = 4
	KMDQueryAllowFSTranslation MDQueryOptionFlags = 8
)

func (MDQueryOptionFlags) String

func (e MDQueryOptionFlags) String() string

type MDQuerySortOptionFlags

type MDQuerySortOptionFlags int64

@enum MDQuerySortOptionFlags @constant kMDQueryReverseSortOrderFlag Sort the attribute in reverse order.

const (
	KMDQueryReverseSortOrderFlag MDQuerySortOptionFlags = 1
)

func (MDQuerySortOptionFlags) String

func (e MDQuerySortOptionFlags) String() string

type MacPolygon

type MacPolygon struct {
	PolySize   int16
	PolyBBox   unsafe.Pointer
	PolyPoints [1]unsafe.Pointer
}

type Mach_vm_range_flags_t

type Mach_vm_range_flags_t int64
const (
	MACH_VM_RANGE_NONE Mach_vm_range_flags_t = 0
)

func (Mach_vm_range_flags_t) String

func (e Mach_vm_range_flags_t) String() string

type Mach_vm_range_flavor_t

type Mach_vm_range_flavor_t int64
const (
	MACH_VM_RANGE_FLAVOR_INVALID Mach_vm_range_flavor_t = 0
	MACH_VM_RANGE_FLAVOR_V1      Mach_vm_range_flavor_t = 1
)

func (Mach_vm_range_flavor_t) String

func (e Mach_vm_range_flavor_t) String() string

type Mach_vm_range_tag_t

type Mach_vm_range_tag_t int64
const (
	MACH_VM_RANGE_DEFAULT Mach_vm_range_tag_t = 0
	MACH_VM_RANGE_DATA    Mach_vm_range_tag_t = 1
	MACH_VM_RANGE_FIXED   Mach_vm_range_tag_t = 2
)

func (Mach_vm_range_tag_t) String

func (e Mach_vm_range_tag_t) String() string

type Mpo_flags_t

type Mpo_flags_t int64
const (
	MPO_PORT                            Mpo_flags_t = 0
	MPO_SERVICE_PORT                    Mpo_flags_t = 1024
	MPO_CONNECTION_PORT                 Mpo_flags_t = 2048
	MPO_REPLY_PORT                      Mpo_flags_t = 4096
	MPO_WEAK_REPLY_PORT                 Mpo_flags_t = 16384
	MPO_NOTIFICATION_PORT               Mpo_flags_t = 17408
	MPO_EXCEPTION_PORT                  Mpo_flags_t = 32768
	MPO_CONNECTION_PORT_WITH_PORT_ARRAY Mpo_flags_t = 65536
)

func (Mpo_flags_t) String

func (e Mpo_flags_t) String() string

type NCMConcatProfileSet

type NCMConcatProfileSet struct {
	Cmm          uint
	Flags        uint
	FlagsMask    uint
	ProfileCount uint
	ProfileSpecs [1]NCMConcatProfileSpec
}

type NCMConcatProfileSpec

type NCMConcatProfileSpec struct {
	RenderingIntent uint
	TransformTag    uint
	Profile         unsafe.Pointer
}

type NCMDeviceProfileInfo

type NCMDeviceProfileInfo struct {
	DataVersion  uint
	ProfileID    uint
	ProfileLoc   CMProfileLocation
	ProfileName  unsafe.Pointer
	ProfileScope CMDeviceScope
	Reserved     uint
}

type NXMouseButton

type NXMouseButton int64
const (
	NX_OneButton   NXMouseButton = 0
	NX_LeftButton  NXMouseButton = 1
	NX_RightButton NXMouseButton = 2
)

func (NXMouseButton) String

func (e NXMouseButton) String() string

type NameTable

type NameTable struct {
	StringCount  int16
	BaseFontName [256]uint8
}

type OpaqueCMProfileRef

type OpaqueCMProfileRef struct{}

OpaqueCMProfileRef is an opaque type.

type OpaqueCMWorldRef

type OpaqueCMWorldRef struct{}

OpaqueCMWorldRef is an opaque type.

type OpaqueDialogPtr

type OpaqueDialogPtr struct{}

OpaqueDialogPtr is an opaque type.

type OpaqueGrafPtr

type OpaqueGrafPtr struct{}

OpaqueGrafPtr is an opaque type.

type OpaqueRgnHandle

type OpaqueRgnHandle struct{}

OpaqueRgnHandle is an opaque type.

type OpaqueWindowPtr

type OpaqueWindowPtr struct{}

OpaqueWindowPtr is an opaque type.

type OpenCPicParams

type OpenCPicParams struct {
	SrcRect   unsafe.Pointer
	HRes      int
	VRes      int
	Version   int16
	Reserved1 int16
	Reserved2 int
}

type Os_clockid_t

type Os_clockid_t int64
const (
	OS_CLOCK_MACH_ABSOLUTE_TIME Os_clockid_t = 32
)

func (Os_clockid_t) String

func (e Os_clockid_t) String() string

type Pattern

type Pattern struct {
	Pat [8]uint8
}

type Picture

type Picture struct {
	PicSize  int16
	PicFrame unsafe.Pointer
}

type PixMap

type PixMap struct {
	BaseAddr    string
	RowBytes    int16
	Bounds      unsafe.Pointer
	PmVersion   int16
	PackType    int16
	PackSize    int
	HRes        int
	VRes        int
	PixelType   int16
	PixelSize   int16
	CmpCount    int16
	CmpSize     int16
	PixelFormat uint
	PmTable     **ColorTable
	PmExt       unsafe.Pointer
}

type PixPat

type PixPat struct {
	PatType   int16
	PatMap    **PixMap
	PatData   *string
	PatXData  *string
	PatXValid int16
	PatXMap   *string
	Pat1Data  Pattern
}

type Ptrauth_key

type Ptrauth_key int64
const (
	Ptrauth_key_none                     Ptrauth_key = -1
	Ptrauth_key_asia                     Ptrauth_key = 0
	Ptrauth_key_asib                     Ptrauth_key = 1
	Ptrauth_key_asda                     Ptrauth_key = 2
	Ptrauth_key_asdb                     Ptrauth_key = 3
	Ptrauth_key_process_independent_code Ptrauth_key = 0
	Ptrauth_key_process_dependent_code   Ptrauth_key = 1
	Ptrauth_key_process_independent_data Ptrauth_key = 2
	Ptrauth_key_process_dependent_data   Ptrauth_key = 3
	Ptrauth_key_return_address           Ptrauth_key = 1
	Ptrauth_key_frame_pointer            Ptrauth_key = 3
	Ptrauth_key_function_pointer         Ptrauth_key = 0
	Ptrauth_key_block_function           Ptrauth_key = 0
	Ptrauth_key_cxx_vtable_pointer       Ptrauth_key = 2
	Ptrauth_key_method_list_pointer      Ptrauth_key = 2
	Ptrauth_key_objc_isa_pointer         Ptrauth_key = 2
	Ptrauth_key_objc_super_pointer       Ptrauth_key = 2
	Ptrauth_key_objc_sel_pointer         Ptrauth_key = 3
	Ptrauth_key_objc_class_ro_pointer    Ptrauth_key = 2
	Ptrauth_key_block_descriptor_pointer Ptrauth_key = 2
	Ptrauth_key_init_fini_pointer        Ptrauth_key = 0
)

func (Ptrauth_key) String

func (e Ptrauth_key) String() string

type Qos_class_t

type Qos_class_t uint32
const (
	QOS_CLASS_USER_INTERACTIVE Qos_class_t = 33
	QOS_CLASS_USER_INITIATED   Qos_class_t = 25
	QOS_CLASS_DEFAULT          Qos_class_t = 21
	QOS_CLASS_UTILITY          Qos_class_t = 17
	QOS_CLASS_BACKGROUND       Qos_class_t = 9
	QOS_CLASS_UNSPECIFIED      Qos_class_t = 0
)

func (Qos_class_t) String

func (e Qos_class_t) String() string

type RGBColor

type RGBColor struct {
	Red   uint16
	Green uint16
	Blue  uint16
}

type StyleTable

type StyleTable struct {
	FontClass int16
	Offset    int
	Reserved  int
	Indexes   [48]int8
}

type VDGammaRecord

type VDGammaRecord struct {
	CsGTable string
}

type Virtual_memory_guard_exception_code_t

type Virtual_memory_guard_exception_code_t int64
const (
	KGUARD_EXC_DEALLOC_GAP                   Virtual_memory_guard_exception_code_t = 1
	KGUARD_EXC_RECLAIM_COPYIO_FAILURE        Virtual_memory_guard_exception_code_t = 2
	KGUARD_EXC_RECLAIM_INDEX_FAILURE         Virtual_memory_guard_exception_code_t = 4
	KGUARD_EXC_RECLAIM_DEALLOCATE_FAILURE    Virtual_memory_guard_exception_code_t = 8
	KGUARD_EXC_RECLAIM_ACCOUNTING_FAILURE    Virtual_memory_guard_exception_code_t = 9
	KGUARD_EXC_SEC_IOPL_ON_EXEC_PAGE         Virtual_memory_guard_exception_code_t = 10
	KGUARD_EXC_SEC_EXEC_ON_IOPL_PAGE         Virtual_memory_guard_exception_code_t = 11
	KGUARD_EXC_SEC_UPL_WRITE_ON_EXEC_REGION  Virtual_memory_guard_exception_code_t = 12
	KGUARD_EXC_LARGE_ALLOCATION_TELEMETRY    Virtual_memory_guard_exception_code_t = 13
	KGUARD_EXC_SEC_ACCESS_FAULT              Virtual_memory_guard_exception_code_t = 98
	KGUARD_EXC_SEC_ASYNC_ACCESS_FAULT        Virtual_memory_guard_exception_code_t = 99
	KGUARD_EXC_SEC_COPY_DENIED               Virtual_memory_guard_exception_code_t = 100
	KGUARD_EXC_SEC_SHARING_DENIED            Virtual_memory_guard_exception_code_t = 101
	KGUARD_EXC_MTE_SYNC_FAULT                Virtual_memory_guard_exception_code_t = 200
	KGUARD_EXC_MTE_ASYNC_USER_FAULT          Virtual_memory_guard_exception_code_t = 201
	KGUARD_EXC_MTE_ASYNC_KERN_FAULT          Virtual_memory_guard_exception_code_t = 202
	KGUARD_EXC_GUARD_OBJECT_ASYNC_USER_FAULT Virtual_memory_guard_exception_code_t = 203
	KGUARD_EXC_GUARD_OBJECT_ASYNC_KERN_FAULT Virtual_memory_guard_exception_code_t = 204
)

func (Virtual_memory_guard_exception_code_t) String

type Xpc_listener_create_flags_t

type Xpc_listener_create_flags_t int64
const (
	XPC_LISTENER_CREATE_NONE             Xpc_listener_create_flags_t = 0
	XPC_LISTENER_CREATE_INACTIVE         Xpc_listener_create_flags_t = 1
	XPC_LISTENER_CREATE_FORCE_MACH       Xpc_listener_create_flags_t = 2
	XPC_LISTENER_CREATE_FORCE_XPCSERVICE Xpc_listener_create_flags_t = 4
)

func (Xpc_listener_create_flags_t) String

type Xpc_session_create_flags_t

type Xpc_session_create_flags_t int64
const (
	XPC_SESSION_CREATE_NONE            Xpc_session_create_flags_t = 0
	XPC_SESSION_CREATE_INACTIVE        Xpc_session_create_flags_t = 1
	XPC_SESSION_CREATE_MACH_PRIVILEGED Xpc_session_create_flags_t = 2
)

func (Xpc_session_create_flags_t) String

Jump to

Keyboard shortcuts

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