1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 22:27:35 +00:00

WrapperGenerator: Don't emit code for imported enumerations

This commit is contained in:
Ali Mohammad Pur 2022-02-17 04:41:53 +03:30 committed by Andreas Kling
parent c38163494a
commit 144ef3eb9f

View file

@ -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"~~~(