mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
fix bug registering typed selectors
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32641 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
a4bda067a6
commit
ac23609a4c
2 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2011-03-18 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/Additions/GSObjCRuntime.m: Use old API to work around bug in
|
||||
current sel_registerTypedName().
|
||||
|
||||
2011-03-17 Wolfgang Lux <wolfgang.lux@gmail.com>
|
||||
|
||||
* Source/NSProcessInfo.m (_gnu_process_args): Use C runtime system
|
||||
|
|
|
@ -143,8 +143,10 @@ GSSelectorFromNameAndTypes(const char *name, const char *types)
|
|||
{
|
||||
#if NeXT_RUNTIME
|
||||
return sel_getUid(name);
|
||||
/* Don't do the next line until the function works.
|
||||
#elif defined (__GNU_LIBOBJC__)
|
||||
return sel_registerTypedName(name, types);
|
||||
*/
|
||||
#elif defined (__GNUSTEP_RUNTIME__)
|
||||
return sel_registerTypedName_np(name, types);
|
||||
#else
|
||||
|
|
Loading…
Reference in a new issue