> I /think/ that the problem is that NSSelectorFromString() wraps 
> GSSelectorFromName() (for irrelevant legacy reasons - this indirection can 
> probably be deleted now), which calls sel_getUid(), not sel_registerName().  
> The former function returns 0 when the selector is not already in the 
> selector table.  The latter always returns a valid selector.
> 
Apple's ObjC Runtime Reference says that since OS X 10.0, sel_getUid() has done 
the same thing as sel_registerName() - create a new selector if it doesn't 
exist, and never return NULL. Maybe we should make our sel_getUid follow this 
behaviour?

Eric
_______________________________________________
Gnustep-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnustep-dev

Reply via email to