Callback functions passed to C interfaces must use C calling convention