Under OS X, -[NSMethodSignature methodReturnType] returns a string identical
to the @encode() string for the return type. For instance, given the following
method declarations:

  - (id)idMethod;
  - (NSPoint)pointMethod;

the methodReturnTypes are "@" and "{_NSPoint=ff}", respectively. However,
under GNUstep (GNUstep-base 1.13.0, Windows) we get what appears to be the
entire signature of the method, in the example cases "@[EMAIL PROTECTED]:4" and
"[EMAIL PROTECTED]:8".

1. Is this the intended GNUstep behaviour? Can we expect it to continue to
   work this way?

2. What is the correct parsing strategy? A prefix match would appear to work,
   but there may be cases I'm not considering. The same goes for scanning up
   to an integer.


-- 
Jens Ayton

Sed quis custodiet ipsos custodes?


_______________________________________________
Discuss-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnustep

Reply via email to