Merge pull request #654 from visualfc/fixstd

cpp/std: fix std::string def
This commit is contained in:
xushiwei
2024-08-05 12:48:33 +08:00
committed by GitHub

View File

@@ -31,7 +31,7 @@ type StringView = string
// String represents a C++ std::string object.
type String struct {
Unused [3]uintptr
Unused [3 * unsafe.Sizeof(0)]byte
}
// llgo:link (*String).InitEmpty C.stdStringInitEmpty