By using Implement you can provide a definition of a function, taking the signature from a stub in the package. One major benefit of this approach is it makes it easy to handle external types in the function signature. Updates #55
8 lines
187 B
ArmAsm
8 lines
187 B
ArmAsm
// Code generated by command: go run asm.go -out ext.s. DO NOT EDIT.
|
|
|
|
// func StructFieldB(e ext.Struct) byte
|
|
TEXT ·StructFieldB(SB), $0-25
|
|
MOVB e_B+6(FP), AL
|
|
MOVB AL, ret+24(FP)
|
|
RET
|