translate-c: move some code to the C API

See #1964
3226b5315eAndrew Kelley committed on 4/16/2019, 8:32:48 AMparentf488f3f
3 files changedLine totals unavailable