Replies: 1 comment
-
Can you use the debugger (or console.log) to see what the mismatch is in that assertion between emscripten/src/library_pthread.js Line 1031 in 0ec0351 Can you elaborate a little more, what are the types of Also, do you know that you are supposed to refer to the paramters as |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all.
I am trying to call a function on JS main thread from a thread in C++. The function comes with several params.
Here is how I do it:
MAIN_THREAD_ASYNC_EM_ASM(TestCallFromThread(buffer, timestamp, isKeyFrame);, buffer, timestamp, isKeyFrame);
Getting:
If the function has a single param then no problems.
Beta Was this translation helpful? Give feedback.
All reactions