mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 16:18:12 +00:00
IPCCompiler: Fix declaration of static functions
This commit is contained in:
parent
090936e424
commit
9853a4393c
1 changed files with 2 additions and 2 deletions
|
@ -63,12 +63,12 @@ struct Endpoint {
|
|||
Vector<Message> messages;
|
||||
};
|
||||
|
||||
bool is_primitive_type(String const& type)
|
||||
static bool is_primitive_type(String const& type)
|
||||
{
|
||||
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)
|
||||
static String message_name(String const& endpoint, String& message, bool is_response)
|
||||
{
|
||||
StringBuilder builder;
|
||||
builder.append("Messages::");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue