mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 22:27:35 +00:00
LibWeb/IDL/Codegen: Generate cpp_type for enums
This commit is contained in:
parent
3f4ed782b4
commit
02a85d8259
1 changed files with 3 additions and 0 deletions
|
@ -228,6 +228,9 @@ CppType idl_type_name_to_cpp_type(Type const& type, Interface const& interface)
|
|||
}
|
||||
}
|
||||
|
||||
if (interface.enumerations.contains(type.name()))
|
||||
return { .name = type.name(), .sequence_storage_type = SequenceStorageType::Vector };
|
||||
|
||||
dbgln("Unimplemented type for idl_type_name_to_cpp_type: {}{}", type.name(), type.is_nullable() ? "?" : "");
|
||||
TODO();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue