C extension skeleton