mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
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:
parent
b502a17d9a
commit
171ce33276
3 changed files with 10 additions and 5 deletions
|
@ -1,3 +1,8 @@
|
|||
2009-01-23 Riccardo Mottola <rmottola@users.sf.net>
|
||||
|
||||
* Source/NSPointerFunctions.m,
|
||||
* Headers/Foundation/NSPointerFunctions.h: Fix return pointer type
|
||||
|
||||
2009-01-23 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Headers/Additions/GNUstepBase/GNUstep.h:
|
||||
|
|
|
@ -105,7 +105,7 @@ typedef NSUInteger NSPointerFunctionsOptions;
|
|||
- (void* (*)(const void *item,
|
||||
NSUInteger (*size)(const void *item), BOOL shouldCopy)) acquireFunction;
|
||||
|
||||
- (NSString (*)(const void *item)) descriptionFunction;
|
||||
- (NSString *(*)(const void *item)) descriptionFunction;
|
||||
|
||||
- (NSUInteger (*)(const void *item,
|
||||
NSUInteger (*size)(const void *item))) hashFunction;
|
||||
|
@ -119,7 +119,7 @@ typedef NSUInteger NSPointerFunctionsOptions;
|
|||
- (void) setAcquireFunction: (void* (*)(const void *item,
|
||||
NSUInteger (*size)(const void *item), BOOL shouldCopy))func;
|
||||
|
||||
- (void) setDescriptionFunction: (NSString (*)(const void *item))func;
|
||||
- (void) setDescriptionFunction: (NSString *(*)(const void *item))func;
|
||||
|
||||
- (void) setHashFunction: (NSUInteger (*)(const void *item,
|
||||
NSUInteger (*size)(const void *item)))func;
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue