cpp/std: fix std::string def
This commit is contained in:
@@ -31,7 +31,7 @@ type StringView = string
|
|||||||
|
|
||||||
// String represents a C++ std::string object.
|
// String represents a C++ std::string object.
|
||||||
type String struct {
|
type String struct {
|
||||||
Unused [3]uintptr
|
Unused [3 * unsafe.Sizeof(0)]byte
|
||||||
}
|
}
|
||||||
|
|
||||||
// llgo:link (*String).InitEmpty C.stdStringInitEmpty
|
// llgo:link (*String).InitEmpty C.stdStringInitEmpty
|
||||||
|
|||||||
Reference in New Issue
Block a user