abi

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2018 License: BSD-3-Clause Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Int   = Category(0)
	Float = Category(1)

	Size32 = Size(4)
	Size64 = Size(8)

	Void = Type(0)
	I32  = Type(Int) | Type(Size32)
	I64  = Type(Int) | Type(Size64)
	F32  = Type(Float) | Type(Size32)
	F64  = Type(Float) | Type(Size64)
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Category

type Category uint8

func (Category) String added in v0.4.0

func (cat Category) String() string

type Sig

type Sig struct {
	Args   []Type
	Result Type
}

func (Sig) Equal

func (f1 Sig) Equal(f2 Sig) bool

func (Sig) String

func (f Sig) String() (s string)

type Size

type Size uint8

type Type

type Type uint8

func (Type) Category

func (t Type) Category() Category

func (Type) Size

func (t Type) Size() Size

Size in bytes.

func (Type) String

func (t Type) String() string

Jump to

Keyboard shortcuts

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