exceptions4c
exceptions4c copied to clipboard
:sheep: An exception handling framework for C
Your FOSSA integration was successful! Attached in this PR is a badge and license report to track scan status in your README. Below are docs for integrating FOSSA license checks...
Consider the following program: ``` #include "e4c.h" #include #include void run(){ e4c_using_context(E4C_TRUE){ try{ int *s = NULL; *s = 0; }catch(BadPointerException){ printf("signal handled\n"); } } } void main(){ run(); run();...
` int ut_example() { e4c_using_context(E4C_TRUE) { int * pointer = NULL; try { int oops = *pointer; } catch (BadPointerException) { printf("No problem ;-)"); fflush(stdout); } } } int main()...
I noticed that in e4c_lite.h you mark `e4c` as threadprivate, which looks like an OpenMP directive. Does that mean it will be safe with multiple threads even if I'm not...
Hello I tried exceptions4c in an application with dynamic libraries like this: program |_ lib1.so (uses exception framework) |_lib2.so (uses exception framework) In my case, the context is lost between...
Use case: add e4c to an library/extension/plugin with an entry point and an optional exit point. I've tested this: - init code: `e4c_context_begin(E4C_TRUE);` - exit code: `e4c_context_end();` If the main...
Hi @guillermocalvo, thank you for publishing `exceptions4c`, this is a very nice project. I have some fundamental concerns though, so I hope you take the time to look at the...