【SWIG】C程序到python模块的swig转换流程
C程序到python模块的转换流程
程序参考:http://www.swig.org/Doc3.0/SWIGDocumentation.html#Introduction_nn4
1、编辑待转C程序 example.c
/* File : example.c */
double My_variable = 3.0;
/* Compute factorial of n */
int fact(int n) {
if (n <= 1)
return 1;
else
原创
2020-05-28 18:03:12 ·
469 阅读 ·
0 评论