Use GSObjCRuntime functions for selector types until/unless we can get

a standard runtime API that handles them.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32240 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2011-02-20 07:58:11 +00:00
parent 474a12b708
commit c7eeb1bb08
7 changed files with 29 additions and 71 deletions

View file

@ -1991,11 +1991,7 @@ static NSLock *cached_proxies_gate = nil;
type = [[object methodSignatureForSelector: [inv selector]] methodType];
if (type)
{
#ifdef __GNU_LIBOBJC__
sel_registerTypedName(sel_getName([inv selector]), type);
#else
sel_registerTypedName_np(sel_getName([inv selector]), type);
#endif
GSSelectorFromNameAndTypes(sel_getName([inv selector]), type);
}
}
NSParameterAssert(type);