swarm-support
[Top][All Lists]
Advanced

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

Re: Pointer question about Discrete2d


From: Marcus G. Daniels
Subject: Re: Pointer question about Discrete2d
Date: 05 Apr 2001 10:13:05 -0700
User-agent: Gnus/5.070084 (Pterodactyl Gnus v0.84) Emacs/20.4

>>>>> "PJ" == Paul E Johnson <address@hidden> writes:

PJ> I don't understand why the aloc is not offsets = [getZone (self)
PJ> alloc: ysize * sizeof (long)];

That would work equally well..

PJ> I don't get what sizeof(*offsets) means.

Since `offsets' is a pointer to a long integer, and *offsets means what
that pointer points at, namely a long, the sizeof (*offsets) is the same
as the sizeof (long).

                  ==================================
   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]