2004.07.11 21:35 "Re: [Tiff] CVS libtiff & thandle_t", by Bob Friesenhahn
typedef int thandle_t; /* client data handle */
#endifNote that outside of Windows, thandle_t is is typedef 'int'. ImageMagick, GraphicsMagick, and likely other software, have been passing pointers via the thandle_t argument of TIFFClientOpen() since thandle_t used to be defined as void*.
Bob, thanks for pointing that, fixed.
The other key point is that it seemed that libtiff was relying on the operating system's off_t type and now libtiff is defining a type to specifically handle 4 GB offsets. For 64-bit CPUs this represents an ABI change because off_t is likely a 'long' (64 bit) type rather than a 32-bit type.
Libtiff's change makes sense for 32-bit CPUs.
Bob
======================================
Bob Friesenhahn
bfriesen@simple.dallas.tx.us
http://www.simplesystems.org/users/bfriesen