i have attempted to fix this in sane.tex in sane cvs. sane.ps looks ok now.
thanks for the heads up. allan On 4/2/07, [email protected] <[email protected]> wrote: > I found an inconsistency between the documentation of the field order of > SANE_Parameters and the actual field order in the header. This is not a > problem if you are programming in C and using the header, but it is a problem > if you are interfacing from another language, as I am. The header file has > the information that is correct, that is, works. > . > >From the documentation: > typedef struct > { > SANE_Frame format; > SANE_Bool last_frame; > SANE_Int lines; > SANE_Int depth; > SANE_Int pixels_per_line; > SANE_Int bytes_per_line; > } > SANE_Parameters; > > >From the header file sane.h: > > typedef struct > { > SANE_Frame format; > SANE_Bool last_frame; > SANE_Int bytes_per_line; > SANE_Int pixels_per_line; > SANE_Int lines; > SANE_Int depth; > } > SANE_Parameters; > > -- > sane-devel mailing list: [email protected] > http://lists.alioth.debian.org/mailman/listinfo/sane-devel > Unsubscribe: Send mail with subject "unsubscribe your_password" > to [email protected] > -- "The truth is an offense, but not a sin"
