reflect: use int in StringHeader and SliceHeader on non-AVR platforms (#4156)

This commit is contained in:
Randy Reddig
2024-05-14 05:04:54 -07:00
committed by GitHub
parent c78dbcd3f2
commit fe27b674cd
5 changed files with 60 additions and 4 deletions
+8
View File
@@ -0,0 +1,8 @@
//go:build !avr
package reflect
// intw is an integer type, used in places where an int is typically required,
// except architectures where the size of an int != word size.
// See https://github.com/tinygo-org/tinygo/issues/1284.
type intw = int