1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 15:57:45 +00:00

IPCCompiler: Add "u64" and "i64" to the list of primitive types

This commit is contained in:
Andreas Kling 2021-05-13 15:35:05 +02:00
parent e46343bf9a
commit 0a75ee29da

View file

@ -65,9 +65,7 @@ struct Endpoint {
bool is_primitive_type(String const& type)
{
return (type == "u8" || type == "i8" || type == "u16" || type == "i16"
|| type == "u32" || type == "i32" || type == "bool" || type == "double"
|| type == "float" || type == "int" || type == "unsigned" || type == "unsigned int");
return type.is_one_of("u8", "i8", "u16", "i16", "u32", "i32", "u64", "i64", "bool", "double", "float", "int", "unsigned", "unsigned int");
}
String message_name(String const& endpoint, String& message, bool is_response)