[sane-devel] question about Option_Value union

stef stef-listes at wanadoo.fr
Thu Aug 21 22:42:37 BST 2003


On Thu, Aug 21, 2003 at 03:16:40PM +0200, Henning Meier-Geinitz wrote:
> 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
> _______________________________________________
> Sane-devel mailing list
> Sane-devel at www.mostang.com
> http://www.mostang.com/mailman/listinfo/sane-devel

	I'll try to make a patch next week.

Regards,
	Stef



More information about the sane-devel mailing list