mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-29 16:01:38 +00:00
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:
parent
2789b9eb70
commit
c86696f8f7
3 changed files with 17 additions and 1 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue