translate-c: move some code to the C API

See #1964
6f34d08aedAndrew Kelley committed on 4/12/2019, 3:38:41 AMparent5f8dbca
3 files changedLine totals unavailable