mirror of
https://github.com/MatsuriDayo/NekoBoxForAndroid.git
synced 2025-12-19 06:30:05 +08:00
13 lines
253 B
Go
13 lines
253 B
Go
package libcore
|
|
|
|
// https://github.com/golang/go/issues/46893
|
|
// TODO: remove after `bulkBarrierPreWrite: unaligned arguments` fixed
|
|
|
|
type StringBox struct {
|
|
Value string
|
|
}
|
|
|
|
func wrapString(value string) *StringBox {
|
|
return &StringBox{Value: value}
|
|
}
|