[haiku-development] Re: Issue adding deskbar replicant from a server

  • From: Dario Casalinuovo <b.vitruvio@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Fri, 20 Jan 2017 15:53:20 +0100

On Fri, Jan 20, 2017 at 1:49 PM, Rene Gollent <anevilyak@xxxxxxxxx> wrote:

On Fri, Jan 20, 2017 at 4:01 AM, Axel Dörfler <axeld@xxxxxxxxxxxxxxxx>
wrote:
Nope, the return type is not part of the function signature -- it's the
same
method, just more convenient to use.

I forgot that last night for some reason, thanks for the correction.


Even if the return type doesn't affect the binary so the function is found
correctly, the bebook states BArchivable::Instantiate should always return
a BArchivable* object.

I'm not sure why is that though. Perhaps it was just a metrowerks compiler
bug.

Other related posts: