translate-c: move some code to the C API

See #1964
5cb18e9c6fAndrew Kelley committed on 4/15/2019, 4:32:27 AMparentcc8cf94
3 files changedLine totals unavailable