I used the command:  emcc adpcm.c -o function.html -s 
EXPORTED_FUNCTIONS="['_adpcm_decoder']", and got the "adpcm_decoder" 
function in function.js.   But  i found there are too many function such as 
"addFunction", so that function.js  is 193K(adpcm.c only 8K).  I want to 
make it smaller and don't have too many functions, Could someone help me?


See https://github.com/kripken/emscripten/wiki/Interacting-with-code for 
info on how to communicate with compiled code. See also the FAQ entry on 
keeping functions alive (https://github.com/kripken/emscripten/wiki/FAQ , 
search for "vanish", or "KEEPALIVE").

- Alon

-- 
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