Skip to content

[embind] Extract shared readStdString helper NFC - #28496

Open
brendandahl wants to merge 1 commit into
emscripten-core:mainfrom
brendandahl:emval-read-std-string
Open

brendandahl wants to merge 1 commit into
emscripten-core:mainfrom
brendandahl:emval-read-std-string

Conversation

@brendandahl

Copy link
Copy Markdown
Collaborator

Move std::string decoding out of _embind_register_std_string into libembind_shared.js so upcoming emval fast paths can reuse it. Also switch EMBIND_STD_STRING_IS_UTF8 to a preprocessor check and normalize ptr under CAN_ADDRESS_2GB.

Move std::string decoding out of _embind_register_std_string into
libembind_shared.js so upcoming emval fast paths can reuse it. Also
switch EMBIND_STD_STRING_IS_UTF8 to a preprocessor check and normalize
ptr under CAN_ADDRESS_2GB.
@brendandahl
brendandahl requested a review from sbc100 December 1, 2026 22:09

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant