aliasctp.inc 2.0 KB

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