types

package
v0.0.0-...-3ca7fae Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Void          = types.Typ[types.UntypedNil]
	UnsafePointer = types.Typ[types.UnsafePointer]

	Int     = types.Typ[types.Int32]
	Uint    = types.Typ[types.Uint32]
	Long    = types.Typ[uintptr(types.Int32)+unsafe.Sizeof(0)>>3]  // int32/int64
	Ulong   = types.Typ[uintptr(types.Uint32)+unsafe.Sizeof(0)>>3] // uint32/uint64
	NotImpl = UnsafePointer

	LongDouble = types.Typ[types.Float64]
)

Functions

func Identical

func Identical(typ1, typ2 types.Type) bool

func IsFunc

func IsFunc(typ types.Type) bool

func MangledName

func MangledName(tag, name string) string

func NewFunc

func NewFunc(params, results *types.Tuple, variadic bool) *types.Signature

func NewPointer

func NewPointer(typ types.Type) types.Type

func NotVoid

func NotVoid(t types.Type) bool

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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