summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibIPC/Decoder.h
diff options
context:
space:
mode:
authorkleines Filmröllchen <malu.bertsch@gmail.com>2021-08-26 03:05:01 +0200
committerAndreas Kling <kling@serenityos.org>2021-09-12 23:38:57 +0200
commit2909c3a931439d0cbed3e4599d9eed47a6fdb446 (patch)
tree7225ae3240891771213dec6da5366e0512781dfa /Userland/Libraries/LibIPC/Decoder.h
parent6c5fb2ca63b300b748f7b8e66efa532a450b0a58 (diff)
downloadserenity-2909c3a931439d0cbed3e4599d9eed47a6fdb446.zip
LibIPC: Add support for transferring doubles over IPC messages
I'm still wondering why nobody did this yet :^) Also changes the use of unions for the more cleaner / less undefined AK::bit_cast.
Diffstat (limited to 'Userland/Libraries/LibIPC/Decoder.h')
-rw-r--r--Userland/Libraries/LibIPC/Decoder.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Libraries/LibIPC/Decoder.h b/Userland/Libraries/LibIPC/Decoder.h
index 84f066ae22..f868e7c514 100644
--- a/Userland/Libraries/LibIPC/Decoder.h
+++ b/Userland/Libraries/LibIPC/Decoder.h
@@ -41,6 +41,7 @@ public:
bool decode(i32&);
bool decode(i64&);
bool decode(float&);
+ bool decode(double&);
bool decode(String&);
bool decode(ByteBuffer&);
bool decode(URL&);