Aha, I guess that was what Will was trying to warn me about too. Chris, I really don't feel comfortable with this:
"Unfortunately C arrays don't come with a size, so you'll just have to assume that the user has done the right thing here." How about we use vector<float>? It is either that, or provide an int for the number of elements in the float array, which would make the API uglier. But definitely not assume the user will do the right thing. What do you think?
_______________________________________________ Oiio-dev mailing list [email protected] http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org
