discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: methodSignatureForSelector:


From: Richard Frith-Macdonald
Subject: Re: methodSignatureForSelector:
Date: Wed, 7 Mar 2001 21:14:19 +0000

On Wednesday, March 7, 2001, at 08:00 PM, Manuel Guesdon wrote:

> A nice problem: methodSignatureForSelector:  seems to be broken (under 
> GNU/Linux). 
>  
> When I ask for method signature for selector named "name:" (method 
> "-(NSString*)name"), 
> I get the good selector but calling  
>  methodSignatureForSelector: to retrieve signature and next calling 
> methodReturnType 
> on this signature doesn't return 
> the good type: it return *8@0:4 instead of @8@0:4.
<snip>
> What is the best method to handle this ? Removing aSelector->sel_types use in 
> methodSignatureForSelector: ? 

Yes ... I think the problem and it's cause are quite clear ... use of sel_types
would be faster, but is not reliable ... so we should use the reliable method.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]