• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Carbon with UNIX
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Carbon with UNIX
      • From: Clark Cox <email@hidden>
    • Re: Carbon with UNIX
      • From: Ian Krieg <email@hidden>
  • Prev by Date: Re: Distributed build overhead and Mac Mini vs XServe pricing
  • Next by Date: Re: adding frameworks
  • Previous by thread: Re: Carbon with UNIX
  • Next by thread: Re: Carbon with UNIX
  • Index(es):
    • Date
    • Thread