pointer

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2020 License: Unlicense Imports: 3 Imported by: 0

Documentation

Overview

package pointer helps pass arbitrary Go values to C code and back.

Taken from https://github.com/mattn/go-pointer/ with small modifications. mattn's MIT license applies.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Restore

func Restore(ptr unsafe.Pointer) (v interface{})

func Save

func Save(v interface{}) unsafe.Pointer

func Unref

func Unref(ptr unsafe.Pointer)

Types

This section is empty.

Jump to

Keyboard shortcuts

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