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:
Richard Frith-MacDonald 2011-03-18 06:18:24 +00:00
parent a4bda067a6
commit ac23609a4c
2 changed files with 7 additions and 0 deletions

View file

@ -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

View file

@ -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