update
This commit is contained in:
@@ -2,10 +2,10 @@
|
||||
|
||||
package main
|
||||
|
||||
import . "github.com/mmcloughlin/avo/build"
|
||||
import . "sources.truenas.cloud/code/avo/build"
|
||||
|
||||
func main() {
|
||||
Package("github.com/mmcloughlin/avo/examples/ext")
|
||||
Package("sources.truenas.cloud/code/avo/examples/ext")
|
||||
Implement("StructFieldB")
|
||||
b := Load(Param("e").Field("B"), GP8())
|
||||
Store(b, ReturnIndex(0))
|
||||
|
||||
@@ -4,7 +4,7 @@ import (
|
||||
"testing"
|
||||
"testing/quick"
|
||||
|
||||
"github.com/mmcloughlin/avo/examples/ext/ext"
|
||||
"sources.truenas.cloud/code/avo/examples/ext/ext"
|
||||
)
|
||||
|
||||
//go:generate go run asm.go -out ext.s
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Package ext demonstrates how to interact with external types.
|
||||
package ext
|
||||
|
||||
import "github.com/mmcloughlin/avo/examples/ext/ext"
|
||||
import "sources.truenas.cloud/code/avo/examples/ext/ext"
|
||||
|
||||
// StructFieldB returns field B.
|
||||
func StructFieldB(e ext.Struct) byte
|
||||
|
||||
Reference in New Issue
Block a user