C (157/304)

From:Allan Odgaard
Date:17 Aug 2000 at 07:43:07
Subject:Re: Passing a ptr

On 17-Aug-00, Jack York wrote:

> if ( ! *((array[i]) = (mystruct *) AllocVec (sizeof
> (mystruct)))
^ - this seems to be wrong...

What you do is check if the first field of the allocated chunk is
non-null.

Regards Allan