Hi, I can't seem to get any bites on the more appropriate lists I am on...
I am almost finished hacking libtiff into something we can use to make tiff ATA2100 compliant files and am sure that the last hurdle is understanding what the following means:
tif->tif_diroff = (TIFFSeekFile(tif, (toff_t) 0, SEEK_END)+1) &~ 1;
(from tif_dirwrite.c)
where
TIFFSeekFile is
#define TIFFSeekFile(tif, off, whence) \ ((*(tif)->tif_seekproc)((tif)->tif_clientdata,(toff_t)(off),whence))
basically all I need to know is what the &~ 1 does at the end of the first line and what the effect of
((*(tif)->tif_seekproc)((tif)->tif_clientdata,(toff_t)(off),whence))
is. It doesn't look to me much like a function call... but then again, I only started really looking at c a week ago :-).
Cheers
Antoine
-- gentoo-user@gentoo.org mailing list