Not sure what you are asking about Tables, though? Yes, as in that link,
you can import a table from the outside (and the dynamic linking spec has a
convention for the import name). Then you can use that table inside the
wasm module (compiled code will use it automatically) and also you can use
it
Yes, objects like that won't automatically work properly with
emscripten_call_worker. That method just receives a pointer and a size, and
it copies those bytes. In this case, the std::vector (and maybe string)
refer to bytes allocated on the heap, and not inside the object itself. So
you'd need to
Hi,
I am practicing to call webworker inside C++ with emscripten_call_worker()
and I want to pass complext object, lile
class Object
{
std::vector bytes;
std::string name;
cv::Mat image;
}:
Before passing I use memcpy to copy memory to char and pass it, but it
looks like web worker loose some