[sane-devel] question about Option_Value union

Henning Meier-Geinitz henning@meier-geinitz.de
Thu, 21 Aug 2003 15:16:40 +0200


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