Likewise, you can use any of * the TS_THROW macros to raise an error if an external function (e.g., * malloc) failed. Embed your code into a TS_TRY/TS_END_TRY block and use * TS_CALL when calling a TinySpline function. */ /* - */ /* TinySpline includes a powerful, system-independent, and thread-safe error * handling system.
TsReal *result /**< Pointer to the result of `net`. TsDeBoorNet net /**< Used to evaluate `spline` and `beziers`. TsBSpline beziers /**< `spline` as a sequence of bezier curves. TsReal *ctrlp /**< Pointer to the control points of `spline`. TsBSpline spline /**< The spline to setup. TsStatus status /**< Used for error handling. # include int main( int argc, char **argv)