Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Port from Win to OSX with Inline functions




On Oct 6, 2006, at 9:06 PM, Chris Edgington wrote:

Maybe I have not explained well, or maybe I'm not understanding. Your message sounds like you're saying that I can change the prototypes via the prefix header. The problem is this - the prototypes aren't marked as inline. Here's how the files are laid out:

You need to declare the prototypes as static inline and not the definition:


static inline void foo();

void foo() { /* ... */ }

--
Steve Checkoway



Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-dev/email@hidden

This email sent to email@hidden

References: 
 >Port from Win to OSX with Inline functions (From: Chris Edgington <email@hidden>)
 >Re: Port from Win to OSX with Inline functions (From: John Francini <email@hidden>)
 >Re: Port from Win to OSX with Inline functions (From: Chris Edgington <email@hidden>)
 >Re: Port from Win to OSX with Inline functions (From: Eric Albert <email@hidden>)
 >Re: Port from Win to OSX with Inline functions (From: Chris Edgington <email@hidden>)
 >Re: Port from Win to OSX with Inline functions (From: Eric Albert <email@hidden>)
 >Re: Port from Win to OSX with Inline functions (From: Chris Edgington <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.