0

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

2
  • There is a tutorial. Commented Jun 22, 2014 at 3:18
  • I doubt that. But you can just system() the scripts. Commented Jun 22, 2014 at 3:32

1 Answer 1

2

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.

Sign up to request clarification or add additional context in comments.

1 Comment

useful link but the question is not about it. is there any API to run it with no process fork (emscripten executable run)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.