WebAssembly for Absolute Beginners[12/22]-Exporting C functions to JavaScript-WASM/WebAssembly 2019

preview_player
Показать описание
please Subscribe(it's free)
sorry for my bad accent

Donate :-

full playlist:-
------------------------------------------------------
Social
Facebook-Who the hell uses facebook still?
Рекомендации по теме
Комментарии
Автор

Useful video, thanks.
Just a side note; you can #include <emscripten.h> and use EMSCRIPTEN_KEEPALIVE in your function declaration in the c file. It will automatically export the c function, so you don't have to include the EXPORTED_FUNCTIONS option :)

andrewoakes
Автор

Hi, I like your videos. I am following this tutorial, but in c++. When trying to export my functions I get a compiler error "shared:ERROR: undefined exported function: "_functionName"". I can export the main function but not mine. What can be a problem? I found no answers sadly :/ (I tried EMSCRIPTEN_KEEPALIVE, but no luck)

horvbalint