阅读背景:

动态模块不定义init函数,但是它定义了

来源:互联网 

I'm trying to write a binding for a vendor C++ library. I've successfully used snippets such as the below to define init functions in the other modules, but in this one it doesn't seem to work: it compiles fine, but throws the ImportError as soon as I try to import it into a test script. What could be wrong here?I'm trying to write a binding for a vendor C++




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: