pointer

package
v1.4.13 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Clear

func Clear()

Clear storage and free all memory

func Restore

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

Restore an object from the storage by its index pointer.

func Save

func Save(v interface{}) unsafe.Pointer

Save an object in the storage and return an index pointer to it.

func Unref

func Unref(ptr unsafe.Pointer)

Unref removes an object from the storage and returns the index pointer to the pool for reuse.

Types

This section is empty.

Jump to

Keyboard shortcuts

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