在 Gevent 1.1 中有两个后端,cython 和 cffi。我感到困惑的是_corecffi_build.py。
在第 331 行,
ffi.set_source('gevent._corecffi', _source, include_dirs=include_dirs)
我不知道为什么ffi.set_source没有指定源以包含相关的 c 文件。_source只包含一些声明。
c源文件是如何包含的?
在 Gevent 1.1 中有两个后端,cython 和 cffi。我感到困惑的是_corecffi_build.py。
在第 331 行,
ffi.set_source('gevent._corecffi', _source, include_dirs=include_dirs)
我不知道为什么ffi.set_source没有指定源以包含相关的 c 文件。_source只包含一些声明。
c源文件是如何包含的?