2
0
Эх сурвалжийг харах

+ added some missing c types

florian 20 жил өмнө
parent
commit
ca6c0e3688

+ 18 - 9
rtl/linux/ctypes.inc

@@ -36,6 +36,7 @@ Type
 {$endif}
 
     cuchar = byte;
+    cchar  = shortint;
     cInt   = longint;           { minimum range is : 32-bit    }
     cUInt  = Cardinal;          { minimum range is : 32-bit    }
 {$ifdef cpu64}
@@ -51,19 +52,27 @@ Type
 {$else VER1_0}
     culonglong = int64;
 {$endif VER1_0}
-    cshort = smallint;
-    cushort= word;
+    cshort   = smallint;
+    cushort  = word;
 
-    pcInt   = ^cInt;
-    pcUInt  = ^cUInt;
-    pcLong  = ^cLong;
-    pculong = ^cuLong;
-    pcshort = ^cshort;
-    pcushort= ^cushort;
+    pcInt    = ^cInt;
+    pcUInt   = ^cUInt;
+    pcLong   = ^cLong;
+    pculong  = ^cuLong;
+    pcshort  = ^cshort;
+    pcushort = ^cushort;
+    pcchar   = ^cchar;
+    pcuchar  = ^cuchar;
+
+    cunsigned = cuint;
+    pcunsigned = ^cunsigned;
 
 {
    $Log$
-   Revision 1.5  2004-09-09 20:29:06  jonas
+   Revision 1.6  2005-02-05 23:02:37  florian
+     + added some missing c types
+
+   Revision 1.5  2004/09/09 20:29:06  jonas
      * fixed definition of pthread_mutex_t for non-linux targets (and for
        linux as well, actually).
      * base libpthread definitions are now in ptypes.inc, included in unixtype

+ 5 - 2
rtl/linux/x86_64/prt0.as

@@ -93,7 +93,10 @@ __data_start:
 
 #
 # $Log$
-# Revision 1.9  2004-11-02 15:26:21  florian
+# Revision 1.10  2005-02-05 23:02:37  florian
+#   + added some missing c types
+#
+# Revision 1.9  2004/11/02 15:26:21  florian
 #   * fixed sse exception handling
 #
 # Revision 1.8  2004/07/03 21:50:31  daniel
@@ -123,4 +126,4 @@ __data_start:
 # Revision 1.1  2003/01/06 19:33:10  florian
 #   + initial revision
 #
-#
+#

+ 9 - 1
rtl/unix/aliasctp.inc

@@ -26,22 +26,30 @@ Type
     cInt64  = UnixType.cInt64;
     cUInt64 = UnixType.cUInt64;
     cuchar  = UnixType.cuchar;
+    cchar   = UnixType.cchar;
     cInt    = UnixType.cInt;
     cUInt   = UnixType.cUInt;
     cLong   = UnixType.cLong;
     cuLong  = UnixType.cuLong;
     cshort  = UnixType.cshort;
     cushort = UnixType.cushort;
+    cunsigned = UnixType.cunsigned;
+    pcuchar = UnixType.pcuchar;
+    pcchar  = UnixType.pcchar;
     pcInt   = UnixType.pcInt;
     pcUInt  = UnixType.pcUInt;
     pcLong  = UnixType.pcLong;
     pculong = UnixType.pculong;
     pcshort = UnixType.pcshort;
     pcushort= UnixType.pcushort;
+    pcunsigned = UnixType.pcunsigned;
 
 {   
    $Log$
-   Revision 1.1  2004-03-04 22:15:16  marco
+   Revision 1.2  2005-02-05 23:02:37  florian
+     + added some missing c types
+
+   Revision 1.1  2004/03/04 22:15:16  marco
     * UnixType changes. Please report problems to me.