emscripten-core / emscripten-core/emscripten
Macro for allowing exception catching similar to EMSCRIPTEN_KEEPALIVE
Open
asyncify
- Dominant language
- C++
- Stars
- 27.6k
- Forks
- 3.6k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 105
Description
In my code base, I have few functions which are in the `EXCEPTION_CATCHING_ALLOWED` list. Now, whenever I change something about these functions, their mangled name changes and I need to find those names and update them in the allow list. One option is to put them inside `extern 'C'` block but I don't want to do that as the code base is used for other platforms as well. I was wondering if there can be a macro similar to `EMSCRIPTEN_KEEPALIVE` that allows exception catching in the function?
Contributor guide
Assessment
This issue has not been assessed yet.