|
From: Luigi S. <gi...@li...> - 2003-06-08 20:29:24
|
On Sat, Jun 07, 2003 at 09:38:34PM +0200, Per Westermark wrote:
> [...]
>
> I know it's a bit extra noisy with dual indirection, but since the code
> is C and not C++, slstore() can't take references to pointers.
>
> /Per W
Probably, he could have avoided the double indirection using
something like:
struct slist
{
struct address *start;
struct address *last;
};
so that a pointer to "struct slist" would be used, still allowing
all changes to "start" and "last" to be made.
--
>> gisan >>
|