mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 12:49:19 +00:00
WrapperGenerator: Don't emit code for imported enumerations
This commit is contained in:
parent
c38163494a
commit
144ef3eb9f
Notes:
sideshowbarker
2024-07-17 18:37:34 +09:00
Author: https://github.com/alimpfard
Commit: 144ef3eb9f
Pull-request: https://github.com/SerenityOS/serenity/pull/12590
1 changed files with 2 additions and 0 deletions
|
@ -1408,6 +1408,8 @@ private:
|
|||
)~~~");
|
||||
|
||||
for (auto& it : interface.enumerations) {
|
||||
if (!it.value.is_original_definition)
|
||||
continue;
|
||||
auto enum_generator = generator.fork();
|
||||
enum_generator.set("enum.type.name", it.key);
|
||||
enum_generator.append(R"~~~(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue