only-cliches / cpp-wasm-loader

C/C++ to WASM Webpack Loader

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

got a error from c use js function

Taoja opened this issue · comments

i got a error like this:
clang++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated]
error: undefined symbol: add

Could you submit the code you're using?

i used a wrong way to use js function in c. i resolved this problem