Re: GetAliasSize
Re: GetAliasSize
- Subject: Re: GetAliasSize
- From: Shawn Erickson <email@hidden>
- Date: Mon, 16 Jan 2006 09:36:54 -0800
On 1/16/06, Steve Mills <email@hidden> wrote:
> inline Size DogbertGetAliasSize(const AliasHandle alias)
> {
> if(alias != nil) {
> #if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_4
> return GetAliasSize(alias);
> #endif
>
> return (**alias).aliasSize;
> }
> return 0;
> }
>
> Anybody see a problem here?
Don't you mean ...
#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_4
return GetAliasSize(alias);
#else
return (**alias).aliasSize;
#endif
... or was that just a transcription error?
Anyway I wonder if GetAliasSize is somehow not wrapped in an extern
"C" so your C++ build is looking for it with a different, C++ mangled,
name.
-Shawn
_______________________________________________
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
References: | |
| >GetAliasSize (From: Steve Mills <email@hidden>) |