diff options
author | sin-ack <sin-ack@users.noreply.github.com> | 2021-04-25 08:04:17 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-04-25 09:29:49 +0200 |
commit | 59218007a3034c7770b7fa5277ce1eae85bb1c07 (patch) | |
tree | 58595851a1de3e3921f453a1500e8991c9f1e31a /Userland/DevTools/HackStudio | |
parent | f89c60664c001e72128b0142d972f31cb13590d3 (diff) | |
download | serenity-59218007a3034c7770b7fa5277ce1eae85bb1c07.zip |
IPCCompiler: Use string hashes for IPC endpoint magic
This patch removes the IPC endpoint numbers that needed to be specified
in the IPC files. Since the string hash is a (hopefully) collision free
number that depends on the name of the endpoint, we now use that
instead. :^)
Diffstat (limited to 'Userland/DevTools/HackStudio')
-rw-r--r-- | Userland/DevTools/HackStudio/LanguageServers/LanguageClient.ipc | 2 | ||||
-rw-r--r-- | Userland/DevTools/HackStudio/LanguageServers/LanguageServer.ipc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Userland/DevTools/HackStudio/LanguageServers/LanguageClient.ipc b/Userland/DevTools/HackStudio/LanguageServers/LanguageClient.ipc index 889a37623e..8a20b31fb8 100644 --- a/Userland/DevTools/HackStudio/LanguageServers/LanguageClient.ipc +++ b/Userland/DevTools/HackStudio/LanguageServers/LanguageClient.ipc @@ -1,4 +1,4 @@ -endpoint LanguageClient = 8002 +endpoint LanguageClient { AutoCompleteSuggestions(Vector<GUI::AutocompleteProvider::Entry> suggestions) =| DeclarationLocation(GUI::AutocompleteProvider::ProjectLocation location) =| diff --git a/Userland/DevTools/HackStudio/LanguageServers/LanguageServer.ipc b/Userland/DevTools/HackStudio/LanguageServers/LanguageServer.ipc index c8d804410a..938d616be2 100644 --- a/Userland/DevTools/HackStudio/LanguageServers/LanguageServer.ipc +++ b/Userland/DevTools/HackStudio/LanguageServers/LanguageServer.ipc @@ -1,4 +1,4 @@ -endpoint LanguageServer = 8001 +endpoint LanguageServer { Greet(String project_root) => () |