mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-09 10:31:14 +00:00
cdc52b0dd7
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42406 91177308-0d34-0410-b5e6-96231b3b80d8
27 lines
574 B
Objective-C
27 lines
574 B
Objective-C
// RUN: %llvmgcc -c -w -m64 %s -o /dev/null
|
|
|
|
@class NSDictionary, DSoBuffer, DSoDirectory, NSMutableArray;
|
|
@interface NSException {}
|
|
@end
|
|
@interface DSoNode {
|
|
DSoDirectory *mDirectory;
|
|
}
|
|
@end
|
|
@implementation DSoNode
|
|
- (void) _findRecordsOfTypes {
|
|
DSoBuffer *dbData;
|
|
void *recInfo;
|
|
NSMutableArray *results;
|
|
@try {
|
|
dsGetRecordEntry([dbData dsDataBuffer], (void**)&recInfo);
|
|
@try {
|
|
[results addObject:37];
|
|
} @finally {
|
|
dsDeallocRecordEntry([mDirectory dsDirRef], recInfo);
|
|
}
|
|
} @catch(NSException * exception) {
|
|
}
|
|
}
|
|
|
|
|