Commit Graph

37 Commits

Author SHA1 Message Date
Michael VAN CANNEYT
ccfa38c68e * Dotted RTL compiles 2023-07-27 19:04:03 +02:00
Pierre Muller
5e0eb521c4 Fix use of unaligned for big endian code 2022-11-15 21:48:40 +00:00
Pierre Muller
9b6926c5f5 Introduce CTYPES_INLINE, enabled by default but which can be disabled using -dDISABLE_INLINE for ctypes unit 2022-11-04 22:21:29 +00:00
Jonas Maebe
5c6afe259e * long double = double on Darwin/AArch64
git-svn-id: trunk@29888 -
2015-02-23 22:51:15 +00:00
nickysn
4646884d87 + enabled compilation of unit ctypes for i8086-msdos
git-svn-id: trunk@25858 -
2013-10-26 22:26:42 +00:00
yury
e82983e577 * Define CExtended and clongdouble as double for Android.
git-svn-id: branches/targetandroid@23487 -
2013-01-22 11:16:22 +00:00
Jonas Maebe
e9c922b193 * fixed compilation with Delphi (patch by Sven Barth, mantis #17016)
git-svn-id: trunk@15627 -
2010-07-23 15:44:15 +00:00
Jonas Maebe
025ec34e4d + "CExtended" type that is the same as "extended", but conforming to the
properties/behaviour of the equivalent of Extended in C (i.e., to
    "long double" on i386 and x86_64 platforms that support a 10 byte
    long double, and to "double" elsewhere)

git-svn-id: trunk@14912 -
2010-02-14 13:45:58 +00:00
pierre
e716c54523 * fix double to clongdouble conversions for 128 bits C long double
git-svn-id: trunk@14849 -
2010-02-02 23:36:46 +00:00
pierre
23e171d396 * Fix alignment problem for sparc arch.
git-svn-id: trunk@14833 -
2010-01-30 22:19:14 +00:00
ivost
38bf32dddf * added csize_t and pcsize_t for non unix systems (in unix/ctypes.pp)
* added csize_t = UnixTypes.size_t in ctypes.pp for unix systems.
* reason: size_t is a C type and it's often used by C header files. Several packages define their own size_t. 

git-svn-id: trunk@12602 -
2009-01-26 12:58:20 +00:00
florian
d78855cea8 + more c types
git-svn-id: trunk@12175 -
2008-11-19 11:36:43 +00:00
ivost
15dd98d940 * removed size_t from ctypes.pp in trunk (reverted)
git-svn-id: trunk@11786 -
2008-09-14 20:58:37 +00:00
ivost
7582f7f325 added size_t type in ctypes.pp for non unix systems
git-svn-id: trunk@11752 -
2008-09-12 21:42:12 +00:00
micha
83b7f81f81 + add no-fpu support to compiler/rtl for powerpc-linux (-Cfnone)
git-svn-id: trunk@10422 -
2008-03-02 12:59:02 +00:00
florian
ebc99e1bd6 * make clongdouble only a double on win64 and wince, on win32 we follow gcc
git-svn-id: trunk@9118 -
2007-11-03 21:47:29 +00:00
Jonas Maebe
134427700b * disabled overloaded operators for non-x86 because they don't compile
(the value is a packed array of bytes in this case, not a record)

git-svn-id: trunk@8231 -
2007-08-06 13:44:13 +00:00
peter
6d4ccd3b3f * operators for clongdouble
git-svn-id: trunk@8229 -
2007-08-06 07:12:51 +00:00
peter
8d53e54e3e * fix typos
git-svn-id: trunk@8146 -
2007-07-23 07:54:58 +00:00
daniel
34afbcc040 * Enable inline for ctypes.
git-svn-id: trunk@8129 -
2007-07-22 10:10:35 +00:00
daniel
354cd09f31 * long double=double on powerpc-linux
* educated guess this is the case on arm-linux as well
  * temporary change: do not alias clongdouble from unixtype into ctypes to prevent
    having to work in two places.

git-svn-id: trunk@8127 -
2007-07-22 10:04:48 +00:00
daniel
f0087dad28 * Write zero to extra bytes of quadruple when converting to it.
git-svn-id: trunk@8115 -
2007-07-21 15:36:38 +00:00
daniel
4861c8b7ed * Convert clongdouble from double <=> quadruple on non-x86.
git-svn-id: trunk@8114 -
2007-07-21 15:32:15 +00:00
daniel
c5ac7638ed * Make clongdouble 16 bytes on Darwin.
git-svn-id: trunk@8113 -
2007-07-21 15:00:52 +00:00
daniel
2fbe0038b9 * Make clongdouble:
- 8 bytes on windows
    - For other platforms: 12 bytes on 32-bit and 16 bytes on 64-bit cpus.
    ... using a record with assignment overloads.

git-svn-id: trunk@8112 -
2007-07-21 13:02:11 +00:00
florian
442ad0cbe8 * fixed long type and derivates for win64
git-svn-id: trunk@5409 -
2006-11-16 20:39:00 +00:00
marco
d29a4bc889 * add small delphi compat tweak for h2pas usage. + restored Kylix compat idents. (without, pkgs might break unnecessarily)
git-svn-id: trunk@4729 -
2006-09-26 12:24:12 +00:00
ivost
23e1ebb357 -ctypes cleanup, it was quite a mess with naming conventions, eg. some times shortened long to l like cldouble
-long is written out now, while signed and unsigned are shortened to s and u

git-svn-id: trunk@4647 -
2006-09-18 21:41:08 +00:00
florian
78d5ba9ff0 * extended ctypes by Aison
git-svn-id: trunk@4622 -
2006-09-15 21:03:50 +00:00
fpc
790a4fe2d3 * log and id tags removed
git-svn-id: trunk@42 -
2005-05-21 09:42:41 +00:00
michael
ffb55c4254 + Removed VER1_0 defines
git-svn-id: trunk@33 -
2005-05-19 21:14:45 +00:00
fpc
50778076c3 initial import
git-svn-id: trunk@1 -
2005-05-16 18:37:41 +00:00
florian
02c6c9abcc + floating point c types added 2005-03-13 10:05:13 +00:00
Tomas Hajny
87aa9bdf60 * Florian's changes from ctypes.inc merged in to make xlib compilable under non-Unix again 2005-03-01 22:45:09 +00:00
peter
e417e34496 * truncate log 2005-02-14 17:13:06 +00:00
marco
fc8542ad94 * some kylix stuf 2005-02-12 17:34:56 +00:00
marco
fde4bac1cf * initial version 2005-01-10 10:32:50 +00:00