mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-29 16:01:38 +00:00
Rewrite maptable code and clean up / simplify source.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@12273 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
d488842cc6
commit
5448f399a1
33 changed files with 888 additions and 8067 deletions
|
@ -41,31 +41,31 @@
|
|||
/** For `int's **/
|
||||
|
||||
unsigned int
|
||||
_NS_int_hash(void *table, int i)
|
||||
_NS_int_hash(void *table, void* i)
|
||||
{
|
||||
return (unsigned int) i;
|
||||
}
|
||||
|
||||
BOOL
|
||||
_NS_int_is_equal(void *table, int i, int j)
|
||||
_NS_int_is_equal(void *table, void* i, void* j)
|
||||
{
|
||||
return (i == j) ? YES : NO;
|
||||
}
|
||||
|
||||
void
|
||||
_NS_int_retain(void *table, int i)
|
||||
_NS_int_retain(void *table, void* i)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
void
|
||||
_NS_int_release(void *table, int i)
|
||||
_NS_int_release(void *table, void* i)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
NSString *
|
||||
_NS_int_describe(void *table, int i)
|
||||
_NS_int_describe(void *table, void* i)
|
||||
{
|
||||
return [NSString stringWithFormat: @"%d", i];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue