cython/cython
public and api generate invalid header files when types aren't builtin in C
开放
#1,800 创建于 2017年7月28日
Code GenerationP: minordefecthelp wanted
仓库指标
- 星标
- (8,663 个星标)
- PR 合并指标
- (PR 指标待抓取)
描述
If I did this in test.pyx:
from libcpp.string cimport string
cdef public api string t(string s):
return string()
the generated header files must be included after as they use std::string but don't include it.