exec.pp 1.6 KB

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