I would like to modify the standard emscripten generated .html file so that 
it can run a command line program multiple times (as a precursor to perhaps 
doing something more sophisticated). As a very naive test I added 
Module.ccall('main'); after document.body.appendChild(script); (the latter 
I think runs the command line program). However I always get a javascript 
error 

"Module.ccall is not a function" 

('_main' has been properly exported during compiling). 

What worries me is not that it does not work but the nature of the 
javascript error.

Things like Module.callMain gave the same error.  Obviously I am completely 
misunderstanding something. I hope someone can enlighten me... Thanks in 
advance.
  

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to