mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-31 22:56:04 +00:00
LibWeb: Add WebAssembly.Global and exports support for global instances
This commit is contained in:
parent
910ff8b694
commit
44e3817219
Notes:
github-actions[bot]
2024-12-24 14:21:40 +00:00
Author: https://github.com/ADKaster
Commit: 44e3817219
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3028
10 changed files with 268 additions and 4 deletions
|
@ -294,7 +294,7 @@ CppType idl_type_name_to_cpp_type(Type const& type, Interface const& interface)
|
|||
|
||||
static ByteString make_input_acceptable_cpp(ByteString const& input)
|
||||
{
|
||||
if (input.is_one_of("class", "template", "for", "default", "char", "namespace", "delete", "inline", "register", "switch")) {
|
||||
if (input.is_one_of("class", "template", "for", "default", "char", "namespace", "delete", "inline", "register", "switch", "mutable")) {
|
||||
StringBuilder builder;
|
||||
builder.append(input);
|
||||
builder.append('_');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue