简体   繁体   中英

How to change the boolean value of C to the boolean value of python on mac

我想用c编写代码,但是通过将c源文件编译为.so文件来使用python中的值。

ctypes 可能是执行此操作的最简单方法。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM