[Top][All Lists]
[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.
- [Ayttm-commits] CVS: ayttm/src llist.c,1.1,1.2 llist.h,1.1,1.2, Philip S Tellis <address@hidden>, 2003/01/24
- Re: [Ayttm-commits] CVS: ayttm/src llist.c,1.1,1.2 llist.h,1.1,1.2, Colin Leroy, 2003/01/24
- Re: [Ayttm-commits] CVS: ayttm/src llist.c,1.1,1.2 llist.h,1.1,1.2,
Philip S Tellis <=
- Re: [Ayttm-commits] CVS: ayttm/src llist.c,1.1,1.2 llist.h,1.1,1.2, Colin Leroy, 2003/01/24
- Re: [Ayttm-commits] CVS: ayttm/src llist.c,1.1,1.2 llist.h,1.1,1.2, Philip S Tellis, 2003/01/24
- Prev by Date:
[Ayttm-commits] CVS: ayttm ChangeLog,1.197,1.198 configure.in,1.193,1.194
- Next by Date:
Re: [Ayttm-commits] CVS: ayttm/src llist.c,1.1,1.2 llist.h,1.1,1.2
- Previous by thread:
Re: [Ayttm-commits] CVS: ayttm/src llist.c,1.1,1.2 llist.h,1.1,1.2
- Next by thread:
Re: [Ayttm-commits] CVS: ayttm/src llist.c,1.1,1.2 llist.h,1.1,1.2
- Index(es):