mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +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
|
@ -1,3 +1,9 @@
|
||||||
|
2010-07-19 Niels Grewe <niels.grewe@halbordnung.de>
|
||||||
|
|
||||||
|
* Source/ObjectiveC2/runtime.c:
|
||||||
|
* Source/ObjectiveC2/runtime.h:
|
||||||
|
Add sel_getType_np(), which just calls sel_get_type().
|
||||||
|
|
||||||
2010-07-19 Richard Frith-Macdonald <rfm@gnu.org>
|
2010-07-19 Richard Frith-Macdonald <rfm@gnu.org>
|
||||||
|
|
||||||
* Source/NSPathUtilities.m: User domain handling improvements.
|
* Source/NSPathUtilities.m: User domain handling improvements.
|
||||||
|
|
|
@ -95,7 +95,7 @@ skip_argspec(const char *types)
|
||||||
return types;
|
return types;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Looks up the instance method in a specific class, without recursing into
|
* Looks up the instance method in a specific class, without recursing into
|
||||||
* superclasses.
|
* superclasses.
|
||||||
*/
|
*/
|
||||||
|
@ -1140,6 +1140,14 @@ sel_getName(SEL sel)
|
||||||
return sel_get_name(sel);
|
return sel_get_name(sel);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const char *
|
||||||
|
sel_getType_np(SEL sel)
|
||||||
|
{
|
||||||
|
if (sel == 0)
|
||||||
|
return "";
|
||||||
|
return sel_get_type(sel);
|
||||||
|
}
|
||||||
|
|
||||||
SEL
|
SEL
|
||||||
sel_getUid(const char *selName)
|
sel_getUid(const char *selName)
|
||||||
{
|
{
|
||||||
|
|
|
@ -292,6 +292,8 @@ static const id self = nil;
|
||||||
|
|
||||||
const char *sel_getName(SEL sel);
|
const char *sel_getName(SEL sel);
|
||||||
|
|
||||||
|
const char *sel_getType_np(SEL sel);
|
||||||
|
|
||||||
SEL sel_getUid(const char *selName);
|
SEL sel_getUid(const char *selName);
|
||||||
|
|
||||||
BOOL sel_isEqual(SEL sel1, SEL sel2);
|
BOOL sel_isEqual(SEL sel1, SEL sel2);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue