Re: Inline C functions in Xcode 3
Re: Inline C functions in Xcode 3
- Subject: Re: Inline C functions in Xcode 3
- From: Michael Nickerson <email@hidden>
- Date: Sat, 3 Nov 2007 12:43:39 -0400
On Nov 2, 2007, at 10:36 PM, Nick Zitzmann wrote:
On Nov 2, 2007, at 8:08 PM, David Riggle wrote:
My inline C functions that compiled fine under Xcode 2.4 are giving
me errors in Xcode 3. I use C99 mode. I want to declare the
functions in a .h and implement them in a .c. Is that still
possible? If so, which magic incantations of inline, static
inline, or extern inline do I need to use?
If your project links to the Foundation framework, then I've found
that using FOUNDATION_STATIC_INLINE works for inline functions.
There's also CF_INLINE from the CoreFoundation framework, which is
actually declared as static even though the defined name doesn't
include it.
--------------------------------------
Darkshadow
(aka Michael Nickerson)
http://www.nightproductions.net
_______________________________________________
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