inih: INIReaderDispose

This commit is contained in:
xushiwei
2024-07-13 18:11:34 +08:00
parent b026bfc71b
commit af54a22d16
6 changed files with 24 additions and 3 deletions

View File

@@ -20,7 +20,7 @@ void stdStringInitFromCStrLen(std::string* s, const char* cstr, size_t len) {
new(s) std::string(cstr, len);
}
void stdStringDispose(const std::string* s) {
void stdStringDispose(std::string* s) {
s->~basic_string();
}

View File

@@ -17,7 +17,7 @@
package std
const (
LLGoFiles = "_cppstd/string.cpp"
LLGoFiles = "_wrap/string.cpp"
LLGoPackage = "link: c++"
)