Hi. I declare some functions in native code, but implement it in JS. Like
this:
#ifdef EMSCRIPTEN
#include <emscripten.h>
extern "C" {
extern void em_midi_volume(byte);
extern void em_midi_play(const char*);
extern bool em_midi_is_playing();
extern void em_midi_stop();
}
#endif
This functions implemented in pre.js. When i compile with -O2 i have asm
compilation error:
missing definition of function _em_midi_play. What i should do to use
functions like this in asm.js.
--
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.