some experiment to use ctypes codegen for cython