mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-21 12:05:15 +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
Notes:
sideshowbarker
2024-07-17 03:41:02 +09:00
Author: https://github.com/trflynn89 Commit: https://github.com/SerenityOS/serenity/commit/3a915483b0 Pull-request: https://github.com/SerenityOS/serenity/pull/16324
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
Reference in a new issue