[sane-devel] Perl Bindings

m. allan noah kitno455 at gmail.com
Mon Oct 20 21:45:48 UTC 2008

2008/10/15 Jeffrey Ratcliffe <jeffrey.ratcliffe at gmail.com>:
> The Perl bindings are more or less finished. I'm just transliterating
> scanimage and scanadf into Perl for checking purposes.
> It struck me that there was a potential infinite loop in the test mode
> in scanimage, so I've attached a patch to fix it.
> Also, I'm trying to see the logic of the use of the ",..." in scanimage.c, e.g.:
>          if (opt->type != SANE_TYPE_STRING && opt->size
>              > (SANE_Int) sizeof (SANE_Word))
>            fputs (",...", stdout);
> It seems to me that it should be used for SANE_TYPE_INT and
> SANE_TYPE_FIXED where there is no constraint, but it doesn't seem to
> work out like that. Can anybody enlighten me?

that is used when the option is a series of numbers. sometimes used
for gamma tables and the like.


> Regards
> Jeff
> --
> sane-devel mailing list: sane-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/sane-devel
> Unsubscribe: Send mail with subject "unsubscribe your_password"
>             to sane-devel-request at lists.alioth.debian.org

"The truth is an offense, but not a sin"

More information about the sane-devel mailing list