module.modulemap 673 B

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