mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:57:35 +00:00
IPCCompiler: Mark size_t as a primitive type
This allows size_t to be used within an IPC message without being passed by const-reference.
This commit is contained in:
parent
8fcb8c30c6
commit
3a915483b0
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ struct Endpoint {
|
|||
|
||||
static bool is_primitive_type(DeprecatedString const& type)
|
||||
{
|
||||
return type.is_one_of("u8", "i8", "u16", "i16", "u32", "i32", "u64", "i64", "bool", "double", "float", "int", "unsigned", "unsigned int");
|
||||
return type.is_one_of("u8", "i8", "u16", "i16", "u32", "i32", "u64", "i64", "size_t", "bool", "double", "float", "int", "unsigned", "unsigned int");
|
||||
}
|
||||
|
||||
static bool is_simple_type(DeprecatedString const& type)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue