通过ctype由python向C语言传递char *,获取新结果_python怎么把要给char* 给c-CSDN博客

网站介绍:test.c文件#include <stdio.h>void get_new_string(char *dst, int len){ int i=0; for(i=0; i<len; i++){ dst[i] = dst[i]+1; }}gcc -fPIC -c test.cgcc -shared -o tes..._python怎么把要给char* 给c