Generalize calling pointers to functions
Support for CFFI (Issue #131)