[sane-devel] Blank names and descs for Group options

Ralph Little skelband at gmail.com
Mon Mar 13 17:02:55 GMT 2023


Hi,
Wanted to get views from the more seasoned devs on this topic.
The SANE API spec says that Name and Desc for attributes are not valid for
options of type SANE_TYPE_GROUP, but is not prescriptive about what those
values should be initialized to in those cases.

My gut says that they should be NULL, but a lot of backends set them to "".

What is the general view?

Cheers,
Ralph
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/sane-devel/attachments/20230313/f41c36d9/attachment.htm>


More information about the sane-devel mailing list