# HG changeset patch # User telesto # Date 1418674709 -3600 # Mon Dec 15 21:18:29 2014 +0100 # Node ID 83225e5b3ab45df9085c7edcbe107133c20cdbc4 # Parent c55fefa7a9a377b041615692e43583f4f541c971 removed obsolete comments diff --git a/hackurist.go b/hackurist.go --- a/hackurist.go +++ b/hackurist.go @@ -15,10 +15,9 @@ type headerId int16 const ( - requestBindMethod headerId = 0 // n/a - requestRunCommand headerId = 1 // n/a - requestRunLuaCommand headerId = 4 // added in RemoteTools.cpp by addMethod() - requestQuit headerId = -4 // RPC_REQUEST_QUIT + requestBindMethod headerId = 0 // n/a + requestRunCommand headerId = 1 // n/a + requestQuit headerId = -4 // RPC_REQUEST_QUIT responseResult headerId = -1 // RPC_REPLY_RESULT responseFail headerId = -2 // RPC_REPLY_FAIL @@ -98,15 +97,6 @@ const sizeHeader = 8 -// id is: -// RequestQuit: quitting -// when running a cmd. then id is -// BindMethod: 0 -// RunCommand: 1 -// others from RemoteTools: -// CoreSuspend: 2 -// CoreResume: 3 -// RunLua: 4 // marshaled: xx00yyyy, where x=id and y=size // size is ignored when id = RequestQuit type header struct {