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
