utility.pp 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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. utility.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. {$inline on}
  14. unit utility;
  15. interface
  16. uses
  17. exec;
  18. var
  19. UtilityBase: Pointer;
  20. {$include utild1.inc}
  21. {$include utild2.inc}
  22. {$include utilf.inc}
  23. function TAG_(value: pointer): longword; inline;
  24. function TAG_(value: pchar): longword; inline;
  25. implementation
  26. function TAG_(value: pointer): longword; inline;
  27. begin
  28. TAG_:=longword(value);
  29. end;
  30. function TAG_(value: pchar): longword; inline;
  31. begin
  32. TAG_:=longword(value);
  33. end;
  34. begin
  35. UtilityBase:=MOS_UtilityBase;
  36. end.