add func with the C caller.