adding new spline() function signature (issue307041)


cliffo...@...
 

Reviewers: dev-osl_imageworks.com, osl-dev_googlegroups.com,

Description:
Adds new form of spline in which the user can specify the number of
knots to use in a supplied array. For example:

spline(basis, x, num_knots, knots)


Please review this at http://codereview.appspot.com/307041/show

Affected files:
src/liboslcomp/typecheck.cpp
src/liboslexec/opspline.cpp
testsuite/spline/ref/numknots.tif
testsuite/spline/ref/out.txt
testsuite/spline/run.py
testsuite/spline/test.osl


cliffo...@...
 


cku...@...
 


larry...@...
 

LGTM, too. I'll modify the docs.


http://codereview.appspot.com/307041/show