runtimeutil

package
v1.2.47 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromEface

func FromEface(typ, data unsafe.Pointer) any

func Tp2Up

func Tp2Up[T any](tp *T) unsafe.Pointer

Tp2Up Type Pointer to unsafe.Pointer

func Up2Tp

func Up2Tp[T any](up unsafe.Pointer) *T

Up2Tp unsafe.Pointer to Type Pointer

func Up2Ui

func Up2Ui(up unsafe.Pointer) uintptr

Up2Ui unsafe.Pointer to uintptr

Types

type EFace

type EFace struct {
	Typ  unsafe.Pointer
	Data unsafe.Pointer
	// contains filtered or unexported fields
}

func EFaceOf

func EFaceOf(v any) *EFace

EFaceOf v is typed

func (*EFace) Any

func (e *EFace) Any() any

func (*EFace) Type

func (e *EFace) Type() uintptr

func (*EFace) Value

func (e *EFace) Value() uintptr

func (*EFace) WithValuePtr

func (e *EFace) WithValuePtr(vp *any) *EFace

type IFace

type IFace struct {
	Tab  unsafe.Pointer
	Data unsafe.Pointer
}

Jump to

Keyboard shortcuts

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