Declare Function with (Class) argument

Coding Questions, IDE related or anything else

Declare Function with (Class) argument

Postby udo.killermann » Sat Aug 21, 2010 4:47 pm

Bernd,

I need to declare a function with the signature:
Code: Select all
+ (NSScriptClassDescription *)classDescriptionForClass:(Class)aClass


When using
Code: Select all
Declare Function "NSScriptClassDescription" + (NSScriptClassDescription *)classDescriptionForClass:(Class)aClass

the compiler stumbles upon Class which is a reserved OB keyword. How can I proceeed?

Thanks
Udo
udo.killermann
 
Posts: 247
Joined: Thu Apr 08, 2010 6:46 am
Location: Hannover, Germany

Re: Declare Function with (Class) argument

Postby berndnoetscher » Mon Aug 23, 2010 6:33 am

Hi Udo,

well, in this case the compiler needs to be extended. You are talented to find limits. ;)

Please wait for the next release. Maybe the next week.


CU
BERND
berndnoetscher
Site Admin
 
Posts: 280
Joined: Fri Feb 20, 2009 11:58 am

Re: Declare Function with (Class) argument

Postby udo.killermann » Tue Aug 24, 2010 7:38 am

Hi Bernd,

thanks for the flowers 8-)

Till next time
Udo

PS: What about SEL in the coming releases?
--------------
MacBook (2GHz, 4 GByte) - Lion (10.7.3)
started Objective Basic coding in April 2010 - still enjoy it ;-)
udo.killermann
 
Posts: 247
Joined: Thu Apr 08, 2010 6:46 am
Location: Hannover, Germany


Return to Objective-Basic (Xcode 3)

Who is online

Users browsing this forum: No registered users and 0 guests

cron