Page 1 of 1

Declare Function with (Class) argument

PostPosted: Sat Aug 21, 2010 4:47 pm
by udo.killermann
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

Re: Declare Function with (Class) argument

PostPosted: Mon Aug 23, 2010 6:33 am
by berndnoetscher
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

Re: Declare Function with (Class) argument

PostPosted: Tue Aug 24, 2010 7:38 am
by udo.killermann
Hi Bernd,

thanks for the flowers 8-)

Till next time
Udo

PS: What about SEL in the coming releases?