[sane-devel] Perl Bindings

Jeffrey Ratcliffe jeffrey.ratcliffe at gmail.com
Thu Oct 23 19:59:52 UTC 2008


2008/10/23 m. allan noah <kitno455 at gmail.com>:
>> I'm thinking that adding opt->max_vals might be best, as defining
>> something like SANE_Word_sizeof just feels hackish.
>
> yes, i guess you'd have to do sizeof in your XS, and wrap it in a new
> member. either that, or your convert it to a pre-allocated perl array,
> and force the caller to look at $#array to determine the length.

Thanks. I'll add opt->max_values.

Jeff



More information about the sane-devel mailing list