mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +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
ed994b6d46
commit
057936dec5
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>
|
2009-01-23 Richard Frith-Macdonald <rfm@gnu.org>
|
||||||
|
|
||||||
* Headers/Additions/GNUstepBase/GNUstep.h:
|
* Headers/Additions/GNUstepBase/GNUstep.h:
|
||||||
|
|
|
@ -105,7 +105,7 @@ typedef NSUInteger NSPointerFunctionsOptions;
|
||||||
- (void* (*)(const void *item,
|
- (void* (*)(const void *item,
|
||||||
NSUInteger (*size)(const void *item), BOOL shouldCopy)) acquireFunction;
|
NSUInteger (*size)(const void *item), BOOL shouldCopy)) acquireFunction;
|
||||||
|
|
||||||
- (NSString (*)(const void *item)) descriptionFunction;
|
- (NSString *(*)(const void *item)) descriptionFunction;
|
||||||
|
|
||||||
- (NSUInteger (*)(const void *item,
|
- (NSUInteger (*)(const void *item,
|
||||||
NSUInteger (*size)(const void *item))) hashFunction;
|
NSUInteger (*size)(const void *item))) hashFunction;
|
||||||
|
@ -119,7 +119,7 @@ typedef NSUInteger NSPointerFunctionsOptions;
|
||||||
- (void) setAcquireFunction: (void* (*)(const void *item,
|
- (void) setAcquireFunction: (void* (*)(const void *item,
|
||||||
NSUInteger (*size)(const void *item), BOOL shouldCopy))func;
|
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,
|
- (void) setHashFunction: (NSUInteger (*)(const void *item,
|
||||||
NSUInteger (*size)(const void *item)))func;
|
NSUInteger (*size)(const void *item)))func;
|
||||||
|
|
|
@ -31,7 +31,7 @@ typedef struct {
|
||||||
void* (*acquireFunction)(const void *item,
|
void* (*acquireFunction)(const void *item,
|
||||||
NSUInteger (*size)(const void *item), BOOL shouldCopy);
|
NSUInteger (*size)(const void *item), BOOL shouldCopy);
|
||||||
|
|
||||||
NSString (*descriptionFunction)(const void *item);
|
NSString *(*descriptionFunction)(const void *item);
|
||||||
|
|
||||||
NSUInteger (*hashFunction)(const void *item,
|
NSUInteger (*hashFunction)(const void *item,
|
||||||
NSUInteger (*size)(const void *item));
|
NSUInteger (*size)(const void *item));
|
||||||
|
@ -89,7 +89,7 @@ typedef struct {
|
||||||
return _acquireFunction;
|
return _acquireFunction;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (NSString (*)(const void *item)) descriptionFunction
|
- (NSString *(*)(const void *item)) descriptionFunction
|
||||||
{
|
{
|
||||||
return _descriptionFunction;
|
return _descriptionFunction;
|
||||||
}
|
}
|
||||||
|
@ -118,7 +118,7 @@ typedef struct {
|
||||||
_acquireFunction = func;
|
_acquireFunction = func;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void) setDescriptionFunction: (NSString (*)(const void *item))func
|
- (void) setDescriptionFunction: (NSString *(*)(const void *item))func
|
||||||
{
|
{
|
||||||
_descriptionFunction = func;
|
_descriptionFunction = func;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue