wrap external functions for function tables in fastcomp