Hi, I was wondering how to return a value from an asyncified function, but did not find any good example. In library_async.js, I came across __async_retval, which seems to exist for exactly that purpose. AFAICS, it is an address on the heap, pointing to an 8 byte buffer, so I presume I can simply store up to two integer values at HEAP32[__async_retval >> 2], no?
And what exactly is the purpose of emscripten_get_async_return_value_addr? Thanks, Soeren -- 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.
