swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Questions on the return statement


From: Fabio Mascelloni
Subject: Re: Questions on the return statement
Date: Fri, 05 Mar 1999 09:19:58 +0100


"Marcus G. Daniels" wrote:

> >>>>> "FM" == Fabio Mascelloni <address@hidden> writes:
>
> FM> The question is: does getInstVar returns a copy of the object or
> FM> simply a reference to it?
>
> In this case, the value returned from calloc; a reference.
> Copying doesn't occur.

So if an another object accesses that variable by its pointer it's not
considered a violation?

Fabio.


                  ==================================
   Swarm-Support is for discussion of the technical details of the day
   to day usage of Swarm.  For list administration needs (esp.
   [un]subscribing), please send a message to <address@hidden>
   with "help" in the body of the message.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]