https://github.com/OpenImageIO/oiio/pull/1067

I'm proposing (in master/1.6 and beyond) changing the signature for the 
ImageInput::supports() method to take a string_view rather than a const 
std::string&, and to return an int rather than a bool.

Because this will make a compatibility change, I wanted to make sure that any 
objections will be heard.

Note that this should NOT require any source code changes to any existing 
client apps using OIIO, unless they are specifically providing their own 
ImageInput subclasses -- for which the signature of the supports() method will 
need to keep pace.


--
Larry Gritz
[email protected]



_______________________________________________
Oiio-dev mailing list
[email protected]
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

Reply via email to