Explorar o código

IPCCompiler: Don't generate handlers for response messages

For some reason we had IPC handler methods for the return types. This
removes those handlers.
Gunnar Beutner %!s(int64=4) %!d(string=hai) anos
pai
achega
34cf5cf07f
Modificáronse 1 ficheiros con 0 adicións e 4 borrados
  1. 0 4
      Userland/DevTools/IPCCompiler/main.cpp

+ 0 - 4
Userland/DevTools/IPCCompiler/main.cpp

@@ -754,8 +754,6 @@ public:
 )~~~");
             };
             do_handle_message(message.name, message.inputs, message.is_synchronous);
-            if (message.is_synchronous)
-                do_handle_message(message.response_name(), message.outputs, false);
         }
         endpoint_generator.append(R"~~~(
         default:
@@ -809,8 +807,6 @@ public:
             };
 
             do_handle_message_decl(message.name, message.inputs, false);
-            if (message.is_synchronous)
-                do_handle_message_decl(message.response_name(), message.outputs, true);
         }
 
         endpoint_generator.append(R"~~~(