2006年11月08日 星期三 20:05
ÎÒÏë°ÑÒ»¶ÎCµÄ´úÂëתΪPython
º¯ÊýµÄ¶¨ÒåΪ: int getFoo (unsigned char *fooA, unsigned char *fooB, unsigned int
fooC)
ÎÒдµÄSwigµÄ .i Îļþ
extern int getFoo (unsigned char *fooA, unsigned char *fooB, unsigned int
fooC);
±àÒëͨ¹ýºóµ÷ÓÃ:
import example
example.getFoo('a','b',5)
Traceback (most recent call last):
File "", line 1, in ?
TypeError: in method 'getFoo', argument 1 of type 'unsigned char *'
ÓÐËÖªµÀÈçºÎ½â¾öÕâ¸öÂð?
-------------- 下一部分 --------------
Ò»¸öHTML¸½¼þ±»ÒƳý...
URL: http://python.cn/pipermail/python-chinese/attachments/20061108/48fb04d4/attachment.html
Zeuux © 2026
京ICP备05028076号