Re: Carbon with UNIX
Re: Carbon with UNIX
- Subject: Re: Carbon with UNIX
- From: Rhys Hill <email@hidden>
- Date: Mon, 17 Jan 2005 22:43:07 +1030
Isn't it just because in the headers, the struct in question is included
within extern "C" directives, and hasn't been typedef'd to remove the
struct
keyword? In C++ a struct is the same as a class, as will be given a
constructor
etc, but this doesn't happen in C, so I would think that they are quite
different
beasts and thus not interchangeable.
It seems a bit silly not to have put in the typedef, but timeval is the
same, and
that gets used all over the place in timing code.
Cheers,
------------------------------------------------------------------------
--------
Rhys Hill,
email@hidden
Hons. Maths & Comp. Sci
Phone: +61 8 8303 6197 Mail:
Fax: +61 8 8303 4366 School of Computer
Science
University of Adelaide
Adelaide, Australia
http://www.cs.adelaide.edu.au/~rhys/ 5005
------------------------------------------------------------------------
--------
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden