如何包括静态JavascriptCore C库(libjavascriptcore.a)?
我能够在Linux上编译JavascriptCore,并且想使用JavascriptCore静态库。
我的理解是,在C中,文件是静态库,我需要一个标头文件,(。h)包括一个静态库来使用我的代码。碰巧的是,一旦编译,就会有webkit/webkitbuild/repares/lib/libjavascriptcore.a
,我认为是javascriptCore静态库,但是该文件不带有像libjavascriptCore.h的标头文件。
还有一个JavaScriptCore.h在其他地方,我要找的标头文件吗?您如何在C代码中包含JavascriptCore? (PS:我实际上是在Swift中使用它的C API)。先感谢您!
I was able to compile JavaScriptCore on Linux and I want to use the JavaScriptCore static library.
It is my understanding that in C, .a files are the static libraries and I need a header file,(.h) to include a static library to work with my code. As it happens, once compiled, there is WebKit/WebKitBuild/Release/lib/libJavaScriptCore.a
which I think is the JavaScriptCore static library however the file is not accompanied with a header file like libJavaScriptCore.h.
There is a JavaScriptCore.h somewhere else, is that the header file I'm looking for? How would you include the JavaScriptCore in you C code? (PS: I'm actually using it with Swift through it's C API). Thank you in advance!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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