exec.pp 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. {
  2. This file is part of the Free Pascal run time library.
  3. Copyright (c) 2004 Karoly Balogh for Genesi S.a.r.l. <www.genesi.lu>
  4. exec.library interface unit for MorphOS/PowerPC
  5. MorphOS port was done on a free Pegasos II/G4 machine
  6. provided by Genesi S.a.r.l. <www.genesi.lu>
  7. See the file COPYING.FPC, included in this distribution,
  8. for details about the copyright.
  9. This program is distributed in the hope that it will be useful,
  10. but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  12. **********************************************************************}
  13. unit exec;
  14. interface
  15. var
  16. ExecBase: Pointer;
  17. {$include execd.inc}
  18. {$include execf.inc}
  19. function NewGetTaskAttrs(Task : PTask;
  20. Data : Pointer;
  21. DataSize: Cardinal;
  22. TType : Cardinal;
  23. Tags : array of DWord): Cardinal; Inline;
  24. implementation
  25. function NewGetTaskAttrs(Task : PTask;
  26. Data : Pointer;
  27. DataSize: Cardinal;
  28. TType : Cardinal;
  29. Tags : array of DWord): Cardinal; Inline;
  30. begin
  31. NewGetTaskAttrs:=NewGetTaskAttrsA(Task,Data,DataSize,TType,@Tags);
  32. end;
  33. begin
  34. ExecBase:=MOS_ExecBase;
  35. end.