Documentation
¶
Overview ¶
Package mpsfunctions provides a fluent Go API over the macOS MPSFunctions 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.
Types ¶
Each base type below lists the concrete types you construct and pass where the base is accepted:
- MPSFunction: ColorConversion
Index ¶
- func SupportsSecureCoding() bool
- type Clockid
- type ColorConversion
- func (cc *ColorConversion) DescriptorFor1DTexture1() obj.Object
- func (cc *ColorConversion) DescriptorFor3DTexture1() obj.Object
- func (cc *ColorConversion) DescriptorFor3DTexture2() obj.Object
- func (cc *ColorConversion) InputColorChannels() int
- func (cc *ColorConversion) Options() ColorConversionOptions
- func (cc *ColorConversion) OutputColorChannels() int
- type ColorConversionOptions
- type DispatchAutoreleaseFrequency
- type DispatchBlockFlags
- type EntryID
- type EvCmd
- type FilesecProperty
- type Flag
- type Idtype
- type IpcInfoObjectType
- type LaunchDataType
- type MDLabelDomain
- type MDQueryOptionFlags
- type MDQuerySortOptionFlags
- type MPSFunction
- func (mf *MPSFunction) Description() string
- func (mf *MPSFunction) Error() unsafe.Pointer
- func (mf *MPSFunction) FunctionPrototype() string
- func (mf *MPSFunction) IsEqual(other obj.Object) bool
- func (mf *MPSFunction) IsKind(className string) bool
- func (mf *MPSFunction) Name() string
- func (mf *MPSFunction) String() string
- type MPSFunctionProvider
- type MPSFunctions_AABB
- type MachVMRangeFlags
- type MachVMRangeFlavor
- type MachVMRangeTag
- type MpoFlags
- type NXMouseButton
- type OSClockid
- type Perm
- type PtrauthKey
- type QosClass
- type Tag
- type TaskSharedRegionStubs
- type Type
- type VirtualMemoryGuardExceptionCode
- type XpcListenerCreateFlags
- type XpcSessionCreateFlags
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SupportsSecureCoding ¶
func SupportsSecureCoding() bool
SupportsSecureCoding reports whether part of the NSSecureCoding
Types ¶
type ColorConversion ¶
type ColorConversion struct {
MPSFunction
}
ColorConversion is an idiomatic wrapper over the Objective-C class MPSFColorConversion.
It embeds MPSFunction, promoting that type's methods.
func ColorConversionFromID ¶
func ColorConversionFromID(id objc.ID) *ColorConversion
ColorConversionFromID adopts an existing Objective-C object as a ColorConversion (nil for 0), retaining it and registering a release finalizer.
func NewColorConversion ¶
func NewColorConversion() *ColorConversion
NewColorConversion creates a new ColorConversion.
func (*ColorConversion) DescriptorFor1DTexture1 ¶
func (cc *ColorConversion) DescriptorFor1DTexture1() obj.Object
DescriptorFor1DTexture1 returns a descriptor for mhdr_conversion_data_t.tex1d_1
func (*ColorConversion) DescriptorFor3DTexture1 ¶
func (cc *ColorConversion) DescriptorFor3DTexture1() obj.Object
DescriptorFor3DTexture1 returns a descriptor for mhdr_conversion_data_t.tex3d_1
func (*ColorConversion) DescriptorFor3DTexture2 ¶
func (cc *ColorConversion) DescriptorFor3DTexture2() obj.Object
DescriptorFor3DTexture2 returns a descriptor for mhdr_conversion_data_t.tex3d_2
func (*ColorConversion) InputColorChannels ¶
func (cc *ColorConversion) InputColorChannels() int
InputColorChannels returns the number of color channels used by the conversion in the float4 texel When the conversion is initialized with a NULL CGColorConversionInfoRef this value will be 0
func (*ColorConversion) Options ¶
func (cc *ColorConversion) Options() ColorConversionOptions
Options returns the options used when creating the object
func (*ColorConversion) OutputColorChannels ¶
func (cc *ColorConversion) OutputColorChannels() int
OutputColorChannels returns the number of color channels produced by the conversion in the float4 texel When the conversion is initialized with a NULL CGColorConversionInfoRef this value will be 0
type ColorConversionOptions ¶
type ColorConversionOptions uint64
Bitmask — values may be combined with |.
const ( ColorConversionOptionsNone ColorConversionOptions = 0 ColorConversionOptionsPrecisionDefault ColorConversionOptions = 0 ConverisonOptionsPrecisionSnorm8 ColorConversionOptions = 7 ConverisonOptionsPrecisionUnorm8 ColorConversionOptions = 8 ConverisonOptionsPrecisionSnorm16 ColorConversionOptions = 15 ConverisonOptionsPrecisionUnorm16 ColorConversionOptions = 16 ConverisonOptionsPrecisionFloat16 ColorConversionOptions = 11 ConverisonOptionsPrecisionFloat32 ColorConversionOptions = 24 ColorConversionOptionsPrecisionMask ColorConversionOptions = 63 ColorConversionOptionsReturnGrayscaleAsRGB ColorConversionOptions = 256 ColorConversionOptionsVerboseLogging ColorConversionOptions = 512 )
func (ColorConversionOptions) String ¶
func (e ColorConversionOptions) String() string
String returns the ColorConversionOptions constant's name, or its numeric form when the value is not a known constant.
type DispatchAutoreleaseFrequency ¶
type DispatchAutoreleaseFrequency uint64
const ( DispatchAutoreleaseFrequencyInherit DispatchAutoreleaseFrequency = 0 DispatchAutoreleaseFrequencyWorkItem DispatchAutoreleaseFrequency = 1 DispatchAutoreleaseFrequencyNever DispatchAutoreleaseFrequency = 2 )
func (DispatchAutoreleaseFrequency) String ¶
func (e DispatchAutoreleaseFrequency) String() string
String returns the DispatchAutoreleaseFrequency constant's name, or its numeric form when the value is not a known constant.
type DispatchBlockFlags ¶
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 ¶
func (e DispatchBlockFlags) String() string
String returns the DispatchBlockFlags constant's name, or its numeric form when the value is not a known constant.
type FilesecProperty ¶
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 ¶
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 IpcInfoObjectType ¶
type IpcInfoObjectType uint32
const ( IpcInfoObjectTypeNone IpcInfoObjectType = 0 IpcInfoObjectTypeThreadControl IpcInfoObjectType = 1 IpcInfoObjectTypeTaskControl IpcInfoObjectType = 2 IpcInfoObjectTypeHost IpcInfoObjectType = 3 IpcInfoObjectTypeHostPriv IpcInfoObjectType = 4 IpcInfoObjectTypeProcessor IpcInfoObjectType = 5 IpcInfoObjectTypeProcessorSet IpcInfoObjectType = 6 IpcInfoObjectTypeProcessorSetName IpcInfoObjectType = 7 IpcInfoObjectTypeTimer IpcInfoObjectType = 8 IpcInfoObjectTypePortSubstOnce IpcInfoObjectType = 9 IpcInfoObjectTypeMig IpcInfoObjectType = 10 IpcInfoObjectTypeMemoryObject IpcInfoObjectType = 11 IpcInfoObjectTypeXmmPager IpcInfoObjectType = 12 IpcInfoObjectTypeXmmKernel IpcInfoObjectType = 13 IpcInfoObjectTypeXmmReply IpcInfoObjectType = 14 IpcInfoObjectTypeUndReply IpcInfoObjectType = 15 IpcInfoObjectTypeHostNotify IpcInfoObjectType = 16 IpcInfoObjectTypeHostSecurity IpcInfoObjectType = 17 IpcInfoObjectTypeLedger IpcInfoObjectType = 18 IpcInfoObjectTypeMainDevice IpcInfoObjectType = 19 IpcInfoObjectTypeTaskName IpcInfoObjectType = 20 IpcInfoObjectTypeSubsystem IpcInfoObjectType = 21 IpcInfoObjectTypeIODoneQueue IpcInfoObjectType = 22 IpcInfoObjectTypeSemaphore IpcInfoObjectType = 23 IpcInfoObjectTypeLockSet IpcInfoObjectType = 24 IpcInfoObjectTypeClock IpcInfoObjectType = 25 IpcInfoObjectTypeClockCtrl IpcInfoObjectType = 26 IpcInfoObjectTypeIokitIdent IpcInfoObjectType = 27 IpcInfoObjectTypeNamedEntry IpcInfoObjectType = 28 IpcInfoObjectTypeIokitConnect IpcInfoObjectType = 29 IpcInfoObjectTypeIokitObject IpcInfoObjectType = 30 IpcInfoObjectTypeUpl IpcInfoObjectType = 31 IpcInfoObjectTypeMemObjControl IpcInfoObjectType = 32 IpcInfoObjectTypeAuSessionport IpcInfoObjectType = 33 IpcInfoObjectTypeFileport IpcInfoObjectType = 34 IpcInfoObjectTypeLabelh IpcInfoObjectType = 35 IpcInfoObjectTypeTaskResume IpcInfoObjectType = 36 IpcInfoObjectTypeVoucher IpcInfoObjectType = 37 IpcInfoObjectTypeVoucherAttrControl IpcInfoObjectType = 38 IpcInfoObjectTypeWorkInterval IpcInfoObjectType = 39 IpcInfoObjectTypeUxHandler IpcInfoObjectType = 40 IpcInfoObjectTypeUextObject IpcInfoObjectType = 41 IpcInfoObjectTypeArcadeReg IpcInfoObjectType = 42 IpcInfoObjectTypeEventlink IpcInfoObjectType = 43 IpcInfoObjectTypeTaskInspect IpcInfoObjectType = 44 IpcInfoObjectTypeTaskRead IpcInfoObjectType = 45 IpcInfoObjectTypeThreadInspect IpcInfoObjectType = 46 IpcInfoObjectTypeThreadRead IpcInfoObjectType = 47 IpcInfoObjectTypeSuidCred IpcInfoObjectType = 48 IpcInfoObjectTypeHypervisor IpcInfoObjectType = 49 IpcInfoObjectTypeTaskIDToken IpcInfoObjectType = 50 IpcInfoObjectTypeTaskFatal IpcInfoObjectType = 51 IpcInfoObjectTypeKcdata IpcInfoObjectType = 52 IpcInfoObjectTypeExclavesResource IpcInfoObjectType = 53 IpcInfoObjectTypeThreadResume IpcInfoObjectType = 54 IpcInfoObjectTypeUnknown IpcInfoObjectType = 4294967295 )
func (IpcInfoObjectType) String ¶
func (e IpcInfoObjectType) String() string
String returns the IpcInfoObjectType constant's name, or its numeric form when the value is not a known constant.
type LaunchDataType ¶
type LaunchDataType int32
const ( LaunchDataTypeDictionary LaunchDataType = 1 LaunchDataTypeArray LaunchDataType = 2 LaunchDataTypeFd LaunchDataType = 3 LaunchDataTypeInteger LaunchDataType = 4 LaunchDataTypeReal LaunchDataType = 5 LaunchDataTypeBool LaunchDataType = 6 LaunchDataTypeString LaunchDataType = 7 LaunchDataTypeOpaque LaunchDataType = 8 LaunchDataTypeErrno LaunchDataType = 9 LaunchDataTypeMachport LaunchDataType = 10 )
func (LaunchDataType) String ¶
func (e LaunchDataType) String() string
String returns the LaunchDataType constant's name, or its numeric form when the value is not a known constant.
type MDLabelDomain ¶
type MDLabelDomain int32
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
String returns the MDLabelDomain constant's name, or its numeric form when the value is not a known constant.
type MDQueryOptionFlags ¶
type MDQueryOptionFlags int32
const ( KMDQuerySynchronous MDQueryOptionFlags = 1 KMDQueryWantsUpdates MDQueryOptionFlags = 4 KMDQueryAllowFSTranslation MDQueryOptionFlags = 8 )
func (MDQueryOptionFlags) String ¶
func (e MDQueryOptionFlags) String() string
String returns the MDQueryOptionFlags constant's name, or its numeric form when the value is not a known constant.
type MDQuerySortOptionFlags ¶
type MDQuerySortOptionFlags int32
const (
KMDQueryReverseSortOrderFlag MDQuerySortOptionFlags = 1
)
func (MDQuerySortOptionFlags) String ¶
func (e MDQuerySortOptionFlags) String() string
String returns the MDQuerySortOptionFlags constant's name, or its numeric form when the value is not a known constant.
type MPSFunction ¶
MPSFunction is an idiomatic wrapper over the Objective-C class MPSFunction.
MPSFunction is an abstract base — you do not construct it directly. Construct one of ColorConversion and pass it where a MPSFunction is accepted.
func MPSFunctionFromID ¶
func MPSFunctionFromID(id objc.ID) *MPSFunction
MPSFunctionFromID adopts an existing Objective-C object as a MPSFunction (nil for 0), retaining it and registering a release finalizer.
func NewMPSFunctionWithCoder ¶
func NewMPSFunctionWithCoder(aDecoder obj.Object) *MPSFunction
NewMPSFunctionWithCoder called by NSCoder to decode MPSKernels This standard method doesn't allow for control over which device the object targets. By default this will be the Metal system default device. If you want another device, use the MPSKeyedUnarchiver or other <MPSDeviceProvider> to decode the function.
func (*MPSFunction) Description ¶
func (mf *MPSFunction) Description() string
Description returns the object's -description text.
func (*MPSFunction) Error ¶
func (mf *MPSFunction) Error() unsafe.Pointer
Error returns the error produced when attempting to build the function
func (*MPSFunction) FunctionPrototype ¶
func (mf *MPSFunction) FunctionPrototype() string
FunctionPrototype get a source level representation of the function prototype If your application is building its shaders from source at run time, this string will declare the appropriate function prototypes for the conversion routine appropriate to the version of MetalHDR you are currently running. Note: It is expected that most applications will not use this interface because they are building kernels offline from a .metallib. Such applications should simply: #include <MPSFunctions/MPSFunctions.h> in their .metal file, and declare any functions produced by this object using MPSFUNCTION_DECLARE_COLOR_CONVERSION( _functionName ); or similar, depending on the type of the function created. The _functionName should match the name passed to the object -init method.
func (*MPSFunction) IsEqual ¶
func (mf *MPSFunction) IsEqual(other obj.Object) bool
IsEqual reports Objective-C equality (isEqual:) with another object.
func (*MPSFunction) IsKind ¶
func (mf *MPSFunction) IsKind(className string) bool
IsKind reports whether the object is an instance of the named class or a subclass.
func (*MPSFunction) Name ¶
func (mf *MPSFunction) Name() string
Name returns the name of the Metal Shading Language function built by this object
func (*MPSFunction) String ¶
func (mf *MPSFunction) String() string
String returns the object's -description text, so a wrapper prints usefully under fmt.
type MPSFunctionProvider ¶
MPSFunctionProvider is accepted wherever a MPSFunction (or one of its subclasses) is expected.
type MPSFunctions_AABB ¶
Axis aligned bounding box for color gamut
type MachVMRangeFlags ¶
type MachVMRangeFlags uint64
Bitmask — values may be combined with |.
const (
MachVMRangeFlagsNone MachVMRangeFlags = 0
)
func (MachVMRangeFlags) String ¶
func (e MachVMRangeFlags) String() string
String returns the MachVMRangeFlags constant's name, or its numeric form when the value is not a known constant.
type MachVMRangeFlavor ¶
type MachVMRangeFlavor uint32
const ( MachVMRangeFlavorInvalid MachVMRangeFlavor = 0 MachVMRangeFlavorV1 MachVMRangeFlavor = 1 )
func (MachVMRangeFlavor) String ¶
func (e MachVMRangeFlavor) String() string
String returns the MachVMRangeFlavor constant's name, or its numeric form when the value is not a known constant.
type MachVMRangeTag ¶
type MachVMRangeTag uint16
const ( MachVMRangeTagDefault MachVMRangeTag = 0 MachVMRangeTagData MachVMRangeTag = 1 MachVMRangeTagFixed MachVMRangeTag = 2 )
func (MachVMRangeTag) String ¶
func (e MachVMRangeTag) String() string
String returns the MachVMRangeTag constant's name, or its numeric form when the value is not a known constant.
type MpoFlags ¶
type MpoFlags uint32
Bitmask — values may be combined with |.
const ( MpoFlagsPort MpoFlags = 0 MpoFlagsServicePort MpoFlags = 1024 MpoFlagsConnectionPort MpoFlags = 2048 MpoFlagsReplyPort MpoFlags = 4096 MpoFlagsWeakReplyPort MpoFlags = 16384 MpoFlagsNotificationPort MpoFlags = 17408 MpoFlagsExceptionPort MpoFlags = 32768 MpoFlagsConnectionPortWithPortArray MpoFlags = 65536 )
type NXMouseButton ¶
type NXMouseButton int32
const ( NX_OneButton NXMouseButton = 0 NX_LeftButton NXMouseButton = 1 NX_RightButton NXMouseButton = 2 )
func (NXMouseButton) String ¶
func (e NXMouseButton) String() string
String returns the NXMouseButton constant's name, or its numeric form when the value is not a known constant.
type Perm ¶
type Perm int32
const ( PermReadData Perm = 2 PermListDirectory Perm = 2 PermWriteData Perm = 4 PermAddFile Perm = 4 PermExecute Perm = 8 PermSearch Perm = 8 PermDelete Perm = 16 PermAppendData Perm = 32 PermAddSubdirectory Perm = 32 PermDeleteChild Perm = 64 PermReadAttributes Perm = 128 PermWriteAttributes Perm = 256 PermReadExtattributes Perm = 512 PermWriteExtattributes Perm = 1024 PermReadSecurity Perm = 2048 PermWriteSecurity Perm = 4096 PermChangeOwner Perm = 8192 PermSynchronize Perm = 1048576 )
type PtrauthKey ¶
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 ¶
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 TaskSharedRegionStubs ¶
type TaskSharedRegionStubs uint8
const ( )
func (TaskSharedRegionStubs) String ¶
func (e TaskSharedRegionStubs) String() string
String returns the TaskSharedRegionStubs constant's name, or its numeric form when the value is not a known constant.
type VirtualMemoryGuardExceptionCode ¶
type VirtualMemoryGuardExceptionCode uint32
const ( KGUARD_EXC_DEALLOC_GAP VirtualMemoryGuardExceptionCode = 1 KGUARD_EXC_RECLAIM_COPYIO_FAILURE VirtualMemoryGuardExceptionCode = 2 KGUARD_EXC_RECLAIM_INDEX_FAILURE VirtualMemoryGuardExceptionCode = 4 KGUARD_EXC_RECLAIM_DEALLOCATE_FAILURE VirtualMemoryGuardExceptionCode = 8 KGUARD_EXC_RECLAIM_ACCOUNTING_FAILURE VirtualMemoryGuardExceptionCode = 9 KGUARD_EXC_SEC_IOPL_ON_EXEC_PAGE VirtualMemoryGuardExceptionCode = 10 KGUARD_EXC_SEC_EXEC_ON_IOPL_PAGE VirtualMemoryGuardExceptionCode = 11 KGUARD_EXC_SEC_UPL_WRITE_ON_EXEC_REGION VirtualMemoryGuardExceptionCode = 12 // Guard exception sent to a thread when a CoW defeatured map attempts to copy memory which is not permitted by system policy. KGUARD_EXC_COW_DEFEATURED_COPY_DENIED VirtualMemoryGuardExceptionCode = 13 // Guard exception sent to a thread when it attempts to extract a given type of memory in a way which is not permitted for CoW defeatured maps. KGUARD_EXC_COW_DEFEATURED_EXTRACT_DENIED VirtualMemoryGuardExceptionCode = 14 // Guard exception sent to a thread when it attempts to copy-map a memory entry which was created for sharing by a CoW defeatured map. KGUARD_EXC_COW_DEFEATURED_SHARE_MAP_AS_COPY_DENIED VirtualMemoryGuardExceptionCode = 15 KGUARD_EXC_COW_DEFEATURED_FIRST VirtualMemoryGuardExceptionCode = 13 KGUARD_EXC_COW_DEFEATURED_LAST VirtualMemoryGuardExceptionCode = 15 KGUARD_EXC_LARGE_ALLOCATION_TELEMETRY VirtualMemoryGuardExceptionCode = 16 KGUARD_EXC_SEC_ACCESS_FAULT VirtualMemoryGuardExceptionCode = 98 KGUARD_EXC_SEC_ASYNC_ACCESS_FAULT VirtualMemoryGuardExceptionCode = 99 KGUARD_EXC_SEC_COPY_DENIED VirtualMemoryGuardExceptionCode = 100 KGUARD_EXC_SEC_SHARING_DENIED VirtualMemoryGuardExceptionCode = 101 KGUARD_EXC_MTE_SYNC_FAULT VirtualMemoryGuardExceptionCode = 200 KGUARD_EXC_MTE_ASYNC_USER_FAULT VirtualMemoryGuardExceptionCode = 201 KGUARD_EXC_MTE_ASYNC_KERN_FAULT VirtualMemoryGuardExceptionCode = 202 KGUARD_EXC_GUARD_OBJECT_ASYNC_USER_FAULT VirtualMemoryGuardExceptionCode = 203 KGUARD_EXC_GUARD_OBJECT_ASYNC_KERN_FAULT VirtualMemoryGuardExceptionCode = 204 )
func (VirtualMemoryGuardExceptionCode) String ¶
func (e VirtualMemoryGuardExceptionCode) String() string
String returns the VirtualMemoryGuardExceptionCode constant's name, or its numeric form when the value is not a known constant.
type XpcListenerCreateFlags ¶
type XpcListenerCreateFlags uint64
Bitmask — values may be combined with |.
const ( XpcListenerCreateFlagsNone XpcListenerCreateFlags = 0 XpcListenerCreateFlagsInactive XpcListenerCreateFlags = 1 XpcListenerCreateFlagsForceMach XpcListenerCreateFlags = 2 XpcListenerCreateFlagsForceXpcservice XpcListenerCreateFlags = 4 )
func (XpcListenerCreateFlags) String ¶
func (e XpcListenerCreateFlags) String() string
String returns the XpcListenerCreateFlags constant's name, or its numeric form when the value is not a known constant.
type XpcSessionCreateFlags ¶
type XpcSessionCreateFlags uint64
Bitmask — values may be combined with |.
const ( XpcSessionCreateFlagsNone XpcSessionCreateFlags = 0 XpcSessionCreateFlagsInactive XpcSessionCreateFlags = 1 XpcSessionCreateFlagsMachPrivileged XpcSessionCreateFlags = 2 )
func (XpcSessionCreateFlags) String ¶
func (e XpcSessionCreateFlags) String() string
String returns the XpcSessionCreateFlags constant's name, or its numeric form when the value is not a known constant.