阅读背景:

如何在运行64位Python的新机器上创建一个C包装器(用32位Python编写)?

来源:互联网 

I wrote a C wrapper using the Python C API on our development machine (which is 32 bit and runs 32 bit Python 2.7). I have since had to move the wrapper and C source code to another machine which is 64 bit and runs 64 bit Python 2.6. The following code in the C wrapper returns a segmentation fault on the 64 bit machine, but not on the 32 bit machine (it works perfectly there):I wrote a C wrapper using the Python C API on o




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

分享到: