On Thu, 25 May 2000, Poul-Henning Kamp wrote: > In message <[EMAIL PROTECTED]>, Bruce Evans > writes: > >I objected to a recent commit hiding the fact that this is > >"(elm)->field.sle_next". Anyway, curelm must be a pointer to a struct. > >Not just any struct; the struct must contain a "field" declared using > >SLIST_ENTRY(). > > It could be an union or class as well... It couldn't (usefully) be a union, because then there would be no space in the object for more than the list pointers. It would be a style bug for it to be a class, since if you have classes then you have C++ (or maybe objc) and then you should use C++ features and not cpp macro hacks to implement queue. It would be a style bug for it to be a typedef'ed struct type, since struct types shouldn't be typedefed (see style(9)). Bruce To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
- Re: HEADS UP Re: cvs commit: src/crypto/openssh... Garrett Wollman
- Re: HEADS UP Re: cvs commit: src/crypto/ope... Bruce Evans
- Re: HEADS UP Re: cvs commit: src/crypto... Poul-Henning Kamp
- Re: HEADS UP Re: cvs commit: src/c... Mike Smith
- Re: HEADS UP Re: cvs commit: s... Poul-Henning Kamp
- Re: HEADS UP Re: cvs commit: s... Jake Burkholder
- Re: HEADS UP Re: cvs commit: s... Mike Smith
- Re: HEADS UP Re: cvs commit: s... Daniel C. Sobral
- Re: HEADS UP Re: cvs commit: s... Warner Losh
- Re: HEADS UP Re: cvs commit: src/c... Garrett Wollman
- Re: HEADS UP Re: cvs commit: src/c... Bruce Evans
- Re: HEADS UP Re: cvs commit: src/crypto/ope... Julian Elischer
- Re: HEADS UP Re: cvs commit: src/crypto/ope... Archie Cobbs
- Re: HEADS UP Re: cvs commit: src/crypto... Mike Smith
- Re: HEADS UP Re: cvs commit: src/c... Jake Burkholder
- Re: HEADS UP Re: cvs commit: src/c... Poul-Henning Kamp
- Re: HEADS UP Re: cvs commit: ... Change to queue(3) Garance A Drosihn
- Re: HEADS UP Re: cvs commit: src/crypto/openssh/pam_ssh ... Warner Losh