I can't reproduce this problem. What compiler are you using? Can you provide example code which demonstrates the problem?
On Mon, Dec 22, 2008 at 2:18 AM, <ufukalti...@gmail.com> wrote: > > Btw, i'm using the latest svn version of the compiler and library > > On Dec 20, 11:28 pm, ufukalti...@gmail.com wrote: > > Hello, > > > > I'm trying to implement a socket based RPC implementation with > > protobuf but i'm stuck at creating Closure. > > > > // Example that calls a method: > > // class Handler { > > // public: > > // ... > > // > > // void FooDone(const FooResponse* response) { > > // ... > > // } > > // > > // void CallFoo() { > > // ... > > // // When done, call FooDone() and pass it a pointer to the > > response. > > // Closure* callback = NewCallback(this, &Handler::FooDone, > > response); > > // // Make the call. > > // service->Foo(controller, request, response, callback); > > // } > > // }; > > > > I'm following this example but it gives an error complaining about: > > "function does not take 3 arguments": NewCallback > > > > Can you please help me on this? > > > > Thank you. > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To post to this group, send email to protobuf@googlegroups.com To unsubscribe from this group, send email to protobuf+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/protobuf?hl=en -~----------~----~----~----~------~----~------~--~---