On Thu, 2008-07-10 at 18:24 +0200, Julien Claassen wrote:
> Sorry folks!
>    But I'mtoo stupid. I have a struct, which contains a pointer to itself as 
> an 
> element. How to write this. I once knew, but now I fail. It's a shame! :-(

Either

 typedef struct foo foo_t;

 struct foo {
   foo_t* pointer;
 };

or

 struct foo {
   struct foo* pointer;
 };


--ll

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Linux-audio-dev mailing list
[email protected]
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-dev

Reply via email to