-CFArrayRef bork(void) {
- CFArrayRef result = NULL;
- NSAutoreleasePool *pool = [NSAutoreleasePool new];
- @try {
- result = CFRetain(anArray);
- } @catch(id any) {
- NSLog(@"Swallowed exception %@", any);
- }
+struct Foo *bork(Foo *FooArray) {
+ struct Foo *result = 0;
+ @try {
+ result = [FooArray retain];
+ } @catch(id any) {
+ printf("hello world\n");
+ }