mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-04 11:07:46 +00:00
add struct size and field offsets to reflect data
This commit is contained in:
@@ -96,7 +96,8 @@ func interfaceTypeAssert(ok bool) {
|
||||
|
||||
type structField struct {
|
||||
typecode unsafe.Pointer // type of this struct field
|
||||
data *uint8 // pointer to byte array containing name, tag, and 'embedded' flag
|
||||
offset uint32
|
||||
data *uint8 // pointer to byte array containing name, tag, and 'embedded' flag
|
||||
}
|
||||
|
||||
// Pseudo function call used during a type assert. It is used during interface
|
||||
|
||||
Reference in New Issue
Block a user