如何使文字包含精确的C函数
我想将C标头的一部分或C文件中的一部分包括在我的狮身人面表文档中。 使用LirtalAlclude获取整个文件,但我只想获得一些部分,但基于函数,结构名称等... 我不想使用行或启动选项,因为我想在找不到c惯例时使它失败。
我看不到任何选择或扩展。
I would like to include part of a C header or a C file into my sphinx doc.
using literalinclude gets the whole file but I would like to get only some part but based on functions, struct names etc...
I don't want to use lines or start-with options as I would like to make it fail when the C idiom is not found.
I don't see any option or extension to do that.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论