TDInputPrimType() takes can take an input index argument on Windows. On Mac it doesn’t throw an error but also doesn’t return anything reasonable. In the documentation it says that it doesn’t take a input index argument (please add it to Mac too!).
Thanks,
Josfe