]> git.saurik.com Git - apple/objc4.git/blob - runtime/Module/module.modulemap
objc4-723.tar.gz
[apple/objc4.git] / runtime / Module / module.modulemap
1 module ObjectiveC [system] [extern_c] {
2 umbrella "."
3 export *
4 module * {
5 export *
6 }
7
8 module NSObject {
9 requires objc
10 header "NSObject.h"
11 export *
12 }
13
14 #if defined(BUILD_FOR_OSX)
15 module List {
16 // Uses @defs, which does not work in ObjC++ or non-ARC.
17 requires objc, !objc_arc, !cplusplus
18 header "List.h"
19 export *
20 }
21
22 module Object {
23 requires objc
24 header "Object.h"
25 export *
26 }
27
28 module Protocol {
29 requires objc
30 header "Protocol.h"
31 export *
32 }
33 #endif
34
35 #if !defined(BUILD_FOR_OSX)
36 // These file are not available outside macOS.
37 exclude header "hashtable.h"
38 exclude header "hashtable2.h"
39 #endif
40 }