fixed ooc.C typesizes and made X11 examples compile.

This commit is contained in:
Norayr Chilingarian 2020-03-29 20:40:36 +04:00
parent 63008f6d30
commit ff87e23780
11 changed files with 39 additions and 36 deletions

View file

@ -31,13 +31,13 @@ Unix they should be fairly safe.
TYPE
char* = CHAR; (* 8 bits *)
signedchar* = SHORTINT; (* 8 bits *)
shortint* = RECORD a,b: SYSTEM.BYTE END; (* 16 bits *)
int* = INTEGER; (* 32 bits *)
set* = INTEGER; (* 32 bits *)
longint* = LONGINT; (* 64 bits *)
longset* = SET; (* 64 bits *)
address* = LONGINT; (* 64 bits *)
signedchar* = SYSTEM.INT8; (* 8 bits *)
shortint* = SYSTEM.INT16; (* 16 bits *)
int* = SYSTEM.INT32; (* 32 bits *)
set* = SYSTEM.INT32; (* 32 bits *)
longint* = SYSTEM.INT64; (* 64 bits *)
longset* = SYSTEM.SET64; (* 64 bits *)
address* = SYSTEM.ADDRESS; (* 64 bits *)
float* = REAL; (* 32 bits *)
double* = LONGREAL; (* 64 bits *)