4ntoine
4ntoine

Reputation: 20410

How to convert c++ source code to js using Emscripten API?

Is there any Emscripten API on how to convert c++ source code file to js?

Upvotes: 0

Views: 2451

Answers (1)

Multimedia Mike
Multimedia Mike

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

Related Questions