Documentation
¶
Rendered for darwin/amd64
Index ¶
- Variables
- func Release(ref TypeReferer)
- func Retain(ref TypeReferer)
- type AllocatorRef
- type ArrayRef
- type BooleanRef
- type CFArrayRef
- type CFDataRef
- type CFDictionaryRef
- type CFErrorRef
- type CFStringRef
- type CFTypeRef
- type DataRef
- type Dictionary
- type DictionaryRef
- type ErrorRef
- type NumberRef
- type StringRef
- type TypeRef
- type TypeReferer
Constants ¶
This section is empty.
Variables ¶
View Source
var ( True = BooleanRef(C.kCFBooleanTrue) False = BooleanRef(C.kCFBooleanFalse) )
View Source
var AllocatorDefault = C.kCFAllocatorDefault
Functions ¶
func Release ¶
func Release(ref TypeReferer)
func Retain ¶ added in v0.51.0
func Retain(ref TypeReferer)
Types ¶
type AllocatorRef ¶
type AllocatorRef = C.CFAllocatorRef
type ArrayRef ¶ added in v0.51.0
type ArrayRef struct {
Value C.CFArrayRef
}
func NewArrayRef ¶ added in v0.51.0
type BooleanRef ¶
type BooleanRef C.CFBooleanRef
func (BooleanRef) TypeRef ¶
func (v BooleanRef) TypeRef() CFTypeRef
type CFArrayRef ¶ added in v0.51.0
type CFArrayRef = C.CFArrayRef
type CFDictionaryRef ¶
type CFDictionaryRef = C.CFDictionaryRef
type CFErrorRef ¶
type CFErrorRef = C.CFErrorRef
type CFStringRef ¶
type CFStringRef = C.CFStringRef
type Dictionary ¶
type Dictionary map[TypeRef]TypeReferer
type DictionaryRef ¶
type DictionaryRef struct {
Value C.CFDictionaryRef
}
func NewDictionary ¶
func NewDictionary(m Dictionary) (*DictionaryRef, error)
func NewDictionaryRef ¶
func NewDictionaryRef(ref TypeRef) *DictionaryRef
func (*DictionaryRef) Release ¶
func (v *DictionaryRef) Release()
func (*DictionaryRef) TypeRef ¶
func (v *DictionaryRef) TypeRef() CFTypeRef
type ErrorRef ¶
type ErrorRef C.CFErrorRef
type NumberRef ¶
type NumberRef struct {
Value C.CFNumberRef
}
type StringRef ¶
type StringRef struct {
Value C.CFStringRef
}
type TypeReferer ¶
type TypeReferer interface {
TypeRef() CFTypeRef
}
Click to show internal directories.
Click to hide internal directories.