diff options
author | Timothy Flynn <trflynn89@pm.me> | 2022-12-02 16:13:47 -0500 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-12-07 13:09:00 +0100 |
commit | 3a915483b022f78be5c2547786ad55832d9fb028 (patch) | |
tree | 93617af757a9c2a5bc0065a95e914b56df0e4982 /Meta/Lagom/Tools/CodeGenerators/IPCCompiler/main.cpp | |
parent | 8fcb8c30c68b6167a6b49a4144afe8ec6633f27f (diff) | |
download | serenity-3a915483b022f78be5c2547786ad55832d9fb028.zip |
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.
Diffstat (limited to 'Meta/Lagom/Tools/CodeGenerators/IPCCompiler/main.cpp')
-rw-r--r-- | Meta/Lagom/Tools/CodeGenerators/IPCCompiler/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Meta/Lagom/Tools/CodeGenerators/IPCCompiler/main.cpp b/Meta/Lagom/Tools/CodeGenerators/IPCCompiler/main.cpp index 674a1a9952..2e0198164b 100644 --- a/Meta/Lagom/Tools/CodeGenerators/IPCCompiler/main.cpp +++ b/Meta/Lagom/Tools/CodeGenerators/IPCCompiler/main.cpp @@ -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) |