Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

使用C扩展部分的SWIG代码有问题 #32

Open
legendtkl opened this issue Apr 4, 2016 · 4 comments
Open

使用C扩展部分的SWIG代码有问题 #32

legendtkl opened this issue Apr 4, 2016 · 4 comments

Comments

@legendtkl
Copy link
Contributor

No description provided.

@legendtkl legendtkl changed the title 使用C扩展- 部分的SWIG代码 not work, please check 使用C扩展部分的SWIG代码有问题 Apr 4, 2016
@suqi
Copy link
Contributor

suqi commented Apr 4, 2016

@spawnris 这块由老高翻译,跟你一起讨论下看看

@whitelok
Copy link

whitelok commented Apr 2, 2018

这块好像是缺少了example.i

@TITC
Copy link

TITC commented Jan 21, 2023

@suqi 你好,很感谢为中文开源社区贡献了这么好的一份译文。

我在阅读过程发现一个和本issue相关的小瑕疵,译文部分的SWIG 相比于原文 漏掉了example.i这个部分,而这里像我这样的初学者可能会产生歧义。

gcc -E example.c -o example.i

上述命令也可通过.c文件生成.i文件,而译文中并没有像原文那样给出example.i消除这样的歧义。

@leida3669
Copy link

leida3669 commented Jan 21, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants