mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 03:08:13 +00:00
LibWeb/IDL/Codegen: Support typedef (A or B)
This commit is contained in:
parent
1bea780a7f
commit
d94543f964
1 changed files with 0 additions and 3 deletions
|
@ -1145,7 +1145,6 @@ static void generate_to_cpp(SourceGenerator& generator, ParameterType& parameter
|
|||
union_generator.append(R"~~~(
|
||||
if (is<JS::ArrayBuffer>(@js_name@@js_suffix@_object))
|
||||
return JS::make_handle(@js_name@@js_suffix@_object);
|
||||
}
|
||||
)~~~");
|
||||
}
|
||||
|
||||
|
@ -1156,7 +1155,6 @@ static void generate_to_cpp(SourceGenerator& generator, ParameterType& parameter
|
|||
union_generator.append(R"~~~(
|
||||
if (is<JS::DataView>(@js_name@@js_suffix@_object))
|
||||
return JS::make_handle(@js_name@@js_suffix@_object);
|
||||
}
|
||||
)~~~");
|
||||
}
|
||||
|
||||
|
@ -1171,7 +1169,6 @@ static void generate_to_cpp(SourceGenerator& generator, ParameterType& parameter
|
|||
union_generator.append(R"~~~(
|
||||
if (is<JS::TypedArrayBase>(@js_name@@js_suffix@_object))
|
||||
return JS::make_handle(@js_name@@js_suffix@_object);
|
||||
}
|
||||
)~~~");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue