MacOS-X compatibility updates.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26598 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2008-06-06 13:57:06 +00:00
parent af1b3c2607
commit ec0b3ab41a
42 changed files with 827 additions and 13 deletions

View file

@ -62,7 +62,8 @@ extern "C" {
@interface NSLock : NSObject <NSLocking, GCFinalization>
{
@private
void *_mutex;
void *_mutex;
NSString *_name;
}
/**
@ -85,6 +86,16 @@ extern "C" {
*/
- (void) unlock;
#if OS_API_VERSION(100500,GS_API_LATEST)
/** Return the name of the receiver or nil of none has been set.
*/
- (NSString*) name;
/** Sets the name of the receiver (for use in debugging).
*/
- (void) setName: (NSString*)name;
#endif
@end
/**
@ -98,6 +109,7 @@ extern "C" {
void *_condition;
void *_mutex;
int _condition_value;
NSString *_name;
}
/**
@ -163,6 +175,16 @@ extern "C" {
*/
- (void) unlock;
#if OS_API_VERSION(100500,GS_API_LATEST)
/** Return the name of the receiver or nil of none has been set.
*/
- (NSString*) name;
/** Sets the name of the receiver (for use in debugging).
*/
- (void) setName: (NSString*)name;
#endif
@end
@ -177,6 +199,7 @@ extern "C" {
{
@private
void *_mutex;
NSString *_name;
}
/**
@ -200,6 +223,16 @@ extern "C" {
*/
- (void) unlock;
#if OS_API_VERSION(100500,GS_API_LATEST)
/** Return the name of the receiver or nil of none has been set.
*/
- (NSString*) name;
/** Sets the name of the receiver (for use in debugging).
*/
- (void) setName: (NSString*)name;
#endif
@end
#if OS_API_VERSION(GS_API_NONE, GS_API_NONE)