diff --git a/ChangeLog b/ChangeLog index a9c0a61a6..d9c9f5070 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2003-11-16 Richard Frith-Macdonald + + * Source/Additions/GSCompatibility.m: Add dummy gcFinalize + implementations for NSLock and NSRecursiveLock so that the + lazy locking classes can safely call them under MacOS-X + 2003-11-10 Richard Frith-Macdonald * Tools/AGSHtml.m: Fix based on email by Chris Vetter to correct diff --git a/Source/Additions/GSCompatibility.m b/Source/Additions/GSCompatibility.m index ee77c61d9..397dbc0d2 100644 --- a/Source/Additions/GSCompatibility.m +++ b/Source/Additions/GSCompatibility.m @@ -471,3 +471,23 @@ BOOL GSDebugSet(NSString *level) } @end + +@implementation NSLock (GSCompatibility) +/* + * Dummy implementation of garbage collection cleanup method called by + * GSLazyLock on deallocation. + */ +- (void) gcFinalize +{ +} +@end + +@implementation NSRecursiveLock (GSCompatibility) +/* + * Dummy implementation of garbage collection cleanup method called by + * GSLazyRecursiveLock on deallocation. + */ +- (void) gcFinalize +{ +} +@end