ayttm-commits
[Top][All Lists]
Advanced

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

Re: [Ayttm-commits] CVS: ayttm/src llist.c,1.1,1.2 llist.h,1.1,1.2


From: Philip S Tellis
Subject: Re: [Ayttm-commits] CVS: ayttm/src llist.c,1.1,1.2 llist.h,1.1,1.2
Date: Fri, 24 Jan 2003 17:41:28 +0530 (IST)

On Fri, 24 Jan 2003, Colin Leroy wrote:

> > +LList *l_list_prepend(LList * list, void *data)
> > +{
> > +   LList *n = malloc(sizeof(LList));
> > +
> > +   n->next = list;
> > +   list->prev = n;
> > +
> > +   return n;
> > +}
> 
> What do you do for data ? ;)
> isn't there a n->data = data missing ?

:P

yeah.

BTW, I'm converting portions of code to switch from GList to LList, so 
somethings may break.  I'm trying to make sure nothing breaks, but 
still.

Philip

-- 
manic-depressive, adj.:
        Easy glum, easy glow.





reply via email to

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