Felipe Monteiro de Carvalho schrieb: > Hello, > > In the past there was a csize_t which I used in the imagemagick > headers, but now it seams to have disappeared. Is size_t compatible > with the c type? Or else any other compatible type to use? > > thanks, > Some time ago I noticed that a lot of packages are defining their own size_t type. So I added csize_t to ctypes and removed all individual definitions from the packages so that all are using csize_t.
But this changes are quit old, so I wounder why these aren't in 2.2.4 from svn log ------------------------------------------------------------------------ r12602 | ivost | 2009-01-26 13:58:20 +0100 (Mon, 26. Jan 2009) | 4 Zeilen * 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. ------------------------------------------------------------------------ r12603 | ivost | 2009-01-26 14:01:03 +0100 (Mon, 26. Jan 2009) | 2 Zeilen * removed the usage of unixtypes from imagemagick headers. Type size_t was used. csize_t is now available for all platforms over ctypes. -Ivo Steinmann _______________________________________________ fpc-devel maillist - [email protected] http://lists.freepascal.org/mailman/listinfo/fpc-devel
