c_src: update for new ffi syntax

Signed-off-by: Jean Privat <jean@pryen.org>