]> git.saurik.com Git - apple/dyld.git/blob - testing/test-cases/_dyld_for_each_objc_class-missing-weak.dtest/lib1.m
dyld-733.6.tar.gz
[apple/dyld.git] / testing / test-cases / _dyld_for_each_objc_class-missing-weak.dtest / lib1.m
1
2 #import <Foundation/Foundation.h>
3
4 @interface DyldClass : NSObject
5 @end
6
7 @implementation DyldClass
8 @end
9
10 @interface DyldLinkedClass : NSObject
11 @end
12
13 @implementation DyldLinkedClass
14 @end
15
16 extern Class OBJC_CLASS_$_DyldClass;
17 extern Class OBJC_CLASS_$_DyldLinkedClass;
18
19 Class getLinked1DyldClass() {
20 return (Class)&OBJC_CLASS_$_DyldClass;
21 }
22
23 Class getLinked1DyldLinkedClass() {
24 return (Class)&OBJC_CLASS_$_DyldLinkedClass;
25 }