mirror of
https://github.com/darlinghq/darling-objc4.git
synced 2024-12-04 02:11:56 +00:00
41 lines
673 B
Plaintext
41 lines
673 B
Plaintext
module ObjectiveC [system] [extern_c] {
|
|
umbrella "."
|
|
export *
|
|
module * {
|
|
export *
|
|
}
|
|
|
|
module NSObject {
|
|
requires objc
|
|
header "NSObject.h"
|
|
export *
|
|
}
|
|
|
|
#if defined(BUILD_FOR_OSX)
|
|
module List {
|
|
// Uses @defs, which does not work in ObjC++ or non-ARC.
|
|
requires objc, !objc_arc, !cplusplus
|
|
header "List.h"
|
|
export *
|
|
}
|
|
|
|
module Object {
|
|
requires objc
|
|
header "Object.h"
|
|
export *
|
|
}
|
|
|
|
module Protocol {
|
|
requires objc
|
|
header "Protocol.h"
|
|
export *
|
|
}
|
|
#endif
|
|
|
|
#if !defined(BUILD_FOR_OSX)
|
|
// These file are not available outside macOS.
|
|
exclude header "hashtable.h"
|
|
exclude header "hashtable2.h"
|
|
#endif
|
|
}
|