2021-10-29 01:18:34 -07:00
|
|
|
//go:build ignore
|
2019-01-22 22:35:01 -08:00
|
|
|
|
|
|
|
|
package main
|
|
|
|
|
|
2019-04-13 22:53:13 -05:00
|
|
|
import . "github.com/mmcloughlin/avo/build"
|
2019-01-22 22:35:01 -08:00
|
|
|
|
|
|
|
|
func main() {
|
|
|
|
|
Package("github.com/mmcloughlin/avo/examples/ext")
|
|
|
|
|
Implement("StructFieldB")
|
|
|
|
|
b := Load(Param("e").Field("B"), GP8())
|
|
|
|
|
Store(b, ReturnIndex(0))
|
|
|
|
|
RET()
|
|
|
|
|
Generate()
|
|
|
|
|
}
|