是否有一个C头解析器工具用于包装生成像gccxml? [英] Is there a C header parser tool for wrapper generation like gccxml?

查看:222
本文介绍了是否有一个C头解析器工具用于包装生成像gccxml?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要为一个新的编程语言编写几个c头包装器,并想像gccxml,但没有完全依赖于gcc和它在Windows系统上给出的问题。

I need to write a few c header wrappers for a new programming language and would like something like gccxml but without the full dependency on gcc and the problems it gives on a windows system.

只需要读取C not C ++。

Just needs to read C not C++. Output in any format is okay as long it is fully documented.

在Linux / Linux上需要Curl,SQLite,GTK2,SDL,OpenGL,Win32 API和C posix API的任何格式的输出都可以。 Solaris / FreeBSD / MacOSX。

Need it for Curl, SQLite, GTK2, SDL, OpenGL, Win32 API and C posix API's on Linux/Solaris/FreeBSD/MacOSX.

推荐答案

VivaCore 非常酷。您是否已尝试 SWIG 维基百科页面 ffi 也有一些好的链接。我认为有一个MSVC编码的例子,也C。

VivaCore is very cool. Have you tried SWIG the wikipedia page on ffi has some good links too. I think there is a MSVC codedom example that does C also.

这篇关于是否有一个C头解析器工具用于包装生成像gccxml?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆