ssa/abi: StructName not pub
This commit is contained in:
@@ -308,7 +308,7 @@ func (b *Builder) StructName(t *types.Struct) (ret string, pub bool) {
|
|||||||
if private {
|
if private {
|
||||||
return b.Pkg + ".struct$" + hashStr, false
|
return b.Pkg + ".struct$" + hashStr, false
|
||||||
}
|
}
|
||||||
return "_llgo_struct$" + hashStr, true
|
return "_llgo_struct$" + hashStr, false
|
||||||
}
|
}
|
||||||
|
|
||||||
func (b *Builder) structHash(t *types.Struct) (ret []byte, private bool) {
|
func (b *Builder) structHash(t *types.Struct) (ret []byte, private bool) {
|
||||||
|
|||||||
Reference in New Issue
Block a user