How to include the static JavaScriptCore C library(libJavaScriptCore.a)?

399 Views Asked by At

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!

0

There are 0 best solutions below