Re: [LAD] [ot] programming typedefs...

From: Jens M Andreasen <jens.andreasen@email-addr-hidden>
Date: Fri Jul 11 2008 - 08:46:34 EEST

On Thu, 2008-07-10 at 19:07 +0200, Lars Luthman wrote:
> Either
>
> typedef struct foo foo_t;
>
> struct foo {
> foo_t* pointer;
> };
>
> or
>
> struct foo {
> struct foo* pointer;
> };

.. or both:

typedef struct foo {
   struct foo* pointer;
 } foo_t;

_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-dev
Received on Fri Jul 11 12:15:02 2008

This archive was generated by hypermail 2.1.8 : Fri Jul 11 2008 - 12:15:02 EEST