mv examples/{components,args}
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
package components
|
package args
|
||||||
|
|
||||||
type Struct struct {
|
type Struct struct {
|
||||||
Byte byte
|
Byte byte
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
// Code generated by command: go run asm.go -out components.s -stubs stub.go. DO NOT EDIT.
|
// Code generated by command: go run asm.go -out args.s -stubs stub.go. DO NOT EDIT.
|
||||||
|
|
||||||
#include "textflag.h"
|
#include "textflag.h"
|
||||||
|
|
||||||
@@ -1,11 +1,11 @@
|
|||||||
package components
|
package args
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"testing"
|
"testing"
|
||||||
"testing/quick"
|
"testing/quick"
|
||||||
)
|
)
|
||||||
|
|
||||||
//go:generate go run asm.go -out components.s -stubs stub.go
|
//go:generate go run asm.go -out args.s -stubs stub.go
|
||||||
|
|
||||||
func TestFunctionsEqual(t *testing.T) {
|
func TestFunctionsEqual(t *testing.T) {
|
||||||
cases := []struct {
|
cases := []struct {
|
||||||
@@ -7,7 +7,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
Package("github.com/mmcloughlin/avo/examples/components")
|
Package("github.com/mmcloughlin/avo/examples/args")
|
||||||
|
|
||||||
TEXT("StringLen", "func(s string) int")
|
TEXT("StringLen", "func(s string) int")
|
||||||
strlen := Load(Param("s").Len(), GP64v())
|
strlen := Load(Param("s").Len(), GP64v())
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
// Code generated by command: go run asm.go -out components.s -stubs stub.go. DO NOT EDIT.
|
// Code generated by command: go run asm.go -out args.s -stubs stub.go. DO NOT EDIT.
|
||||||
|
|
||||||
package components
|
package args
|
||||||
|
|
||||||
func StringLen(s string) int
|
func StringLen(s string) int
|
||||||
|
|
||||||
Reference in New Issue
Block a user