aliasctp.inc 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. {
  2. $Id$
  3. This file is part of the Free Pascal run time library.
  4. Copyright (c) 2004 by Marco van de Voort
  5. Member of the Free Pascal development team
  6. Aliases for basic types for C interfacing, for reloading them
  7. in other units from unit unixtype in a typesafe way.
  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. Type
  15. cInt8 = UnixType.cInt8;
  16. cUInt8 = UnixType.cUInt8;
  17. cUInt16 = UnixType.cUInt16;
  18. cInt16 = UnixType.cInt16;
  19. cInt32 = UnixType.cInt32;
  20. cUInt32 = UnixType.cUInt32;
  21. cInt64 = UnixType.cInt64;
  22. cUInt64 = UnixType.cUInt64;
  23. cuchar = UnixType.cuchar;
  24. cchar = UnixType.cchar;
  25. cInt = UnixType.cInt;
  26. cUInt = UnixType.cUInt;
  27. cLong = UnixType.cLong;
  28. cuLong = UnixType.cuLong;
  29. cshort = UnixType.cshort;
  30. cushort = UnixType.cushort;
  31. cunsigned = UnixType.cunsigned;
  32. pcuchar = UnixType.pcuchar;
  33. pcchar = UnixType.pcchar;
  34. pcInt = UnixType.pcInt;
  35. pcUInt = UnixType.pcUInt;
  36. pcLong = UnixType.pcLong;
  37. pculong = UnixType.pculong;
  38. pcshort = UnixType.pcshort;
  39. pcushort= UnixType.pcushort;
  40. pcunsigned = UnixType.pcunsigned;
  41. { Floating point }
  42. cFloat = UnixType.cFloat;
  43. cDouble = UnixType.cDouble;
  44. clDouble = UnixType.clDouble;
  45. pcFloat = UnixType.pcFloat;
  46. pcDouble = UnixType.pcDouble;
  47. pclDouble = UnixType.pclDouble;
  48. {
  49. $Log$
  50. Revision 1.4 2005-03-13 10:05:13 florian
  51. + floating point c types added
  52. Revision 1.3 2005/02/14 17:13:31 peter
  53. * truncate log
  54. Revision 1.2 2005/02/05 23:02:37 florian
  55. + added some missing c types
  56. }