Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

expose HB_BUFFER_FLAG_PRODUCE_UNSAFE_TO_CONCAT #81

Merged
merged 1 commit into from
May 16, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions hbjs.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ function hbjs(instance) {
if (s == "PRESERVE_DEFAULT_IGNORABLES") { return 0x4; }
if (s == "REMOVE_DEFAULT_IGNORABLES") { return 0x8; }
if (s == "DO_NOT_INSERT_DOTTED_CIRCLE") { return 0x10; }
if (s == "PRODUCE_UNSAFE_TO_CONCAT") { return 0x40; }
return 0x0;
}

Expand Down Expand Up @@ -304,6 +305,7 @@ function hbjs(instance) {
* "PRESERVE_DEFAULT_IGNORABLES"
* "REMOVE_DEFAULT_IGNORABLES"
* "DO_NOT_INSERT_DOTTED_CIRCLE"
* "PRODUCE_UNSAFE_TO_CONCAT"
*/
setFlags: function (flags) {
var flagValue = 0
Expand Down