emscripten-core / emscripten-core/emscripten

Macro for allowing exception catching similar to EMSCRIPTEN_KEEPALIVE

Open
#15,207 7 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.