I've updated the post with the code in C and WSM. The interpolation method is an argument, but not the extrapolation (unless it's bundled somehow, and I missed it).
Edit: I opened CombiTimeTable
and see that extrapolation
is an input parameter here, but not in the CombiTable2D
external function.