Skip to content

Macro for allowing exception catching similar to EMSCRIPTEN_KEEPALIVE #15207

Open
@ravisumit33

Description

@ravisumit33

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions