[sane-devel] question about Option_Value union

stef stef-listes at wanadoo.fr
Wed Aug 20 08:45:47 BST 2003


	Hello,

	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 ?

Regards,
	Stef



More information about the sane-devel mailing list