This commit is contained in:
2026-03-06 20:14:02 +00:00
parent 39eaafea25
commit 33208a2356
146 changed files with 673 additions and 1986 deletions

View File

@@ -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))

View File

@@ -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

View File

@@ -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