Matrix
Klarke's C/C++ Home
posts - 61,comments - 0,trackbacks - 0
C function and Tcl function are linked.
Then if want to return 1 in C function and get it in Tcl function, we should add following code in C function:

Tcl_AppendElement(itp, "1");

posted on 2013-12-12 14:28 Klarke 阅读(2486) 评论(0)  编辑 收藏 引用

只有注册用户登录后才能发表评论。
网站导航: 博客园   IT新闻   BlogJava   知识库   博问   管理