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
6    Aliases for basic types for C interfacing, for reloading them
7    in other units from unit unixtype in a typesafe way.
8
9    See the file COPYING.FPC, included in this distribution,
10    for details about the copyright.
11
12    This program is distributed in the hope that it will be useful,
13    but WITHOUT ANY WARRANTY; without even the implied warranty of
14    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15
16 **********************************************************************}
17
18type
19  cint8                  = UnixType.cint8;       pcint8                 = UnixType.pcint8;
20  cuint8                 = UnixType.cuint8;      pcuint8                = UnixType.pcuint8;
21  cchar                  = UnixType.cchar;       pcchar                 = UnixType.pcchar;
22  cschar                 = UnixType.cschar;      pcschar                = UnixType.pcschar;
23  cuchar                 = UnixType.cuchar;      pcuchar                = UnixType.pcuchar;
24
25  cint16                 = UnixType.cint16;      pcint16                = UnixType.pcint16;
26  cuint16                = UnixType.cuint16;     pcuint16               = UnixType.pcuint16;
27  cshort                 = UnixType.cshort;      pcshort                = UnixType.pcshort;
28  csshort                = UnixType.csshort;     pcsshort               = UnixType.pcsshort;
29  cushort                = UnixType.cushort;     pcushort               = UnixType.pcushort;
30
31  cint32                 = UnixType.cint32;      pcint32                = UnixType.pcint32;
32  cuint32                = UnixType.cuint32;     pcuint32               = UnixType.pcuint32;
33  cint                   = UnixType.cint;        pcint                  = UnixType.pcint;
34  csint                  = UnixType.csint;       pcsint                 = UnixType.pcsint;
35  cuint                  = UnixType.cuint;       pcuint                 = UnixType.pcuint;
36  csigned                = UnixType.csigned;     pcsigned               = UnixType.pcsigned;
37  cunsigned              = UnixType.cunsigned;   pcunsigned             = UnixType.pcunsigned;
38
39  cint64                 = UnixType.cint64;      pcint64                = UnixType.pcint64;
40  cuint64                = UnixType.cuint64;     pcuint64               = UnixType.pcuint64;
41  clonglong              = UnixType.clonglong;   pclonglong             = UnixType.pclonglong;
42  cslonglong             = UnixType.cslonglong;  pcslonglong            = UnixType.pcslonglong;
43  culonglong             = UnixType.culonglong;  pculonglong            = UnixType.pculonglong;
44
45  cbool                  = UnixType.cbool;       pcbool                 = UnixType.pcbool;
46
47  clong                  = UnixType.clong;       pclong                 = UnixType.pclong;
48  cslong                 = UnixType.cslong;      pcslong                = UnixType.pcslong;
49  culong                 = UnixType.culong;      pculong                = UnixType.pculong;
50
51{$ifndef FPUNONE}
52  cfloat                 = UnixType.cfloat;      pcfloat                = UnixType.pcfloat;
53  cdouble                = UnixType.cdouble;     pcdouble               = UnixType.pcdouble;
54//  clongdouble            = UnixType.clongdouble; pclongdouble           = UnixType.pclongdouble;
55{$endif}
56
57  csize_t                = UnixType.size_t;      pcsize_t               = UnixType.psize_t;
58
59  coff_t                 = UnixType.TOff;
60
61