We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1cdbe79 + b421f75 commit 6ff9f5dCopy full SHA for 6ff9f5d
src/embind/embind.js
@@ -496,8 +496,7 @@ var LibraryEmbind = {
496
name = readLatin1String(name);
497
var stdStringIsUTF8
498
#if EMBIND_STD_STRING_IS_UTF8
499
- //process only std::string bindings with UTF8 support, in contrast to e.g. std::basic_string<unsigned char>
500
- = (name === "std::string");
+ = true;
501
#else
502
= false;
503
#endif
test/code_size/embind_val_wasm.json
@@ -1,10 +1,10 @@
1
{
2
"a.html": 552,
3
"a.html.gz": 380,
4
- "a.js": 6849,
5
- "a.js.gz": 2948,
6
- "a.wasm": 9263,
7
- "a.wasm.gz": 4761,
8
- "total": 16664,
9
- "total_gz": 8089
+ "a.js": 6724,
+ "a.js.gz": 2900,
+ "a.wasm": 9527,
+ "a.wasm.gz": 4892,
+ "total": 16803,
+ "total_gz": 8172
10
}
0 commit comments