1
pimin Oct 23, 2014
test函数是你写的么?
|
2
iptux Oct 23, 2014
```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 Oct 23, 2014 |