|  |      1pimin      2014-10-23 19:11:14 +08:00 test函数是你写的么? | 
|  |      2iptux      2014-10-23 19:21:45 +08:00 ```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') ``` | 
|  |      3ruoyu0088      2014-10-23 19:52:28 +08:00  1 |