Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ToMap ¶
func ToMap[CK ~uintptr, CV ~uintptr, K comparable, V any](in CFDictionary, keyTransformer func(CK) K, valueTransformer func(CV) V) map[K]V
ToMap create a go map of C types from the C-dict
Types ¶
type CFDictionary ¶
type CFDictionary uintptr
func Create ¶
func Create[K ~uintptr, V ~uintptr, M ~map[K]V](in M) CFDictionary
Create creates a C-dict from a go map of C types
Click to show internal directories.
Click to hide internal directories.