quickjs-ng / quickjs

QuickJS, the Next Generation: a mighty JavaScript engine
MIT License
698 stars 66 forks source link

Add 'extern' statements to public headers for C++ compatibility #450

Open andrjohns opened 4 days ago

andrjohns commented 4 days ago

Currently only the quickjs.h and quicks-libc.h have extern "C" statements for compiling under C++, this PR adds them to the other public headers