1
pimin 2014 年 10 月 23 日
test函数是你写的么?
|
2
iptux 2014 年 10 月 23 日
```python
import ctypes so = ctypes.CDLL('libtest.so') so.test.restype = ctypes.c_int so.test.argtypes = (ctypes.c_char_p, ctypes.c_char_p, ctypes.c_char_p) print so.test('arg1', 'arg2', 'arg3') ``` |
3
ruoyu0088 2014 年 10 月 23 日 |