translate-c: move some code to the C API

See #1964
6284a4c534Andrew Kelley committed on 4/12/2019, 7:56:38 AMparentf860493
3 files changedLine totals unavailable