Fix return pointer type

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@27662 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Riccardo Mottola 2009-01-23 22:32:47 +00:00
parent b502a17d9a
commit 171ce33276
3 changed files with 10 additions and 5 deletions

View file

@ -31,7 +31,7 @@ typedef struct {
void* (*acquireFunction)(const void *item,
NSUInteger (*size)(const void *item), BOOL shouldCopy);
NSString (*descriptionFunction)(const void *item);
NSString *(*descriptionFunction)(const void *item);
NSUInteger (*hashFunction)(const void *item,
NSUInteger (*size)(const void *item));
@ -89,7 +89,7 @@ typedef struct {
return _acquireFunction;
}
- (NSString (*)(const void *item)) descriptionFunction
- (NSString *(*)(const void *item)) descriptionFunction
{
return _descriptionFunction;
}
@ -118,7 +118,7 @@ typedef struct {
_acquireFunction = func;
}
- (void) setDescriptionFunction: (NSString (*)(const void *item))func
- (void) setDescriptionFunction: (NSString *(*)(const void *item))func
{
_descriptionFunction = func;
}