objc1.pp 817 B

12345678910111213141516171819202122232425262728293031323334
  1. {
  2. This file is part of the Free Pascal run time library.
  3. Copyright (c) 2009 by the Free Pascal development team
  4. This unit provides an interface to the Objective-C 1.0
  5. run time as defined by Apple
  6. See the file COPYING.FPC, included in this distribution,
  7. for details about the copyright.
  8. This program is distributed in the hope that it will be useful,
  9. but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  11. **********************************************************************}
  12. unit objc1;
  13. interface
  14. {$ifdef darwin}
  15. const
  16. libname = 'objc';
  17. {$linkframework Cocoa}
  18. {$define targetok}
  19. {$endif}
  20. {$ifndef targetok}
  21. {$error Add support for the current target to the objc1 unit }
  22. {$endif}
  23. implementation
  24. end.