mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 00:30:53 +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
ca854a4b3c
commit
050f3f7190
7 changed files with 29 additions and 71 deletions
|
@ -1160,11 +1160,7 @@ failure:
|
|||
|
||||
if (lt)
|
||||
{
|
||||
#ifdef __GNU_LIBOBJC__
|
||||
sel = sel_registerTypedName(name, types);
|
||||
#else
|
||||
sel = sel_registerTypedName_np(name, types);
|
||||
#endif
|
||||
sel = GSSelectorFromNameAndTypes(name, types);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -2807,11 +2803,7 @@ getBytes(void* dst, void* src, unsigned len, unsigned limit, unsigned *pos)
|
|||
|
||||
if (lt)
|
||||
{
|
||||
#ifdef __GNU_LIBOBJC__
|
||||
sel = sel_registerTypedName(name, types);
|
||||
#else
|
||||
sel = sel_registerTypedName_np(name, types);
|
||||
#endif
|
||||
sel = GSSelectorFromNameAndTypes(name, types);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue