Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type StringRef ¶
type StringRef TypeRef
The StringRef type is a reference to a Core Foundation string object.
func StringCreate ¶
StringCreate takes a Go string as argument and creates a String object that represents the same content, then returns a reference to the newly created string.
It is the program's responsibility to release the object returned by this function with a call to Release.
func (StringRef) Release ¶
func (s StringRef) Release()
Release decreases the reference counter of the Core Foundation string passed as argument.
type TypeID ¶
type TypeID uint64
The TypeID type is used to provide a unique identifier to the type of Core Foundation object.
func (TypeID) CopyTypeIDDescription ¶
CopyTypeIDDescription returns a string representation of the type id passed as argument.
type TypeRef ¶
type TypeRef uintptr
The TypeRef type is an untyped reference to any Core Foundation object.
func (TypeRef) CopyDescription ¶
CopyDescription returns a string representation of the object passed as argument.
func (TypeRef) GetTypeID ¶
GetTypeID returns the TypeID representing the type of the Core Foundation object passed as argument.
func (TypeRef) Release ¶
func (obj TypeRef) Release()
Release decreases the reference counter of the Core Foundation object passed as argument.