typedefing a struct
- From: David Marsh <dmarsh@xxxxxxxx>
- Date: Thu, 13 Sep 2007 23:43:19 GMT
Is there any functional difference (or any other reason to prefer one over the other) between these two methods:
typedef struct mystruct {
int a;
int b;
} mystruct;
struct mystruct {
int a;
int b;
};
typedef struct mystruct mystruct;
.
- Follow-Ups:
- Re: typedefing a struct
- From: jaysome
- Re: typedefing a struct
- From: Chris Thomasson
- Re: typedefing a struct
- From: Keith Thompson
- Re: typedefing a struct
- From: Richard Tobin
- Re: typedefing a struct
- Prev by Date: Re: Bug in SosMan's getline_test
- Next by Date: Re: malloc(allocator) aligned by 8 or 16 byte
- Previous by thread: Re: Why Hatspin is a better language than C
- Next by thread: Re: typedefing a struct
- Index(es):
Relevant Pages
|