Documentation ¶
Rendered for darwin/amd64
Index ¶
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)
Types ¶
type AllocatorRef ¶
type AllocatorRef = C.CFAllocatorRef
type BooleanRef ¶
type BooleanRef C.CFBooleanRef
func (BooleanRef) TypeRef ¶
func (v BooleanRef) TypeRef() CFTypeRef
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.