mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +00:00
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:
parent
474a12b708
commit
c7eeb1bb08
7 changed files with 29 additions and 71 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue