[sane-devel] question about Option_Value union
Henning Meier-Geinitz
henning at meier-geinitz.de
Thu Aug 21 14:16:40 BST 2003
Hi,
On Wed, Aug 20, 2003 at 07:45:47AM +0000, stef wrote:
> I noticed that each backend defines an union like that:
>
> typedef union
> {
> SANE_Word w;
> SANE_Word *wa;
> SANE_String s;
> }
> Option_Value;
>
> Sometimes with fewer fields, sometime with more. Would it be a good idea
> to have it declared once for all backends in only one include file ?
I think so, yes. What about sanei_backend.h? Any volunteers to check
which fields are needed and change all the backends and
sanei_backend.h in CVS?
Bye,
Henning
More information about the sane-devel
mailing list