Add sel_getType_np() function to the ObjectiveC2 compatibility framework.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31001 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Niels Grewe 2010-07-19 09:11:07 +00:00
parent 2789b9eb70
commit c86696f8f7
3 changed files with 17 additions and 1 deletions

View file

@ -95,7 +95,7 @@ skip_argspec(const char *types)
return types;
}
/**
/**
* Looks up the instance method in a specific class, without recursing into
* superclasses.
*/
@ -1140,6 +1140,14 @@ sel_getName(SEL sel)
return sel_get_name(sel);
}
const char *
sel_getType_np(SEL sel)
{
if (sel == 0)
return "";
return sel_get_type(sel);
}
SEL
sel_getUid(const char *selName)
{