I assumed the following would work, but it didn't :
char buffer[] = "hello the world";
EM_ASM_ARGS({
alert($0);
}, buffer);
What else am I missing to make this work? Right now it seems its displaying
the address of the variable, since the alert box shows a number instead of
the string.
Thanks!
--
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.