Reputation: 20410
Is there any Emscripten API on how to convert c++ source code file to js?
Upvotes: 0
Views: 2451
Reputation: 13216
Perhaps you are searching for this set of header files that can be included from your C/C++ code:
https://github.com/kripken/emscripten/tree/master/system/include/emscripten
For example, the html5.h file has functions to register callbacks for web browser user input.
Upvotes: 1