[Top][All Lists]

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

Re: Problem with services (DO ?) with svn trunk

From: Eric Wasylishen
Subject: Re: Problem with services (DO ?) with svn trunk
Date: Wed, 18 Aug 2010 13:05:05 -0600

> 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 


reply via email to

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