cfdictionary

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 26, 2025 License: MIT Imports: 2 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL