* Minor fixes to glitches detected by the clang static analyzer.
* Added MYAnimatingSplitView class.
5 // Created by Jens Alfke on 6/17/08.
6 // Copyright 2008 Jens Alfke. All rights reserved.
9 #import <Cocoa/Cocoa.h>
15 #define MYCoreAudioErrorDomain @"MYCoreAudioDomain"
17 NSString* MYCAErrorString( OSStatus coreAudioError );
18 NSError* MYCAError( OSStatus coreAudioError, NSString *message );
26 #define XWarnIfError(error, operation) \
28 OSStatus __err = error; \
29 if (__err) _MYWarnCAError(__err,@""operation); \
32 void _MYWarnCAError( OSStatus error, NSString *operation );
36 #define XThrowIfError(error, operation) \
38 OSStatus __err = error; \
39 if (__err) _MYThrowCAError(__err,@""operation); \
42 void _MYThrowCAError( OSStatus error, NSString *operation ) throw(NSError*) __attribute__((noreturn));